BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibData::DedxCalibData Class Reference

#include <DedxCalibData.h>

+ Inheritance diagram for CalibData::DedxCalibData:

Public Member Functions

 DedxCalibData ()
 
virtual ~DedxCalibData ()
 
virtual const CLID & clID () const
 
virtual StatusCode update (CalibBase1 &other, MsgStream *log)
 
void setddg (const double ddg, int i, int j)
 
void setggs (const double ggs, int i, int j)
 
void setwireg (const double wireg, int i)
 
void setgain (const double gain)
 
void setzdep (const double zdep, int i, int j)
 
void setresol (const double resol)
 
void setlayerg (const double layerg, int i)
 
void setenta (const double enta, int i, int j)
 
void setrunNO (const int run_NO)
 
void setrung (const double rung, int i)
 
double getddg (int i, int j) const
 
double getggs (int i, int j) const
 
double getwireg (int i) const
 
double getgain () const
 
double getzdep (int i, int j) const
 
double getresol () const
 
double getlayerg (int i) const
 
double getenta (int i, int j) const
 
int getrunNO () const
 
double getrung (int i, int j) const
 
double get_id_doca (int i) const
 
double get_iner_chi (int i) const
 
double get_iner_gain (int i) const
 
double get_iner_hits (int i) const
 
double get_ip_eangle (int i) const
 
double get_out_chi (int i) const
 
double get_out_gain (int i) const
 
double get_out_hits (int i) const
 
double get_costheta (int i) const
 
double get_t0 (int i) const
 
double get_dedx (int i) const
 
double get_hadron (int i) const
 
int get_hadronNo () const
 
int get_enanglesize () const
 
double get_enangle (int i) const
 
void set_id_doca (const double aa, int i)
 
void set_iner_chi (const double aa, int i)
 
void set_iner_gain (const double aa, int i)
 
void set_iner_hits (const double aa, int i)
 
void set_ip_eangle (const double aa, int i)
 
void set_out_chi (const double aa, int i)
 
void set_out_gain (const double aa, int i)
 
void set_out_hits (const double aa, int i)
 
void set_costheta (const double aa, int i)
 
void set_t0 (const double aa, int i)
 
void set_dedx (const double aa, int i)
 
void set_hadron (const double aa, int i)
 
void set_hadronNo (int no)
 
void set_enanglesize (int no)
 
void set_enangle (const double aa, int i)
 
 DedxCalibData ()
 
virtual ~DedxCalibData ()
 
virtual const CLID & clID () const
 
virtual StatusCode update (CalibBase1 &other, MsgStream *log)
 
void setddg (const double ddg, int i, int j)
 
void setggs (const double ggs, int i, int j)
 
void setwireg (const double wireg, int i)
 
void setgain (const double gain)
 
void setzdep (const double zdep, int i, int j)
 
void setresol (const double resol)
 
void setlayerg (const double layerg, int i)
 
void setenta (const double enta, int i, int j)
 
void setrunNO (const int run_NO)
 
void setrung (const double rung, int i)
 
double getddg (int i, int j) const
 
double getggs (int i, int j) const
 
double getwireg (int i) const
 
double getgain () const
 
double getzdep (int i, int j) const
 
double getresol () const
 
double getlayerg (int i) const
 
double getenta (int i, int j) const
 
int getrunNO () const
 
double getrung (int i, int j) const
 
double get_id_doca (int i) const
 
double get_iner_chi (int i) const
 
double get_iner_gain (int i) const
 
double get_iner_hits (int i) const
 
double get_ip_eangle (int i) const
 
double get_out_chi (int i) const
 
double get_out_gain (int i) const
 
double get_out_hits (int i) const
 
double get_costheta (int i) const
 
double get_t0 (int i) const
 
double get_dedx (int i) const
 
double get_hadron (int i) const
 
int get_hadronNo () const
 
int get_enanglesize () const
 
double get_enangle (int i) const
 
void set_id_doca (const double aa, int i)
 
void set_iner_chi (const double aa, int i)
 
void set_iner_gain (const double aa, int i)
 
void set_iner_hits (const double aa, int i)
 
void set_ip_eangle (const double aa, int i)
 
void set_out_chi (const double aa, int i)
 
void set_out_gain (const double aa, int i)
 
void set_out_hits (const double aa, int i)
 
void set_costheta (const double aa, int i)
 
void set_t0 (const double aa, int i)
 
void set_dedx (const double aa, int i)
 
void set_hadron (const double aa, int i)
 
void set_hadronNo (int no)
 
void set_enanglesize (int no)
 
void set_enangle (const double aa, int i)
 
- 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

◆ DedxCalibData() [1/2]

CalibData::DedxCalibData::DedxCalibData ( )
inline

◆ ~DedxCalibData() [1/2]

virtual CalibData::DedxCalibData::~DedxCalibData ( )
inlinevirtual

◆ DedxCalibData() [2/2]

CalibData::DedxCalibData::DedxCalibData ( )
inline

◆ ~DedxCalibData() [2/2]

virtual CalibData::DedxCalibData::~DedxCalibData ( )
inlinevirtual

Member Function Documentation

◆ classID() [1/2]

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

◆ classID() [2/2]

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

◆ clID() [1/2]

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

◆ clID() [2/2]

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

Definition at line 27 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

27{ return classID(); }

◆ get_costheta() [1/2]

double CalibData::DedxCalibData::get_costheta ( int  i) const
inline

Definition at line 91 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

91{return m_costheta[i];}

Referenced by update().

◆ get_costheta() [2/2]

double CalibData::DedxCalibData::get_costheta ( int  i) const
inline

Definition at line 91 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

91{return m_costheta[i];}

◆ get_dedx() [1/2]

double CalibData::DedxCalibData::get_dedx ( int  i) const
inline

Definition at line 93 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

93{return m_dedx[i];}

Referenced by update().

◆ get_dedx() [2/2]

double CalibData::DedxCalibData::get_dedx ( int  i) const
inline

Definition at line 93 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

93{return m_dedx[i];}

◆ get_enangle() [1/2]

double CalibData::DedxCalibData::get_enangle ( int  i) const
inline

Definition at line 97 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

97{return m_enangle[i];}

Referenced by update().

◆ get_enangle() [2/2]

double CalibData::DedxCalibData::get_enangle ( int  i) const
inline

Definition at line 97 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

97{return m_enangle[i];}

◆ get_enanglesize() [1/2]

int CalibData::DedxCalibData::get_enanglesize ( ) const
inline

Definition at line 96 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

96{return m_enanglesize;}

Referenced by update().

◆ get_enanglesize() [2/2]

int CalibData::DedxCalibData::get_enanglesize ( ) const
inline

Definition at line 96 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

96{return m_enanglesize;}

◆ get_hadron() [1/2]

double CalibData::DedxCalibData::get_hadron ( int  i) const
inline

Definition at line 94 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

94{return m_hadron[i];}

Referenced by update().

◆ get_hadron() [2/2]

double CalibData::DedxCalibData::get_hadron ( int  i) const
inline

Definition at line 94 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

94{return m_hadron[i];}

◆ get_hadronNo() [1/2]

int CalibData::DedxCalibData::get_hadronNo ( ) const
inline

Definition at line 95 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

95{return m_hadronNo;}

◆ get_hadronNo() [2/2]

int CalibData::DedxCalibData::get_hadronNo ( ) const
inline

Definition at line 95 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

95{return m_hadronNo;}

◆ get_id_doca() [1/2]

double CalibData::DedxCalibData::get_id_doca ( int  i) const
inline

Definition at line 83 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

83{return m_id_doca[i];}

Referenced by update().

◆ get_id_doca() [2/2]

double CalibData::DedxCalibData::get_id_doca ( int  i) const
inline

Definition at line 83 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

83{return m_id_doca[i];}

◆ get_iner_chi() [1/2]

double CalibData::DedxCalibData::get_iner_chi ( int  i) const
inline

Definition at line 84 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

84{return m_iner_chi[i];}

Referenced by update().

◆ get_iner_chi() [2/2]

double CalibData::DedxCalibData::get_iner_chi ( int  i) const
inline

Definition at line 84 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

84{return m_iner_chi[i];}

◆ get_iner_gain() [1/2]

double CalibData::DedxCalibData::get_iner_gain ( int  i) const
inline

Definition at line 85 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

85{return m_iner_gain[i];}

Referenced by update().

◆ get_iner_gain() [2/2]

double CalibData::DedxCalibData::get_iner_gain ( int  i) const
inline

Definition at line 85 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

85{return m_iner_gain[i];}

◆ get_iner_hits() [1/2]

double CalibData::DedxCalibData::get_iner_hits ( int  i) const
inline

Definition at line 86 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

86{return m_iner_hits[i];}

Referenced by update().

◆ get_iner_hits() [2/2]

double CalibData::DedxCalibData::get_iner_hits ( int  i) const
inline

Definition at line 86 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

86{return m_iner_hits[i];}

◆ get_ip_eangle() [1/2]

double CalibData::DedxCalibData::get_ip_eangle ( int  i) const
inline

Definition at line 87 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

87{return m_ip_eangle[i];}

Referenced by update().

◆ get_ip_eangle() [2/2]

double CalibData::DedxCalibData::get_ip_eangle ( int  i) const
inline

Definition at line 87 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

87{return m_ip_eangle[i];}

◆ get_out_chi() [1/2]

double CalibData::DedxCalibData::get_out_chi ( int  i) const
inline

Definition at line 88 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

88{return m_out_chi[i];}

Referenced by update().

◆ get_out_chi() [2/2]

double CalibData::DedxCalibData::get_out_chi ( int  i) const
inline

Definition at line 88 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

88{return m_out_chi[i];}

◆ get_out_gain() [1/2]

double CalibData::DedxCalibData::get_out_gain ( int  i) const
inline

Definition at line 89 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

89{return m_out_gain[i];}

Referenced by update().

◆ get_out_gain() [2/2]

double CalibData::DedxCalibData::get_out_gain ( int  i) const
inline

Definition at line 89 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

89{return m_out_gain[i];}

◆ get_out_hits() [1/2]

double CalibData::DedxCalibData::get_out_hits ( int  i) const
inline

Definition at line 90 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

90{return m_out_hits[i];}

Referenced by update().

◆ get_out_hits() [2/2]

double CalibData::DedxCalibData::get_out_hits ( int  i) const
inline

Definition at line 90 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

90{return m_out_hits[i];}

◆ get_t0() [1/2]

double CalibData::DedxCalibData::get_t0 ( int  i) const
inline

Definition at line 92 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

92{return m_t0[i];}

Referenced by update().

◆ get_t0() [2/2]

double CalibData::DedxCalibData::get_t0 ( int  i) const
inline

Definition at line 92 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

92{return m_t0[i];}

◆ getddg() [1/2]

double CalibData::DedxCalibData::getddg ( int  i,
int  j 
) const
inline

Definition at line 56 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

56{return m_ddg[i][j];}

Referenced by RootDedxCalibDataCnv::createRoot(), and update().

◆ getddg() [2/2]

double CalibData::DedxCalibData::getddg ( int  i,
int  j 
) const
inline

Definition at line 56 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

56{return m_ddg[i][j];}

◆ getenta() [1/2]

double CalibData::DedxCalibData::getenta ( int  i,
int  j 
) const
inline

Definition at line 70 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

70{return m_enta[i][j];}

Referenced by RootDedxCalibDataCnv::createRoot(), and update().

◆ getenta() [2/2]

double CalibData::DedxCalibData::getenta ( int  i,
int  j 
) const
inline

Definition at line 70 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

70{return m_enta[i][j];}

◆ getgain() [1/2]

double CalibData::DedxCalibData::getgain ( ) const
inline

◆ getgain() [2/2]

double CalibData::DedxCalibData::getgain ( ) const
inline

Definition at line 62 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

62{return m_gain;}

◆ getggs() [1/2]

double CalibData::DedxCalibData::getggs ( int  i,
int  j 
) const
inline

Definition at line 58 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

58{return m_ggs[i][j];}

Referenced by RootDedxCalibDataCnv::createRoot(), and update().

◆ getggs() [2/2]

double CalibData::DedxCalibData::getggs ( int  i,
int  j 
) const
inline

Definition at line 58 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

58{return m_ggs[i][j];}

◆ getlayerg() [1/2]

double CalibData::DedxCalibData::getlayerg ( int  i) const
inline

Definition at line 68 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

68{return m_layerg[i];}

Referenced by RootDedxCalibDataCnv::createRoot(), and update().

◆ getlayerg() [2/2]

double CalibData::DedxCalibData::getlayerg ( int  i) const
inline

Definition at line 68 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

68{return m_layerg[i];}

◆ getresol() [1/2]

double CalibData::DedxCalibData::getresol ( ) const
inline

◆ getresol() [2/2]

double CalibData::DedxCalibData::getresol ( ) const
inline

Definition at line 66 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

66{return m_resol;}

◆ getrung() [1/2]

double CalibData::DedxCalibData::getrung ( int  i,
int  j 
) const
inline

Definition at line 73 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

73 {
74 if(j>=m_runNO) return 0;
75 if(i==0) return *(m_rung1.begin()+j);
76 if(i==1) return *(m_rung2.begin()+j);
77 if(i==2) return *(m_rung3.begin()+j);
78 if(i==3) return *(m_rung4.begin()+j);
79 if(i==4) return *(m_rung5.begin()+j);
80 if(i==5) return *(m_rung6.begin()+j);
81 };

Referenced by RootDedxCalibDataCnv::createRoot(), and update().

◆ getrung() [2/2]

double CalibData::DedxCalibData::getrung ( int  i,
int  j 
) const
inline

Definition at line 73 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

73 {
74 if(j>=m_runNO) return 0;
75 if(i==0) return *(m_rung1.begin()+j);
76 if(i==1) return *(m_rung2.begin()+j);
77 if(i==2) return *(m_rung3.begin()+j);
78 if(i==3) return *(m_rung4.begin()+j);
79 if(i==4) return *(m_rung5.begin()+j);
80 if(i==5) return *(m_rung6.begin()+j);
81 };

◆ getrunNO() [1/2]

int CalibData::DedxCalibData::getrunNO ( ) const
inline

◆ getrunNO() [2/2]

int CalibData::DedxCalibData::getrunNO ( ) const
inline

Definition at line 72 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

72{return m_runNO; }

◆ getwireg() [1/2]

double CalibData::DedxCalibData::getwireg ( int  i) const
inline

◆ getwireg() [2/2]

double CalibData::DedxCalibData::getwireg ( int  i) const
inline

Definition at line 60 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

60{return m_wireg[i];}

◆ getzdep() [1/2]

double CalibData::DedxCalibData::getzdep ( int  i,
int  j 
) const
inline

Definition at line 64 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

64{return m_zdep[i][j];}

Referenced by RootDedxCalibDataCnv::createRoot(), and update().

◆ getzdep() [2/2]

double CalibData::DedxCalibData::getzdep ( int  i,
int  j 
) const
inline

Definition at line 64 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

64{return m_zdep[i][j];}

◆ set_costheta() [1/2]

void CalibData::DedxCalibData::set_costheta ( const double  aa,
int  i 
)
inline

◆ set_costheta() [2/2]

void CalibData::DedxCalibData::set_costheta ( const double  aa,
int  i 
)
inline

Definition at line 107 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

107{ m_costheta[i]=aa;}

◆ set_dedx() [1/2]

void CalibData::DedxCalibData::set_dedx ( const double  aa,
int  i 
)
inline

◆ set_dedx() [2/2]

void CalibData::DedxCalibData::set_dedx ( const double  aa,
int  i 
)
inline

Definition at line 109 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

109{m_dedx[i]=aa;}

◆ set_enangle() [1/2]

void CalibData::DedxCalibData::set_enangle ( const double  aa,
int  i 
)
inline

Definition at line 113 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

113{m_enangle[i]=aa;}

◆ set_enangle() [2/2]

void CalibData::DedxCalibData::set_enangle ( const double  aa,
int  i 
)
inline

Definition at line 113 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

113{m_enangle[i]=aa;}

◆ set_enanglesize() [1/2]

void CalibData::DedxCalibData::set_enanglesize ( int  no)
inline

Definition at line 112 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

112{m_enanglesize=no;}
const int no

◆ set_enanglesize() [2/2]

void CalibData::DedxCalibData::set_enanglesize ( int  no)
inline

Definition at line 112 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

112{m_enanglesize=no;}

◆ set_hadron() [1/2]

void CalibData::DedxCalibData::set_hadron ( const double  aa,
int  i 
)
inline

◆ set_hadron() [2/2]

void CalibData::DedxCalibData::set_hadron ( const double  aa,
int  i 
)
inline

Definition at line 110 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

110{m_hadron[i]=aa;}

◆ set_hadronNo() [1/2]

void CalibData::DedxCalibData::set_hadronNo ( int  no)
inline

◆ set_hadronNo() [2/2]

void CalibData::DedxCalibData::set_hadronNo ( int  no)
inline

Definition at line 111 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

111{m_hadronNo=no;}

◆ set_id_doca() [1/2]

void CalibData::DedxCalibData::set_id_doca ( const double  aa,
int  i 
)
inline

Definition at line 99 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

99{ m_id_doca[i]=aa;}

◆ set_id_doca() [2/2]

void CalibData::DedxCalibData::set_id_doca ( const double  aa,
int  i 
)
inline

Definition at line 99 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

99{ m_id_doca[i]=aa;}

◆ set_iner_chi() [1/2]

void CalibData::DedxCalibData::set_iner_chi ( const double  aa,
int  i 
)
inline

Definition at line 100 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

100{ m_iner_chi[i]=aa;}

◆ set_iner_chi() [2/2]

void CalibData::DedxCalibData::set_iner_chi ( const double  aa,
int  i 
)
inline

Definition at line 100 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

100{ m_iner_chi[i]=aa;}

◆ set_iner_gain() [1/2]

void CalibData::DedxCalibData::set_iner_gain ( const double  aa,
int  i 
)
inline

Definition at line 101 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

101{ m_iner_gain[i]=aa;}

◆ set_iner_gain() [2/2]

void CalibData::DedxCalibData::set_iner_gain ( const double  aa,
int  i 
)
inline

Definition at line 101 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

101{ m_iner_gain[i]=aa;}

◆ set_iner_hits() [1/2]

void CalibData::DedxCalibData::set_iner_hits ( const double  aa,
int  i 
)
inline

Definition at line 102 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

102{ m_iner_hits[i]=aa;}

◆ set_iner_hits() [2/2]

void CalibData::DedxCalibData::set_iner_hits ( const double  aa,
int  i 
)
inline

Definition at line 102 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

102{ m_iner_hits[i]=aa;}

◆ set_ip_eangle() [1/2]

void CalibData::DedxCalibData::set_ip_eangle ( const double  aa,
int  i 
)
inline

Definition at line 103 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

103{ m_ip_eangle[i]=aa;}

◆ set_ip_eangle() [2/2]

void CalibData::DedxCalibData::set_ip_eangle ( const double  aa,
int  i 
)
inline

Definition at line 103 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

103{ m_ip_eangle[i]=aa;}

◆ set_out_chi() [1/2]

void CalibData::DedxCalibData::set_out_chi ( const double  aa,
int  i 
)
inline

Definition at line 104 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

104{ m_out_chi[i]=aa;}

◆ set_out_chi() [2/2]

void CalibData::DedxCalibData::set_out_chi ( const double  aa,
int  i 
)
inline

Definition at line 104 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

104{ m_out_chi[i]=aa;}

◆ set_out_gain() [1/2]

void CalibData::DedxCalibData::set_out_gain ( const double  aa,
int  i 
)
inline

Definition at line 105 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

105{ m_out_gain[i]=aa;}

◆ set_out_gain() [2/2]

void CalibData::DedxCalibData::set_out_gain ( const double  aa,
int  i 
)
inline

Definition at line 105 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

105{ m_out_gain[i]=aa;}

◆ set_out_hits() [1/2]

void CalibData::DedxCalibData::set_out_hits ( const double  aa,
int  i 
)
inline

Definition at line 106 of file Calibration/CalibData/CalibData-00-01-22/CalibData/Dedx/DedxCalibData.h.

106{ m_out_hits[i]=aa;}

◆ set_out_hits() [2/2]

void CalibData::DedxCalibData::set_out_hits ( const double  aa,
int  i 
)
inline

Definition at line 106 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

106{ m_out_hits[i]=aa;}

◆ set_t0() [1/2]

void CalibData::DedxCalibData::set_t0 ( const double  aa,
int  i 
)
inline

◆ set_t0() [2/2]

void CalibData::DedxCalibData::set_t0 ( const double  aa,
int  i 
)
inline

Definition at line 108 of file InstallArea/include/CalibData/CalibData/Dedx/DedxCalibData.h.

108{ m_t0[i]=aa;}

◆ setddg() [1/2]

void DedxCalibData::setddg ( const double  ddg,
int  i,
int  j 
)

Definition at line 95 of file DedxCalibData.cxx.

96 {
97 m_ddg[i][j] = ddg;
98 }

Referenced by update().

◆ setddg() [2/2]

void CalibData::DedxCalibData::setddg ( const double  ddg,
int  i,
int  j 
)

◆ setenta() [1/2]

void DedxCalibData::setenta ( const double  enta,
int  i,
int  j 
)

Definition at line 130 of file DedxCalibData.cxx.

131 {
132 m_enta[i][j] = enta;
133 }

Referenced by update().

◆ setenta() [2/2]

void CalibData::DedxCalibData::setenta ( const double  enta,
int  i,
int  j 
)

◆ setgain() [1/2]

void DedxCalibData::setgain ( const double  gain)

Definition at line 110 of file DedxCalibData.cxx.

111 {
112 m_gain = gain;
113 }

Referenced by update().

◆ setgain() [2/2]

void CalibData::DedxCalibData::setgain ( const double  gain)

◆ setggs() [1/2]

void DedxCalibData::setggs ( const double  ggs,
int  i,
int  j 
)

Definition at line 100 of file DedxCalibData.cxx.

101 {
102 m_ggs[i][j] = ggs;
103 }

Referenced by update().

◆ setggs() [2/2]

void CalibData::DedxCalibData::setggs ( const double  ggs,
int  i,
int  j 
)

◆ setlayerg() [1/2]

void DedxCalibData::setlayerg ( const double  layerg,
int  i 
)

Definition at line 125 of file DedxCalibData.cxx.

126 {
127 m_layerg[i] = layerg;
128 }

Referenced by update().

◆ setlayerg() [2/2]

void CalibData::DedxCalibData::setlayerg ( const double  layerg,
int  i 
)

◆ setresol() [1/2]

void DedxCalibData::setresol ( const double  resol)

Definition at line 120 of file DedxCalibData.cxx.

121 {
122 m_resol = resol;
123 }

Referenced by update().

◆ setresol() [2/2]

void CalibData::DedxCalibData::setresol ( const double  resol)

◆ setrung() [1/2]

void DedxCalibData::setrung ( const double  rung,
int  i 
)

Definition at line 135 of file DedxCalibData.cxx.

136 {
137 double aaa=rung;
138 if(i==0) m_rung1.push_back(aaa);
139 if(i==1) m_rung2.push_back(aaa);
140 if(i==2) m_rung3.push_back(aaa);
141 if(i==3) m_rung4.push_back(aaa);
142 if(i==4) m_rung5.push_back(aaa);
143 if(i==5) m_rung6.push_back(aaa);
144 }

Referenced by update().

◆ setrung() [2/2]

void CalibData::DedxCalibData::setrung ( const double  rung,
int  i 
)

◆ setrunNO() [1/2]

void DedxCalibData::setrunNO ( const int  run_NO)

Definition at line 146 of file DedxCalibData.cxx.

147 {
148 m_runNO = runNO;
149 }

Referenced by update().

◆ setrunNO() [2/2]

void CalibData::DedxCalibData::setrunNO ( const int  run_NO)

◆ setwireg() [1/2]

void DedxCalibData::setwireg ( const double  wireg,
int  i 
)

Definition at line 105 of file DedxCalibData.cxx.

106 {
107 m_wireg[i] = wireg;
108 }

Referenced by update().

◆ setwireg() [2/2]

void CalibData::DedxCalibData::setwireg ( const double  wireg,
int  i 
)

◆ setzdep() [1/2]

void DedxCalibData::setzdep ( const double  zdep,
int  i,
int  j 
)

Definition at line 115 of file DedxCalibData.cxx.

116 {
117 m_zdep[i][j] = zdep;
118 }

Referenced by update().

◆ setzdep() [2/2]

void CalibData::DedxCalibData::setzdep ( const double  zdep,
int  i,
int  j 
)

◆ update() [1/2]

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

Reimplemented from CalibData::CalibBase1.

Definition at line 13 of file DedxCalibData.cxx.

14 {
15 DedxCalibData& other1 = dynamic_cast<DedxCalibData& >(other);
16 std::cout<<"========================================"<<"\n"<<"here is the update in the DedxCalibData"<<"\n"<<"=================================================="<<std::endl;
17 CalibBase1::update(other, log);
18 int i;
19 int j;
20 for(i=0;i<4;i++) {
21 for(j=0;j<43;j++) {
22 /* setddg(other1.m_ddg[i][j],i,j);
23 setggs(other1.m_ggs[i][j],i,j);
24 setzdep(other1.m_zdep[i][j],i,j);
25 setenta(other1.m_enta[i][j],i,j);
26*/
27 // getddg(int i,int j)
28 // std::cout<<"other1.getddg("<<i<<","<<j<<")="<<other1.getddg(i,j)<<std::endl;
29 setddg(other1.getddg(i,j),i,j);
30 setggs(other1.getggs(i,j),i,j);
31 setzdep(other1.getzdep(i,j),i,j);
32 setenta(other1.getenta(i,j),i,j);
33 }
34 }
35
36 setrunNO(other1.getrunNO());
37 int entries = other1.getrunNO();
38 for(i=0;i<6;i++) {
39 for(j=0;j<entries;j++) {
40 setrung(other1.getrung(i,j),i);
41 }
42 }
43
44
45 for(i=0;i<6796;i++){
46 // setwireg(other1.m_wireg[i],i);
47 setwireg(other1.getwireg(i),i);
48 }
49
50 for(i=0;i<43;i++){
51 // setlayerg(other1.m_layerg[i],i);
52 setlayerg(other1.getlayerg(i),i);
53 }
54
55 // setgain(other1.m_gain);
56 // setresol(other1.m_resol);
57 setgain(other1.getgain());
58 setresol(other1.getresol());
59
60 for(int i=0;i<1600;i++){
61 m_id_doca[i]=other1.get_id_doca(i);
62 m_iner_chi[i]=other1.get_iner_chi(i);
63 m_iner_gain[i]=other1.get_iner_gain(i);
64 m_iner_hits[i]=other1.get_iner_hits(i);
65 m_ip_eangle[i]=other1.get_ip_eangle(i);
66 m_out_chi[i]=other1.get_out_chi(i);
67 m_out_gain[i]=other1.get_out_gain(i);
68 m_out_hits[i]=other1.get_out_hits(i);
69 }
70
71 for(int i=0;i<80;i++){
72 m_costheta[i]=other1.get_costheta(i);
73 }
74 for(int i=0;i<35;i++){
75 m_t0[i] = other1.get_t0(i);
76 m_dedx[i]=other1.get_dedx(i);
77 }
78
79 for(int i=0;i<20;i++){
80 m_hadron[i] = other1.get_hadron(i);
81 }
82
83 m_enanglesize=other1.get_enanglesize();
84 for(int i=0;i<m_enanglesize;i++){
85 m_enangle[i]=other1.get_enangle(i);
86 }
87
88 std::cout<<"updata dedx calib constnts complete================="<<std::endl;
89 return StatusCode::SUCCESS;
90}
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
Definition: CalibBase1.cxx:33
void setlayerg(const double layerg, int i)
void setggs(const double ggs, int i, int j)
void setenta(const double enta, int i, int j)
void setresol(const double resol)
void setddg(const double ddg, int i, int j)
void setwireg(const double wireg, int i)
void setgain(const double gain)
void setzdep(const double zdep, int i, int j)
void setrunNO(const int run_NO)
void setrung(const double rung, int i)
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

◆ update() [2/2]

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

Reimplemented from CalibData::CalibBase1.


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