BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibData::EsTimeCalibData Class Reference

#include <EsTimeCalibData.h>

+ Inheritance diagram for CalibData::EsTimeCalibData:

Public Member Functions

 EsTimeCalibData ()
 
virtual ~EsTimeCalibData ()
 
virtual const CLID & clID () const
 
virtual StatusCode update (CalibBase1 &other, MsgStream *log)
 
void setTestCalibConst (const vector< double > *TestCalibConst)
 
void setToffsetb (const double toffsetb)
 
void setToffsete (const double toffsete)
 
void setBunchTime (const int bunchtime)
 
double getTestCalibConst (int No) const
 
int getTestCalibConstNo ()
 
double getToffsetb () const
 
double getToffsete () const
 
double getBunchTime () const
 
 EsTimeCalibData ()
 
virtual ~EsTimeCalibData ()
 
virtual const CLID & clID () const
 
virtual StatusCode update (CalibBase1 &other, MsgStream *log)
 
void setTestCalibConst (const vector< double > *TestCalibConst)
 
void setToffsetb (const double toffsetb)
 
void setToffsete (const double toffsete)
 
void setBunchTime (const int bunchtime)
 
double getTestCalibConst (int No) const
 
int getTestCalibConstNo ()
 
double getToffsetb () const
 
double getToffsete () const
 
double getBunchTime () const
 
- 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

◆ EsTimeCalibData() [1/2]

EsTimeCalibData::EsTimeCalibData ( )

Definition at line 8 of file EsTimeCalibData.cxx.

8:m_TestCalibConst(0){}

◆ ~EsTimeCalibData() [1/2]

virtual CalibData::EsTimeCalibData::~EsTimeCalibData ( )
inlinevirtual

Definition at line 22 of file Calibration/CalibData/CalibData-00-01-17/CalibData/EsTime/EsTimeCalibData.h.

22 {
23 if(m_TestCalibConst) delete m_TestCalibConst;
24 }

◆ EsTimeCalibData() [2/2]

CalibData::EsTimeCalibData::EsTimeCalibData ( )

◆ ~EsTimeCalibData() [2/2]

virtual CalibData::EsTimeCalibData::~EsTimeCalibData ( )
inlinevirtual

Definition at line 22 of file InstallArea/include/CalibData/CalibData/EsTime/EsTimeCalibData.h.

22 {
23 if(m_TestCalibConst) delete m_TestCalibConst;
24 }

Member Function Documentation

◆ classID() [1/2]

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

◆ classID() [2/2]

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

◆ clID() [1/2]

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

◆ clID() [2/2]

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

◆ getBunchTime() [1/2]

double CalibData::EsTimeCalibData::getBunchTime ( ) const
inline

Definition at line 48 of file Calibration/CalibData/CalibData-00-01-17/CalibData/EsTime/EsTimeCalibData.h.

48{ return m_bunchtime;}

◆ getBunchTime() [2/2]

double CalibData::EsTimeCalibData::getBunchTime ( ) const
inline

Definition at line 48 of file InstallArea/include/CalibData/CalibData/EsTime/EsTimeCalibData.h.

48{ return m_bunchtime;}

◆ getTestCalibConst() [1/2]

double CalibData::EsTimeCalibData::getTestCalibConst ( int  No) const
inline

Definition at line 40 of file Calibration/CalibData/CalibData-00-01-17/CalibData/EsTime/EsTimeCalibData.h.

40{ return *((m_TestCalibConst->begin())+No);}

◆ getTestCalibConst() [2/2]

double CalibData::EsTimeCalibData::getTestCalibConst ( int  No) const
inline

Definition at line 40 of file InstallArea/include/CalibData/CalibData/EsTime/EsTimeCalibData.h.

40{ return *((m_TestCalibConst->begin())+No);}

◆ getTestCalibConstNo() [1/2]

int CalibData::EsTimeCalibData::getTestCalibConstNo ( )
inline

Definition at line 42 of file Calibration/CalibData/CalibData-00-01-17/CalibData/EsTime/EsTimeCalibData.h.

42{ return m_TestCalibConst -> size();}

◆ getTestCalibConstNo() [2/2]

int CalibData::EsTimeCalibData::getTestCalibConstNo ( )
inline

Definition at line 42 of file InstallArea/include/CalibData/CalibData/EsTime/EsTimeCalibData.h.

42{ return m_TestCalibConst -> size();}

◆ getToffsetb() [1/2]

double CalibData::EsTimeCalibData::getToffsetb ( ) const
inline

Definition at line 44 of file Calibration/CalibData/CalibData-00-01-17/CalibData/EsTime/EsTimeCalibData.h.

44{ return m_toffsetb;}

◆ getToffsetb() [2/2]

double CalibData::EsTimeCalibData::getToffsetb ( ) const
inline

Definition at line 44 of file InstallArea/include/CalibData/CalibData/EsTime/EsTimeCalibData.h.

44{ return m_toffsetb;}

◆ getToffsete() [1/2]

double CalibData::EsTimeCalibData::getToffsete ( ) const
inline

Definition at line 46 of file Calibration/CalibData/CalibData-00-01-17/CalibData/EsTime/EsTimeCalibData.h.

46{ return m_toffsete;}

◆ getToffsete() [2/2]

double CalibData::EsTimeCalibData::getToffsete ( ) const
inline

Definition at line 46 of file InstallArea/include/CalibData/CalibData/EsTime/EsTimeCalibData.h.

46{ return m_toffsete;}

◆ setBunchTime() [1/2]

void EsTimeCalibData::setBunchTime ( const int  bunchtime)

Definition at line 42 of file EsTimeCalibData.cxx.

42 {
43 m_bunchtime=bunchtime;
44 }

Referenced by RootEsTimeCalibDataCnv::i_createObj(), and TreeEsTimeCalibDataCnv::i_createObj().

◆ setBunchTime() [2/2]

void CalibData::EsTimeCalibData::setBunchTime ( const int  bunchtime)

◆ setTestCalibConst() [1/2]

void EsTimeCalibData::setTestCalibConst ( const vector< double > *  TestCalibConst)

Definition at line 26 of file EsTimeCalibData.cxx.

27 { if(m_TestCalibConst) delete m_TestCalibConst;
28 m_TestCalibConst = new vector<double>(*TestCalibConst);
29 }

◆ setTestCalibConst() [2/2]

void CalibData::EsTimeCalibData::setTestCalibConst ( const vector< double > *  TestCalibConst)

◆ setToffsetb() [1/2]

void EsTimeCalibData::setToffsetb ( const double  toffsetb)

Definition at line 32 of file EsTimeCalibData.cxx.

32 {
33 m_toffsetb=toffset;
34 }

Referenced by RootEsTimeCalibDataCnv::i_createObj(), and TreeEsTimeCalibDataCnv::i_createObj().

◆ setToffsetb() [2/2]

void CalibData::EsTimeCalibData::setToffsetb ( const double  toffsetb)

◆ setToffsete() [1/2]

void EsTimeCalibData::setToffsete ( const double  toffsete)

Definition at line 36 of file EsTimeCalibData.cxx.

36 {
37 m_toffsete=toffset;
38 }

Referenced by RootEsTimeCalibDataCnv::i_createObj(), and TreeEsTimeCalibDataCnv::i_createObj().

◆ setToffsete() [2/2]

void CalibData::EsTimeCalibData::setToffsete ( const double  toffsete)

◆ update() [1/2]

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

Reimplemented from CalibData::CalibBase1.

Definition at line 9 of file EsTimeCalibData.cxx.

10 {
11 EsTimeCalibData& other1 = dynamic_cast<EsTimeCalibData& >(other);
12 std::cout<<"========================================"<<"\n"
13 <<"here is the update in the EsTimeCalibData"<<"\n"
14 <<"=================================================="<<std::endl;
15 CalibBase1::update(other, log);
16 //set the Calibration Data
17 if(m_TestCalibConst) delete m_TestCalibConst;
18 m_TestCalibConst = new vector<double>(*other1.m_TestCalibConst);
19 m_toffsetb = other1.m_toffsetb;
20 m_toffsete = other1.m_toffsete;
21 m_bunchtime = other1.m_bunchtime;
22 return StatusCode::SUCCESS;
23 }
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
Definition: CalibBase1.cxx:33
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

◆ update() [2/2]

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

Reimplemented from CalibData::CalibBase1.


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