BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibData::InjSigTimeCal Class Reference

#include <InjSigTimeCal.h>

+ Inheritance diagram for CalibData::InjSigTimeCal:

Public Member Functions

 InjSigTimeCal ()
 
virtual ~InjSigTimeCal ()
 
virtual const CLID & clID () const
 
virtual StatusCode update (CalibBase1 &other, MsgStream *log)
 
int getNpar ()
 
int getFlag (unsigned int No)
 
ULong64_t getIST (unsigned int No)
 
void setNpar (const int npar)
 
void setIST (const ULong64_t Ist)
 
void setFlag (const int flag)
 
- 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)
 

Static Public Member Functions

static const CLID & classID ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 11 of file InjSigTimeCal.h.

Constructor & Destructor Documentation

◆ InjSigTimeCal()

CalibData::InjSigTimeCal::InjSigTimeCal ( )
inline

Definition at line 15 of file InjSigTimeCal.h.

15{};

◆ ~InjSigTimeCal()

virtual CalibData::InjSigTimeCal::~InjSigTimeCal ( )
inlinevirtual

Definition at line 16 of file InjSigTimeCal.h.

16{}

Member Function Documentation

◆ classID()

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

Definition at line 19 of file InjSigTimeCal.h.

19{ return CLID_Calib_InjSigTime; }
const CLID CLID_Calib_InjSigTime
Definition: CalibModel.h:67

Referenced by clID().

◆ clID()

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

Definition at line 17 of file InjSigTimeCal.h.

17{ return classID(); }
static const CLID & classID()
Definition: InjSigTimeCal.h:19

◆ getFlag()

int CalibData::InjSigTimeCal::getFlag ( unsigned int  No)

Definition at line 27 of file InjSigTimeCal.cxx.

27 {
28 int flag = 0;
29 if( m_flag.size() != 0 ) {
30 vector<int>::iterator it = m_flag.begin() + No;
31 flag = (*it);
32 }
33 return flag;
34 }

◆ getIST()

ULong64_t CalibData::InjSigTimeCal::getIST ( unsigned int  No)

Definition at line 35 of file InjSigTimeCal.cxx.

35 {
36 ULong64_t Ist = 0;
37 if( m_IST.size() != 0 ) {
38 vector<ULong64_t>::iterator it = m_IST.begin() + No;
39 Ist = (*it);
40 }
41 return Ist;
42 }

◆ getNpar()

int CalibData::InjSigTimeCal::getNpar ( )
inline

Definition at line 23 of file InjSigTimeCal.h.

23{return m_npar;}

◆ setFlag()

void CalibData::InjSigTimeCal::setFlag ( const int  flag)

Definition at line 19 of file InjSigTimeCal.cxx.

19 {
20 m_flag.push_back( flag );
21 return;
22 }

Referenced by RootInjSigTimeCnv::i_createObj(), and TreeInjSigTimeCnv::i_createObj().

◆ setIST()

void CalibData::InjSigTimeCal::setIST ( const ULong64_t  Ist)

Definition at line 23 of file InjSigTimeCal.cxx.

23 {
24 m_IST.push_back( Ist );
25 return;
26 }

Referenced by RootInjSigTimeCnv::i_createObj(), and TreeInjSigTimeCnv::i_createObj().

◆ setNpar()

void CalibData::InjSigTimeCal::setNpar ( const int  npar)
inline

Definition at line 27 of file InjSigTimeCal.h.

27{m_npar = npar;}

Referenced by RootInjSigTimeCnv::i_createObj(), and TreeInjSigTimeCnv::i_createObj().

◆ update()

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

Reimplemented from CalibData::CalibBase1.

Definition at line 10 of file InjSigTimeCal.cxx.

11 {
12 InjSigTimeCal& other1 = dynamic_cast<InjSigTimeCal& >(other);
13 cout<<"\n"<<"here is the update in the InjSigTime in calibration"<<std::endl;
14 CalibBase1::update(other, log);
15
16 return StatusCode::SUCCESS;
17 }
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
Definition: CalibBase1.cxx:33
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

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