BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
CalibData::OffEvtFilterCal Class Reference

#include <OffEvtFilterCal.h>

+ Inheritance diagram for CalibData::OffEvtFilterCal:

Public Member Functions

 OffEvtFilterCal ()
 
virtual ~OffEvtFilterCal ()
 
virtual const CLID & clID () const
 
virtual StatusCode update (CalibBase1 &other, MsgStream *log)
 
void setRunFrom (const int runFrom)
 
void setRunTo (const int runTo)
 
void setEventFrom (const int eventFrom)
 
void setEventTo (const int eventTo)
 
void setNpar (const int npar)
 
void setFlag (const int flag)
 
void setTBegin (const double tBegin)
 
void setTEnd (const double tEnd)
 
int getRunFrom ()
 
int getRunTo ()
 
int getEventFrom ()
 
int getEventTo ()
 
int getNpar ()
 
int getFlag (unsigned int No)
 
double getTBegin (unsigned int No)
 
double getTEnd (unsigned int No)
 
- 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 10 of file OffEvtFilterCal.h.

Constructor & Destructor Documentation

◆ OffEvtFilterCal()

CalibData::OffEvtFilterCal::OffEvtFilterCal ( )
inline

Definition at line 14 of file OffEvtFilterCal.h.

14{};

◆ ~OffEvtFilterCal()

virtual CalibData::OffEvtFilterCal::~OffEvtFilterCal ( )
inlinevirtual

Definition at line 15 of file OffEvtFilterCal.h.

15{}

Member Function Documentation

◆ classID()

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

Definition at line 18 of file OffEvtFilterCal.h.

const CLID CLID_Calib_OffEvtFilter
Definition: CalibModel.h:69

Referenced by clID().

◆ clID()

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

Definition at line 16 of file OffEvtFilterCal.h.

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

◆ getEventFrom()

int CalibData::OffEvtFilterCal::getEventFrom ( )
inline

Definition at line 35 of file OffEvtFilterCal.h.

35{return m_eventFrom;}

◆ getEventTo()

int CalibData::OffEvtFilterCal::getEventTo ( )
inline

Definition at line 36 of file OffEvtFilterCal.h.

36{return m_eventTo;}

◆ getFlag()

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

Definition at line 30 of file OffEvtFilterCal.cxx.

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

◆ getNpar()

int CalibData::OffEvtFilterCal::getNpar ( )
inline

Definition at line 37 of file OffEvtFilterCal.h.

37{return m_npar;}

◆ getRunFrom()

int CalibData::OffEvtFilterCal::getRunFrom ( )
inline

Definition at line 33 of file OffEvtFilterCal.h.

33{return m_runFrom;}

◆ getRunTo()

int CalibData::OffEvtFilterCal::getRunTo ( )
inline

Definition at line 34 of file OffEvtFilterCal.h.

34{return m_runTo;}

◆ getTBegin()

double CalibData::OffEvtFilterCal::getTBegin ( unsigned int  No)

Definition at line 38 of file OffEvtFilterCal.cxx.

38 {
39 double tBegin = 0.0;
40 if( m_tBegin.size() != 0 ) {
41 vector<double>::iterator it = m_tBegin.begin() + No;
42 tBegin = (*it);
43 }
44 return tBegin;
45 }

◆ getTEnd()

double CalibData::OffEvtFilterCal::getTEnd ( unsigned int  No)

Definition at line 46 of file OffEvtFilterCal.cxx.

46 {
47 double tEnd = 0.0;
48 if( m_tEnd.size() != 0 ) {
49 vector<double>::iterator it = m_tEnd.begin() + No;
50 tEnd = (*it);
51 }
52 return tEnd;
53 }

◆ setEventFrom()

void CalibData::OffEvtFilterCal::setEventFrom ( const int  eventFrom)
inline

Definition at line 25 of file OffEvtFilterCal.h.

25{m_eventFrom=eventFrom;}

Referenced by RootOffEvtFilterCnv::i_createObj(), and TreeOffEvtFilterCnv::i_createObj().

◆ setEventTo()

void CalibData::OffEvtFilterCal::setEventTo ( const int  eventTo)
inline

Definition at line 26 of file OffEvtFilterCal.h.

26{m_eventTo=eventTo;}

Referenced by RootOffEvtFilterCnv::i_createObj(), and TreeOffEvtFilterCnv::i_createObj().

◆ setFlag()

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

Definition at line 18 of file OffEvtFilterCal.cxx.

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

Referenced by RootOffEvtFilterCnv::i_createObj(), and TreeOffEvtFilterCnv::i_createObj().

◆ setNpar()

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

Definition at line 27 of file OffEvtFilterCal.h.

27{m_npar = npar;}

Referenced by RootOffEvtFilterCnv::i_createObj(), and TreeOffEvtFilterCnv::i_createObj().

◆ setRunFrom()

void CalibData::OffEvtFilterCal::setRunFrom ( const int  runFrom)
inline

Definition at line 23 of file OffEvtFilterCal.h.

23{m_runFrom=runFrom;}

Referenced by RootOffEvtFilterCnv::i_createObj(), and TreeOffEvtFilterCnv::i_createObj().

◆ setRunTo()

void CalibData::OffEvtFilterCal::setRunTo ( const int  runTo)
inline

Definition at line 24 of file OffEvtFilterCal.h.

24{m_runTo=runTo;}

Referenced by RootOffEvtFilterCnv::i_createObj(), and TreeOffEvtFilterCnv::i_createObj().

◆ setTBegin()

void CalibData::OffEvtFilterCal::setTBegin ( const double  tBegin)

Definition at line 22 of file OffEvtFilterCal.cxx.

22 {
23 m_tBegin.push_back( tBegin);
24 return;
25 }

Referenced by RootOffEvtFilterCnv::i_createObj(), and TreeOffEvtFilterCnv::i_createObj().

◆ setTEnd()

void CalibData::OffEvtFilterCal::setTEnd ( const double  tEnd)

Definition at line 26 of file OffEvtFilterCal.cxx.

26 {
27 m_tEnd.push_back(tEnd);
28 return;
29 }

Referenced by RootOffEvtFilterCnv::i_createObj(), and TreeOffEvtFilterCnv::i_createObj().

◆ update()

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

Reimplemented from CalibData::CalibBase1.

Definition at line 10 of file OffEvtFilterCal.cxx.

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

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