1#ifndef CalibData_Muc_MucCalibData_h
2#define CalibData_Muc_MucCalibData_h
31 virtual StatusCode update(
CalibBase1& other, MsgStream* log);
42 inline double getLayerEff(
int layer )
const {
return m_layerEff[layer];}
43 inline double getLayerNos(
int layer )
const {
return m_layerNos[layer];}
45 inline double getLayerCnt(
int layer )
const{
return m_layerCnt[layer];}
46 inline double getLayerClstPro(
int layer,
int size )
const{
return m_layerClstPro[layer][size]; }
50 for(
int i=0; i<CLST_MAX; i++)
52 if( fabs(prob - m_layerClstPro[layer][i] ) < diff ) {
53 diff = fabs(prob - m_layerClstPro[layer][i]);
60 inline double getBoxEff(
int part,
int segment,
int layer )
const{
return m_boxEff[part][segment][layer];}
61 inline double getBoxNos(
int part,
int segment,
int layer )
const{
return m_boxNos[part][segment][layer];}
62 inline double getBoxCnt(
int part,
int segment,
int layer )
const{
return m_boxCnt[part][segment][layer];}
63 inline double getBoxNosRatio(
int part,
int segment,
int layer )
const{
return m_boxNosRatio[part][segment][layer];}
64 inline double getBoxClstPro(
int part,
int segment,
int layer,
int size )
const{
return m_boxClstPro[part][segment][layer][size]; }
65 inline double getBoxClst(
int part,
int segment,
int layer,
double prob )
const{
68 for(
int i=0; i<CLST_MAX; i++)
70 if( fabs(prob - m_boxClstPro[part][segment][layer][i]) < diff ) {
71 diff = fabs(prob - m_boxClstPro[part][segment][layer][i]);
78 inline double getStripEff(
int part,
int segment,
int layer,
int strip )
const{
return m_stripEff[part][segment][layer][strip];}
79 inline double getStripNos(
int part,
int segment,
int layer,
int strip )
const{
return m_stripNos[part][segment][layer][strip];}
80 inline double getStripCnt(
int part,
int segment,
int layer,
int strip )
const{
return m_stripCnt[part][segment][layer][strip];}
81 inline double getStripNosRatio(
int part,
int segment,
int layer,
int strip )
const{
return m_stripNosRatio[part][segment][layer][strip];}
91 void setLayerEff(
const double layereff,
int i){ m_layerEff[i]=layereff;}
92 void setLayerNos(
const double layernos,
int i){ m_layerNos[i]=layernos;}
93 void setLayerCnt(
const double layercnt,
int i){ m_layerCnt[i]=layercnt;}
94 void setLayerNosRatio(
const double layernosratio,
int i){ m_layerNosRatio[i]=layernosratio;}
95 void setLayerClstPro(
const double layerpro,
int i,
int j){m_layerClstPro[i][j]= layerpro;}
97 void setBoxEff(
const double boxeff,
int i,
int j,
int k){m_boxEff[i][j][k] = boxeff;}
98 void setBoxNos(
const double boxnos,
int i,
int j,
int k){m_boxNos[i][j][k] = boxnos;}
99 void setBoxCnt(
const double boxcnt,
int i,
int j,
int k){m_boxCnt[i][j][k] = boxcnt;}
100 void setBoxNosRatio(
const double boxratio,
int i,
int j,
int k){m_boxNosRatio[i][j][k]=boxratio;}
101 void setBoxClstPro(
const double boxpro,
int i,
int j,
int k,
int l){m_boxClstPro[i][j][k][l]=boxpro;}
103 void setStripEff(
const double stripeff,
int i,
int j,
int k,
int l){m_stripEff[i][j][k][l]=stripeff;}
104 void setStripNos(
const double stripnos,
int i,
int j,
int k,
int l){m_stripNos[i][j][k][l]=stripnos;}
105 void setStripCnt(
const double stripcnt,
int i,
int j,
int k,
int l){m_stripCnt[i][j][k][l]=stripcnt;}
106 void setStripNosRatio(
const double stripnosratio,
int i,
int j,
int k,
int l){m_stripNosRatio[i][j][k][l]=stripnosratio;}
113 double m_uniformClst;
115 double m_uniformNosRatio;
118 double m_layerEff[LAYER_MAX];
119 double m_layerNos[LAYER_MAX];
120 double m_layerClstPro[LAYER_MAX][CLST_MAX];
121 double m_layerCnt[LAYER_MAX];
122 double m_layerNosRatio[LAYER_MAX];
124 double m_boxEff[
PART_MAX][SEGMENT_MAX][LAYER_MAX];
125 double m_boxNos[
PART_MAX][SEGMENT_MAX][LAYER_MAX];
126 double m_boxClstPro[
PART_MAX][SEGMENT_MAX][LAYER_MAX][CLST_MAX];
127 double m_boxCnt[
PART_MAX][SEGMENT_MAX][LAYER_MAX];
128 double m_boxNosRatio[
PART_MAX][SEGMENT_MAX][LAYER_MAX];
130 double m_stripEff[
PART_MAX][SEGMENT_MAX][LAYER_MAX][STRIP_INBOX_MAX];
131 double m_stripNos[
PART_MAX][SEGMENT_MAX][LAYER_MAX][STRIP_INBOX_MAX];
132 double m_stripCnt[
PART_MAX][SEGMENT_MAX][LAYER_MAX][STRIP_INBOX_MAX];
133 double m_stripNosRatio[
PART_MAX][SEGMENT_MAX][LAYER_MAX][STRIP_INBOX_MAX];
const CLID CLID_Calib_MucCal
void setLayerClstPro(const double layerpro, int i, int j)
double getLayerNosRatio(int layer) const
void setLayerNos(const double layernos, int i)
double getUniformNosRatio() const
double getUniformEff() const
double getBoxClst(int part, int segment, int layer, double prob) const
double getBoxNos(int part, int segment, int layer) const
void setLayerCnt(const double layercnt, int i)
double getBoxClstPro(int part, int segment, int layer, int size) const
double getStripNos(int part, int segment, int layer, int strip) const
double getStripCnt(int part, int segment, int layer, int strip) const
void setUniformCnt(double cnt)
double getBoxNosRatio(int part, int segment, int layer) const
void setUniformClst(double clst)
double getStripNosRatio(int part, int segment, int layer, int strip) const
void setBoxCnt(const double boxcnt, int i, int j, int k)
void setStripNos(const double stripnos, int i, int j, int k, int l)
double getBoxCnt(int part, int segment, int layer) const
double getUniformNos() const
void setBoxNosRatio(const double boxratio, int i, int j, int k)
void setStripEff(const double stripeff, int i, int j, int k, int l)
void setUniformEff(double eff)
double getUniformCnt() const
void setStripNosRatio(const double stripnosratio, int i, int j, int k, int l)
void setStripCnt(const double stripcnt, int i, int j, int k, int l)
void setUniformNosRatio(double nosratio)
double getBoxEff(int part, int segment, int layer) const
double getLayerNos(int layer) const
void setBoxEff(const double boxeff, int i, int j, int k)
double getLayerClstPro(int layer, int size) const
double getStripEff(int part, int segment, int layer, int strip) const
double getLayerClst(int layer, double prob) const
double getLayerEff(int layer) const
double getLayerCnt(int layer) const
static const CLID & classID()
virtual const CLID & clID() const
void setUniformNos(double nos)
double getUniformClst() const
void setBoxNos(const double boxnos, int i, int j, int k)
void setLayerEff(const double layereff, int i)
void setLayerNosRatio(const double layernosratio, int i)
void setBoxClstPro(const double boxpro, int i, int j, int k, int l)