BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibData::CorrectedETSCal Class Reference

#include <CorrectedETSCal.h>

+ Inheritance diagram for CalibData::CorrectedETSCal:

Public Member Functions

 CorrectedETSCal ()
 
virtual ~CorrectedETSCal ()
 
virtual const CLID & clID () const
 
virtual StatusCode update (CalibBase1 &other, MsgStream *log)
 
unsigned long getEts1 (unsigned int No)
 
unsigned long getEts2_pre (unsigned int No)
 
unsigned long getFlag_pre (unsigned int No)
 
int getTrigChannel_9 (unsigned int No)
 
int getEvt (unsigned int No)
 
int getNpar ()
 
void setNpar (const int npar)
 
void setEts1 (unsigned long ets1)
 
void setFlag_pre (unsigned long flag_pre)
 
void setEts2_pre (unsigned long ets2_pre)
 
void setTrigChannel_9 (int trigChannel_9)
 
void setEvt (int evt)
 
- 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 CorrectedETSCal.h.

Constructor & Destructor Documentation

◆ CorrectedETSCal()

CalibData::CorrectedETSCal::CorrectedETSCal ( )
inline

Definition at line 15 of file CorrectedETSCal.h.

15{};

◆ ~CorrectedETSCal()

virtual CalibData::CorrectedETSCal::~CorrectedETSCal ( )
inlinevirtual

Definition at line 16 of file CorrectedETSCal.h.

16{}

Member Function Documentation

◆ classID()

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

Definition at line 19 of file CorrectedETSCal.h.

const CLID CLID_Calib_CorrectedETS
Definition: CalibModel.h:71

Referenced by clID().

◆ clID()

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

Definition at line 17 of file CorrectedETSCal.h.

17{ return classID(); }
static const CLID & classID()

◆ getEts1()

unsigned long CalibData::CorrectedETSCal::getEts1 ( unsigned int  No)

Definition at line 38 of file CorrectedETSCal.cxx.

38 {
39 unsigned long ets1 = 0;
40 if( m_ets1.size() != 0 ) {
41 vector<unsigned long>::iterator it = m_ets1.begin() + No;
42 ets1 = (*it);
43 }
44 return ets1;
45 }

◆ getEts2_pre()

unsigned long CalibData::CorrectedETSCal::getEts2_pre ( unsigned int  No)

Definition at line 47 of file CorrectedETSCal.cxx.

47 {
48 unsigned long ets2_pre = 0;
49 if( m_ets2_pre.size() != 0 ) {
50 vector<unsigned long>::iterator it = m_ets2_pre.begin() + No;
51 ets2_pre = (*it);
52 }
53 return ets2_pre;
54 }

◆ getEvt()

int CalibData::CorrectedETSCal::getEvt ( unsigned int  No)

Definition at line 71 of file CorrectedETSCal.cxx.

71 {
72 int evt = 0;
73 if( m_evt.size() != 0 ) {
74 vector<int>::iterator it = m_evt.begin() + No;
75 evt = (*it);
76 }
77 return evt;
78 }

◆ getFlag_pre()

unsigned long CalibData::CorrectedETSCal::getFlag_pre ( unsigned int  No)

Definition at line 55 of file CorrectedETSCal.cxx.

55 {
56 unsigned long flag_pre=0;
57 if( m_flag_pre.size() != 0 ) {
58 vector<unsigned long>::iterator it = m_flag_pre.begin() + No;
59 flag_pre=(*it);
60 }
61 return flag_pre;
62 }

◆ getNpar()

int CalibData::CorrectedETSCal::getNpar ( )
inline

Definition at line 28 of file CorrectedETSCal.h.

28{return m_npar;}

◆ getTrigChannel_9()

int CalibData::CorrectedETSCal::getTrigChannel_9 ( unsigned int  No)

Definition at line 63 of file CorrectedETSCal.cxx.

63 {
64 int trigChannel_9 = 0;
65 if( m_trigChannel_9.size() != 0 ) {
66 vector<int>::iterator it = m_trigChannel_9.begin() + No;
67 trigChannel_9 = (*it);
68 }
69 return trigChannel_9;
70 }

◆ setEts1()

void CalibData::CorrectedETSCal::setEts1 ( unsigned long  ets1)

Definition at line 19 of file CorrectedETSCal.cxx.

19 {
20 m_ets1.push_back( ets1 );
21 return;
22 }

Referenced by RootCorrectedETSCnv::i_createObj(), and TreeCorrectedETSCnv::i_createObj().

◆ setEts2_pre()

void CalibData::CorrectedETSCal::setEts2_pre ( unsigned long  ets2_pre)

Definition at line 23 of file CorrectedETSCal.cxx.

23 {
24 m_ets2_pre.push_back( ets2_pre );
25 return;
26 }

Referenced by RootCorrectedETSCnv::i_createObj(), and TreeCorrectedETSCnv::i_createObj().

◆ setEvt()

void CalibData::CorrectedETSCal::setEvt ( int  evt)

Definition at line 34 of file CorrectedETSCal.cxx.

34 {
35 m_evt.push_back( evt );
36 return;
37 }

Referenced by RootCorrectedETSCnv::i_createObj(), and TreeCorrectedETSCnv::i_createObj().

◆ setFlag_pre()

void CalibData::CorrectedETSCal::setFlag_pre ( unsigned long  flag_pre)

Definition at line 27 of file CorrectedETSCal.cxx.

27 {
28 m_flag_pre.push_back( flag_pre);
29 }

Referenced by RootCorrectedETSCnv::i_createObj(), and TreeCorrectedETSCnv::i_createObj().

◆ setNpar()

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

Definition at line 30 of file CorrectedETSCal.h.

30{m_npar = npar;}

Referenced by RootCorrectedETSCnv::i_createObj(), and TreeCorrectedETSCnv::i_createObj().

◆ setTrigChannel_9()

void CalibData::CorrectedETSCal::setTrigChannel_9 ( int  trigChannel_9)

Definition at line 30 of file CorrectedETSCal.cxx.

30 {
31 m_trigChannel_9.push_back( trigChannel_9 );
32 return;
33 }

Referenced by RootCorrectedETSCnv::i_createObj(), and TreeCorrectedETSCnv::i_createObj().

◆ update()

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

Reimplemented from CalibData::CalibBase1.

Definition at line 10 of file CorrectedETSCal.cxx.

11 {
12 CorrectedETSCal& other1 = dynamic_cast<CorrectedETSCal& >(other);
13 cout<<"\n"<<"here is the update in the CorrectedETS 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: