1#ifndef CALIBDATA_BARRELELEC_H
2#define CALIBDATA_BARRELELEC_H
3#include "GaudiKernel/DataObject.h"
4#include "CalibData/CalibModel.h"
13 unsigned int getNumEast(
int idx )
const {
return m_num[0][idx]; }
14 unsigned int getNumWest(
int idx )
const {
return m_num[1][idx]; }
15 double getP1(
int idx )
const {
return m_pEast[idx]; }
16 double getP2(
int idx )
const {
return m_pWest[idx]; }
17 double getSimP1(
int idx )
const {
return m_simPEast[idx]; }
18 double getSimP2(
int idx )
const {
return m_simPWest[idx]; }
22 for(
unsigned int i=0; i<4; i++ ) { m_num[0][i] =
num[i]; }
26 for(
unsigned int i=0; i<4; i++ ) { m_num[1][i] =
num[i]; }
28 void setP1(
unsigned int idx,
double p ) { m_pEast[idx] = p; }
30 for(
unsigned int i=0; i<11; i++ ) { m_pEast[i] = p[i]; }
32 void setP2(
unsigned int idx,
double p ) { m_pWest[idx] = p; }
34 for(
unsigned int i=0; i<11; i++ ) { m_pWest[i] = p[i]; }
36 void setSimP1(
unsigned int idx,
double p ) { m_simPEast[idx] = p; }
38 for(
unsigned int i=0; i<11; i++ ) { m_simPEast[i] = p[i]; }
40 void setSimP2(
unsigned int idx,
double p ) { m_simPWest[idx] = p; }
42 for(
unsigned int i=0; i<11; i++ ) { m_simPWest[i] = p[i]; }
46 unsigned int m_num[2][4];
49 double m_simPEast[11];
50 double m_simPWest[11];
void setSimP2(unsigned int idx, double p)
double getSimP1(int idx) const
void setP1(unsigned int idx, double p)
unsigned int getNumWest(int idx) const
void setNumEast(unsigned int idx, unsigned int num)
void setSimP1(double p[11])
void setNumEast(unsigned int num[4])
double getP1(int idx) const
double getP2(int idx) const
void setSimP2(double p[11])
void setNumWest(unsigned int idx, unsigned int num)
double getSimP2(int idx) const
void setSimP1(unsigned int idx, double p)
void setP2(unsigned int idx, double p)
unsigned int getNumEast(int idx) const
void setNumWest(unsigned int num[4])