BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibData::MucCalibData Class Reference

#include <MucCalibData.h>

+ Inheritance diagram for CalibData::MucCalibData:

Public Member Functions

 MucCalibData ()
 
virtual ~MucCalibData ()
 
virtual const CLID & clID () const
 
virtual StatusCode update (CalibBase1 &other, MsgStream *log)
 
double getUniformEff () const
 
double getUniformNos () const
 
double getUniformClst () const
 
double getUniformCnt () const
 
double getUniformNosRatio () const
 
double getLayerEff (int layer) const
 
double getLayerNos (int layer) const
 
double getLayerNosRatio (int layer) const
 
double getLayerCnt (int layer) const
 
double getLayerClstPro (int layer, int size) const
 
double getLayerClst (int layer, double prob) const
 
double getBoxEff (int part, int segment, int layer) const
 
double getBoxNos (int part, int segment, int layer) const
 
double getBoxCnt (int part, int segment, int layer) const
 
double getBoxNosRatio (int part, int segment, int layer) const
 
double getBoxClstPro (int part, int segment, int layer, int size) const
 
double getBoxClst (int part, int segment, int layer, double prob) const
 
double getStripEff (int part, int segment, int layer, int strip) const
 
double getStripNos (int part, int segment, int layer, int strip) const
 
double getStripCnt (int part, int segment, int layer, int strip) const
 
double getStripNosRatio (int part, int segment, int layer, int strip) const
 
void setUniformEff (double eff)
 
void setUniformNos (double nos)
 
void setUniformClst (double clst)
 
void setUniformCnt (double cnt)
 
void setUniformNosRatio (double nosratio)
 
void setLayerEff (const double layereff, int i)
 
void setLayerNos (const double layernos, int i)
 
void setLayerCnt (const double layercnt, int i)
 
void setLayerNosRatio (const double layernosratio, int i)
 
void setLayerClstPro (const double layerpro, int i, int j)
 
void setBoxEff (const double boxeff, int i, int j, int k)
 
void setBoxNos (const double boxnos, int i, int j, int k)
 
void setBoxCnt (const double boxcnt, int i, int j, int k)
 
void setBoxNosRatio (const double boxratio, int i, int j, int k)
 
void setBoxClstPro (const double boxpro, int i, int j, int k, int l)
 
void setStripEff (const double stripeff, int i, int j, int k, int l)
 
void setStripNos (const double stripnos, int i, int j, int k, int l)
 
void setStripCnt (const double stripcnt, int i, int j, int k, int l)
 
void setStripNosRatio (const double stripnosratio, int i, int j, int k, int l)
 
 MucCalibData ()
 
virtual ~MucCalibData ()
 
virtual const CLID & clID () const
 
virtual StatusCode update (CalibBase1 &other, MsgStream *log)
 
double getUniformEff () const
 
double getUniformNos () const
 
double getUniformClst () const
 
double getUniformCnt () const
 
double getUniformNosRatio () const
 
double getLayerEff (int layer) const
 
double getLayerNos (int layer) const
 
double getLayerNosRatio (int layer) const
 
double getLayerCnt (int layer) const
 
double getLayerClstPro (int layer, int size) const
 
double getLayerClst (int layer, double prob) const
 
double getBoxEff (int part, int segment, int layer) const
 
double getBoxNos (int part, int segment, int layer) const
 
double getBoxCnt (int part, int segment, int layer) const
 
double getBoxNosRatio (int part, int segment, int layer) const
 
double getBoxClstPro (int part, int segment, int layer, int size) const
 
double getBoxClst (int part, int segment, int layer, double prob) const
 
double getStripEff (int part, int segment, int layer, int strip) const
 
double getStripNos (int part, int segment, int layer, int strip) const
 
double getStripCnt (int part, int segment, int layer, int strip) const
 
double getStripNosRatio (int part, int segment, int layer, int strip) const
 
void setUniformEff (double eff)
 
void setUniformNos (double nos)
 
void setUniformClst (double clst)
 
void setUniformCnt (double cnt)
 
void setUniformNosRatio (double nosratio)
 
void setLayerEff (const double layereff, int i)
 
void setLayerNos (const double layernos, int i)
 
void setLayerCnt (const double layercnt, int i)
 
void setLayerNosRatio (const double layernosratio, int i)
 
void setLayerClstPro (const double layerpro, int i, int j)
 
void setBoxEff (const double boxeff, int i, int j, int k)
 
void setBoxNos (const double boxnos, int i, int j, int k)
 
void setBoxCnt (const double boxcnt, int i, int j, int k)
 
void setBoxNosRatio (const double boxratio, int i, int j, int k)
 
void setBoxClstPro (const double boxpro, int i, int j, int k, int l)
 
void setStripEff (const double stripeff, int i, int j, int k, int l)
 
void setStripNos (const double stripnos, int i, int j, int k, int l)
 
void setStripCnt (const double stripcnt, int i, int j, int k, int l)
 
void setStripNosRatio (const double stripnosratio, int i, int j, int k, int l)
 
- Public Member Functions inherited from CalibData::CalibBase1
 CalibBase1 ()
 
 CalibBase1 (int serNo, int runfrm, int runto)
 
 CalibBase1 (int runfrm, int runto)
 
 CalibBase1 (const CalibBase1 &obj)
 
virtual StatusCode update (CalibBase1 &obj, MsgStream *)
 
virtual int getSerNo () const
 Following is intended for deep copy.
 
virtual int getrunfrm () const
 
virtual int getrunto () const
 
void setSerNo (int ser)
 
void setrunfrm (int runfrm)
 
void setrunto (int runto)
 
 CalibBase1 ()
 
 CalibBase1 (int serNo, int runfrm, int runto)
 
 CalibBase1 (int runfrm, int runto)
 
 CalibBase1 (const CalibBase1 &obj)
 
virtual StatusCode update (CalibBase1 &obj, MsgStream *)
 
virtual int getSerNo () const
 Following is intended for deep copy.
 
virtual int getrunfrm () const
 
virtual int getrunto () const
 
void setSerNo (int ser)
 
void setrunfrm (int runfrm)
 
void setrunto (int runto)
 

Static Public Member Functions

static const CLID & classID ()
 
static const CLID & classID ()
 

Additional Inherited Members

- Protected Attributes inherited from CalibData::CalibBase1
int m_serNo
 
int m_runfrm
 
int m_runto
 

Detailed Description

Constructor & Destructor Documentation

◆ MucCalibData() [1/2]

MucCalibData::MucCalibData ( )

Definition at line 8 of file MucCalibData.cxx.

8{}

◆ ~MucCalibData() [1/2]

virtual CalibData::MucCalibData::~MucCalibData ( )
inlinevirtual

◆ MucCalibData() [2/2]

CalibData::MucCalibData::MucCalibData ( )

◆ ~MucCalibData() [2/2]

virtual CalibData::MucCalibData::~MucCalibData ( )
inlinevirtual

Member Function Documentation

◆ classID() [1/2]

static const CLID & CalibData::MucCalibData::classID ( )
inlinestatic

◆ classID() [2/2]

static const CLID & CalibData::MucCalibData::classID ( )
inlinestatic

◆ clID() [1/2]

virtual const CLID & CalibData::MucCalibData::clID ( ) const
inlinevirtual

◆ clID() [2/2]

virtual const CLID & CalibData::MucCalibData::clID ( ) const
inlinevirtual

Definition at line 27 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

27{ return classID(); }

◆ getBoxClst() [1/2]

double CalibData::MucCalibData::getBoxClst ( int  part,
int  segment,
int  layer,
double  prob 
) const
inline

Definition at line 65 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

65 {
66 double diff = 2.0;
67 int size = 0;
68 for(int i=0; i<CLST_MAX; i++)
69 {
70 if( fabs(prob - m_boxClstPro[part][segment][layer][i]) < diff ) {
71 diff = fabs(prob - m_boxClstPro[part][segment][layer][i]);
72 size = i+1;
73 }
74 }
75 return size;
76}

◆ getBoxClst() [2/2]

double CalibData::MucCalibData::getBoxClst ( int  part,
int  segment,
int  layer,
double  prob 
) const
inline

Definition at line 65 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

65 {
66 double diff = 2.0;
67 int size = 0;
68 for(int i=0; i<CLST_MAX; i++)
69 {
70 if( fabs(prob - m_boxClstPro[part][segment][layer][i]) < diff ) {
71 diff = fabs(prob - m_boxClstPro[part][segment][layer][i]);
72 size = i+1;
73 }
74 }
75 return size;
76}

◆ getBoxClstPro() [1/2]

double CalibData::MucCalibData::getBoxClstPro ( int  part,
int  segment,
int  layer,
int  size 
) const
inline

Definition at line 64 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

64{ return m_boxClstPro[part][segment][layer][size]; }

Referenced by update().

◆ getBoxClstPro() [2/2]

double CalibData::MucCalibData::getBoxClstPro ( int  part,
int  segment,
int  layer,
int  size 
) const
inline

Definition at line 64 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

64{ return m_boxClstPro[part][segment][layer][size]; }

◆ getBoxCnt() [1/2]

double CalibData::MucCalibData::getBoxCnt ( int  part,
int  segment,
int  layer 
) const
inline

Definition at line 62 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

62{ return m_boxCnt[part][segment][layer];}

Referenced by update().

◆ getBoxCnt() [2/2]

double CalibData::MucCalibData::getBoxCnt ( int  part,
int  segment,
int  layer 
) const
inline

Definition at line 62 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

62{ return m_boxCnt[part][segment][layer];}

◆ getBoxEff() [1/2]

double CalibData::MucCalibData::getBoxEff ( int  part,
int  segment,
int  layer 
) const
inline

Definition at line 60 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

60{ return m_boxEff[part][segment][layer];}

Referenced by update().

◆ getBoxEff() [2/2]

double CalibData::MucCalibData::getBoxEff ( int  part,
int  segment,
int  layer 
) const
inline

Definition at line 60 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

60{ return m_boxEff[part][segment][layer];}

◆ getBoxNos() [1/2]

double CalibData::MucCalibData::getBoxNos ( int  part,
int  segment,
int  layer 
) const
inline

Definition at line 61 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

61{ return m_boxNos[part][segment][layer];}

Referenced by update().

◆ getBoxNos() [2/2]

double CalibData::MucCalibData::getBoxNos ( int  part,
int  segment,
int  layer 
) const
inline

Definition at line 61 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

61{ return m_boxNos[part][segment][layer];}

◆ getBoxNosRatio() [1/2]

double CalibData::MucCalibData::getBoxNosRatio ( int  part,
int  segment,
int  layer 
) const
inline

Definition at line 63 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

63{return m_boxNosRatio[part][segment][layer];}

Referenced by update().

◆ getBoxNosRatio() [2/2]

double CalibData::MucCalibData::getBoxNosRatio ( int  part,
int  segment,
int  layer 
) const
inline

Definition at line 63 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

63{return m_boxNosRatio[part][segment][layer];}

◆ getLayerClst() [1/2]

double CalibData::MucCalibData::getLayerClst ( int  layer,
double  prob 
) const
inline

Definition at line 47 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

47 {
48 double diff = 2.0;
49 int size = 0;
50 for(int i=0; i<CLST_MAX; i++)
51 {
52 if( fabs(prob - m_layerClstPro[layer][i] ) < diff ) {
53 diff = fabs(prob - m_layerClstPro[layer][i]);
54 size = i+1;
55 }
56 }
57 return size;
58}

◆ getLayerClst() [2/2]

double CalibData::MucCalibData::getLayerClst ( int  layer,
double  prob 
) const
inline

Definition at line 47 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

47 {
48 double diff = 2.0;
49 int size = 0;
50 for(int i=0; i<CLST_MAX; i++)
51 {
52 if( fabs(prob - m_layerClstPro[layer][i] ) < diff ) {
53 diff = fabs(prob - m_layerClstPro[layer][i]);
54 size = i+1;
55 }
56 }
57 return size;
58}

◆ getLayerClstPro() [1/2]

double CalibData::MucCalibData::getLayerClstPro ( int  layer,
int  size 
) const
inline

Definition at line 46 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

46{ return m_layerClstPro[layer][size]; }

Referenced by update().

◆ getLayerClstPro() [2/2]

double CalibData::MucCalibData::getLayerClstPro ( int  layer,
int  size 
) const
inline

Definition at line 46 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

46{ return m_layerClstPro[layer][size]; }

◆ getLayerCnt() [1/2]

double CalibData::MucCalibData::getLayerCnt ( int  layer) const
inline

Definition at line 45 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

45{return m_layerCnt[layer];}

Referenced by update().

◆ getLayerCnt() [2/2]

double CalibData::MucCalibData::getLayerCnt ( int  layer) const
inline

Definition at line 45 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

45{return m_layerCnt[layer];}

◆ getLayerEff() [1/2]

double CalibData::MucCalibData::getLayerEff ( int  layer) const
inline

Definition at line 42 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

42{ return m_layerEff[layer];}

Referenced by update().

◆ getLayerEff() [2/2]

double CalibData::MucCalibData::getLayerEff ( int  layer) const
inline

Definition at line 42 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

42{ return m_layerEff[layer];}

◆ getLayerNos() [1/2]

double CalibData::MucCalibData::getLayerNos ( int  layer) const
inline

Definition at line 43 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

43{return m_layerNos[layer];}

Referenced by update().

◆ getLayerNos() [2/2]

double CalibData::MucCalibData::getLayerNos ( int  layer) const
inline

Definition at line 43 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

43{return m_layerNos[layer];}

◆ getLayerNosRatio() [1/2]

double CalibData::MucCalibData::getLayerNosRatio ( int  layer) const
inline

Definition at line 44 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

44{return m_layerNosRatio[layer];}

Referenced by update().

◆ getLayerNosRatio() [2/2]

double CalibData::MucCalibData::getLayerNosRatio ( int  layer) const
inline

Definition at line 44 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

44{return m_layerNosRatio[layer];}

◆ getStripCnt() [1/2]

double CalibData::MucCalibData::getStripCnt ( int  part,
int  segment,
int  layer,
int  strip 
) const
inline

Definition at line 80 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

80{ return m_stripCnt[part][segment][layer][strip];}

Referenced by update().

◆ getStripCnt() [2/2]

double CalibData::MucCalibData::getStripCnt ( int  part,
int  segment,
int  layer,
int  strip 
) const
inline

Definition at line 80 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

80{ return m_stripCnt[part][segment][layer][strip];}

◆ getStripEff() [1/2]

double CalibData::MucCalibData::getStripEff ( int  part,
int  segment,
int  layer,
int  strip 
) const
inline

Definition at line 78 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

78{ return m_stripEff[part][segment][layer][strip];}

Referenced by update().

◆ getStripEff() [2/2]

double CalibData::MucCalibData::getStripEff ( int  part,
int  segment,
int  layer,
int  strip 
) const
inline

Definition at line 78 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

78{ return m_stripEff[part][segment][layer][strip];}

◆ getStripNos() [1/2]

double CalibData::MucCalibData::getStripNos ( int  part,
int  segment,
int  layer,
int  strip 
) const
inline

Definition at line 79 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

79{ return m_stripNos[part][segment][layer][strip];}

Referenced by update().

◆ getStripNos() [2/2]

double CalibData::MucCalibData::getStripNos ( int  part,
int  segment,
int  layer,
int  strip 
) const
inline

Definition at line 79 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

79{ return m_stripNos[part][segment][layer][strip];}

◆ getStripNosRatio() [1/2]

double CalibData::MucCalibData::getStripNosRatio ( int  part,
int  segment,
int  layer,
int  strip 
) const
inline

Definition at line 81 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

81{ return m_stripNosRatio[part][segment][layer][strip];}

Referenced by update().

◆ getStripNosRatio() [2/2]

double CalibData::MucCalibData::getStripNosRatio ( int  part,
int  segment,
int  layer,
int  strip 
) const
inline

Definition at line 81 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

81{ return m_stripNosRatio[part][segment][layer][strip];}

◆ getUniformClst() [1/2]

double CalibData::MucCalibData::getUniformClst ( ) const
inline

Definition at line 38 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

38{ return m_uniformClst;} // probability = 1(biggest strip window for tracking)

Referenced by update().

◆ getUniformClst() [2/2]

double CalibData::MucCalibData::getUniformClst ( ) const
inline

Definition at line 38 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

38{ return m_uniformClst;} // probability = 1(biggest strip window for tracking)

◆ getUniformCnt() [1/2]

double CalibData::MucCalibData::getUniformCnt ( ) const
inline

Definition at line 39 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

39{return m_uniformCnt;}

Referenced by update().

◆ getUniformCnt() [2/2]

double CalibData::MucCalibData::getUniformCnt ( ) const
inline

Definition at line 39 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

39{return m_uniformCnt;}

◆ getUniformEff() [1/2]

double CalibData::MucCalibData::getUniformEff ( ) const
inline

Definition at line 36 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

36{ return m_uniformEff;}

Referenced by update().

◆ getUniformEff() [2/2]

double CalibData::MucCalibData::getUniformEff ( ) const
inline

Definition at line 36 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

36{ return m_uniformEff;}

◆ getUniformNos() [1/2]

double CalibData::MucCalibData::getUniformNos ( ) const
inline

Definition at line 37 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

37{ return m_uniformNos;}

◆ getUniformNos() [2/2]

double CalibData::MucCalibData::getUniformNos ( ) const
inline

Definition at line 37 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

37{ return m_uniformNos;}

◆ getUniformNosRatio() [1/2]

double CalibData::MucCalibData::getUniformNosRatio ( ) const
inline

Definition at line 40 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

40{return m_uniformNosRatio;}

Referenced by update().

◆ getUniformNosRatio() [2/2]

double CalibData::MucCalibData::getUniformNosRatio ( ) const
inline

Definition at line 40 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

40{return m_uniformNosRatio;}

◆ setBoxClstPro() [1/2]

void CalibData::MucCalibData::setBoxClstPro ( const double  boxpro,
int  i,
int  j,
int  k,
int  l 
)
inline

◆ setBoxClstPro() [2/2]

void CalibData::MucCalibData::setBoxClstPro ( const double  boxpro,
int  i,
int  j,
int  k,
int  l 
)
inline

Definition at line 101 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

101{m_boxClstPro[i][j][k][l]=boxpro;}

◆ setBoxCnt() [1/2]

void CalibData::MucCalibData::setBoxCnt ( const double  boxcnt,
int  i,
int  j,
int  k 
)
inline

◆ setBoxCnt() [2/2]

void CalibData::MucCalibData::setBoxCnt ( const double  boxcnt,
int  i,
int  j,
int  k 
)
inline

Definition at line 99 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

99{m_boxCnt[i][j][k] = boxcnt;}

◆ setBoxEff() [1/2]

void CalibData::MucCalibData::setBoxEff ( const double  boxeff,
int  i,
int  j,
int  k 
)
inline

◆ setBoxEff() [2/2]

void CalibData::MucCalibData::setBoxEff ( const double  boxeff,
int  i,
int  j,
int  k 
)
inline

Definition at line 97 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

97{m_boxEff[i][j][k] = boxeff;}

◆ setBoxNos() [1/2]

void CalibData::MucCalibData::setBoxNos ( const double  boxnos,
int  i,
int  j,
int  k 
)
inline

◆ setBoxNos() [2/2]

void CalibData::MucCalibData::setBoxNos ( const double  boxnos,
int  i,
int  j,
int  k 
)
inline

Definition at line 98 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

98{m_boxNos[i][j][k] = boxnos;}

◆ setBoxNosRatio() [1/2]

void CalibData::MucCalibData::setBoxNosRatio ( const double  boxratio,
int  i,
int  j,
int  k 
)
inline

◆ setBoxNosRatio() [2/2]

void CalibData::MucCalibData::setBoxNosRatio ( const double  boxratio,
int  i,
int  j,
int  k 
)
inline

Definition at line 100 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

100{m_boxNosRatio[i][j][k]=boxratio;}

◆ setLayerClstPro() [1/2]

void CalibData::MucCalibData::setLayerClstPro ( const double  layerpro,
int  i,
int  j 
)
inline

◆ setLayerClstPro() [2/2]

void CalibData::MucCalibData::setLayerClstPro ( const double  layerpro,
int  i,
int  j 
)
inline

Definition at line 95 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

95{m_layerClstPro[i][j]= layerpro;}

◆ setLayerCnt() [1/2]

void CalibData::MucCalibData::setLayerCnt ( const double  layercnt,
int  i 
)
inline

◆ setLayerCnt() [2/2]

void CalibData::MucCalibData::setLayerCnt ( const double  layercnt,
int  i 
)
inline

Definition at line 93 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

93{ m_layerCnt[i]=layercnt;}

◆ setLayerEff() [1/2]

void CalibData::MucCalibData::setLayerEff ( const double  layereff,
int  i 
)
inline

◆ setLayerEff() [2/2]

void CalibData::MucCalibData::setLayerEff ( const double  layereff,
int  i 
)
inline

Definition at line 91 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

91{ m_layerEff[i]=layereff;}

◆ setLayerNos() [1/2]

void CalibData::MucCalibData::setLayerNos ( const double  layernos,
int  i 
)
inline

◆ setLayerNos() [2/2]

void CalibData::MucCalibData::setLayerNos ( const double  layernos,
int  i 
)
inline

Definition at line 92 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

92{ m_layerNos[i]=layernos;}

◆ setLayerNosRatio() [1/2]

void CalibData::MucCalibData::setLayerNosRatio ( const double  layernosratio,
int  i 
)
inline

◆ setLayerNosRatio() [2/2]

void CalibData::MucCalibData::setLayerNosRatio ( const double  layernosratio,
int  i 
)
inline

Definition at line 94 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

94{ m_layerNosRatio[i]=layernosratio;}

◆ setStripCnt() [1/2]

void CalibData::MucCalibData::setStripCnt ( const double  stripcnt,
int  i,
int  j,
int  k,
int  l 
)
inline

◆ setStripCnt() [2/2]

void CalibData::MucCalibData::setStripCnt ( const double  stripcnt,
int  i,
int  j,
int  k,
int  l 
)
inline

Definition at line 105 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

105{m_stripCnt[i][j][k][l]=stripcnt;}

◆ setStripEff() [1/2]

void CalibData::MucCalibData::setStripEff ( const double  stripeff,
int  i,
int  j,
int  k,
int  l 
)
inline

◆ setStripEff() [2/2]

void CalibData::MucCalibData::setStripEff ( const double  stripeff,
int  i,
int  j,
int  k,
int  l 
)
inline

Definition at line 103 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

103{m_stripEff[i][j][k][l]=stripeff;}

◆ setStripNos() [1/2]

void CalibData::MucCalibData::setStripNos ( const double  stripnos,
int  i,
int  j,
int  k,
int  l 
)
inline

◆ setStripNos() [2/2]

void CalibData::MucCalibData::setStripNos ( const double  stripnos,
int  i,
int  j,
int  k,
int  l 
)
inline

Definition at line 104 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

104{m_stripNos[i][j][k][l]=stripnos;}

◆ setStripNosRatio() [1/2]

void CalibData::MucCalibData::setStripNosRatio ( const double  stripnosratio,
int  i,
int  j,
int  k,
int  l 
)
inline

Definition at line 106 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

106{m_stripNosRatio[i][j][k][l]=stripnosratio;}

Referenced by RootMucCalibDataCnv::i_createObj(), TreeMucCalibDataCnv::i_createObj(), and update().

◆ setStripNosRatio() [2/2]

void CalibData::MucCalibData::setStripNosRatio ( const double  stripnosratio,
int  i,
int  j,
int  k,
int  l 
)
inline

Definition at line 106 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

106{m_stripNosRatio[i][j][k][l]=stripnosratio;}

◆ setUniformClst() [1/2]

void CalibData::MucCalibData::setUniformClst ( double  clst)
inline

Definition at line 86 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

86{m_uniformClst=clst;}

Referenced by update().

◆ setUniformClst() [2/2]

void CalibData::MucCalibData::setUniformClst ( double  clst)
inline

Definition at line 86 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

86{m_uniformClst=clst;}

◆ setUniformCnt() [1/2]

void CalibData::MucCalibData::setUniformCnt ( double  cnt)
inline

Definition at line 87 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

87{m_uniformCnt=cnt;}

Referenced by update().

◆ setUniformCnt() [2/2]

void CalibData::MucCalibData::setUniformCnt ( double  cnt)
inline

Definition at line 87 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

87{m_uniformCnt=cnt;}

◆ setUniformEff() [1/2]

void CalibData::MucCalibData::setUniformEff ( double  eff)
inline

Definition at line 84 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

84{m_uniformEff=eff;}

Referenced by update().

◆ setUniformEff() [2/2]

void CalibData::MucCalibData::setUniformEff ( double  eff)
inline

Definition at line 84 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

84{m_uniformEff=eff;}

◆ setUniformNos() [1/2]

void CalibData::MucCalibData::setUniformNos ( double  nos)
inline

Definition at line 85 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

85{m_uniformNos=nos;}

◆ setUniformNos() [2/2]

void CalibData::MucCalibData::setUniformNos ( double  nos)
inline

Definition at line 85 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

85{m_uniformNos=nos;}

◆ setUniformNosRatio() [1/2]

void CalibData::MucCalibData::setUniformNosRatio ( double  nosratio)
inline

Definition at line 88 of file Calibration/CalibData/CalibData-00-01-18/CalibData/Muc/MucCalibData.h.

88{m_uniformNosRatio=nosratio;}

Referenced by update().

◆ setUniformNosRatio() [2/2]

void CalibData::MucCalibData::setUniformNosRatio ( double  nosratio)
inline

Definition at line 88 of file InstallArea/include/CalibData/CalibData/Muc/MucCalibData.h.

88{m_uniformNosRatio=nosratio;}

◆ update() [1/2]

StatusCode MucCalibData::update ( CalibBase1 other,
MsgStream *  log 
)
virtual

Reimplemented from CalibData::CalibBase1.

Definition at line 10 of file MucCalibData.cxx.

11 {
12 MucCalibData& other1 = dynamic_cast<MucCalibData& >(other);
13 std::cout<<"========================================"<<"\n"
14 <<"here is the update in the MucCalibData"<<"\n"
15 <<"=================================================="<<std::endl;
16 CalibBase1::update(other, log);
17 setUniformClst(other1.getUniformClst());
18 setUniformEff(other1.getUniformEff());
19 setUniformClst(other1.getUniformClst());
20 setUniformCnt(other1.getUniformCnt());
21 setUniformNosRatio(other1.getUniformNosRatio());
22 //set the Calibration Data
23 for(int i=0;i<LAYER_MAX;i++) {
24 setLayerEff(other1.getLayerEff(i),i);
25 setLayerNos(other1.getLayerNos(i),i);
26 setLayerCnt(other1.getLayerCnt(i),i);
27 setLayerNosRatio(other1.getLayerNosRatio(i),i);
28 for(int j=0;j<CLST_MAX;j++){
29 setLayerClstPro(other1.getLayerClstPro(i,j),i,j);
30 }
31 }
32 for(int i=0;i<PART_MAX;i++) {
33 for(int j=0;j<SEGMENT_MAX;j++){
34 for(int k=0;k<LAYER_MAX;k++){
35 setBoxEff(other1.getBoxEff(i,j,k),i,j,k);
36 setBoxNos(other1.getBoxNos(i,j,k),i,j,k);
37 setBoxCnt(other1.getBoxCnt(i,j,k),i,j,k);
38 setBoxNosRatio(other1.getBoxNosRatio(i,j,k),i,j,k);
39 for(int l=0;l<CLST_MAX;l++){
40 setBoxClstPro(other1.getBoxClstPro(i,j,k,l),i,j,k,l);
41 }
42 }
43 }
44 }
45 for(int i=0;i<PART_MAX;i++){
46 for(int j=0;j<SEGMENT_MAX;j++){
47 for(int k=0;k<LAYER_MAX;k++){
48 for(int l=0;l<STRIP_INBOX_MAX;l++){
49 setStripEff(other1.getStripEff(i,j,k,l),i,j,k,l);
50 setStripNos(other1.getStripNos(i,j,k,l),i,j,k,l);
51 setStripCnt(other1.getStripCnt(i,j,k,l),i,j,k,l);
52 setStripNosRatio(other1.getStripNosRatio(i,j,k,l),i,j,k,l);
53 }
54 }
55 }
56 }
57 std::cout<<"updata complete================="<<std::endl;
58 return StatusCode::SUCCESS;
59}
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
Definition: CalibBase1.cxx:33
void setStripNos(const double stripnos, int i, int j, int k, int l)
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 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 setBoxClstPro(const double boxpro, int i, int j, int k, int l)
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

◆ update() [2/2]

virtual StatusCode CalibData::MucCalibData::update ( CalibBase1 other,
MsgStream *  log 
)
virtual

Reimplemented from CalibData::CalibBase1.


The documentation for this class was generated from the following files: