BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
OffEvtFilterCal.h
Go to the documentation of this file.
1#ifndef OFFEVTFILTERCAL_H
2#define OFFEVTFILTERCAL_H
3#include "GaudiKernel/DataObject.h"
6#include <vector>
7using namespace std;
8
9namespace CalibData {
11
12public:
13 // Re-implemented from DataObject
15 virtual ~OffEvtFilterCal() {}
16 inline virtual const CLID& clID() const { return classID(); }
17
18 inline static const CLID& classID() { return CLID_Calib_OffEvtFilter; }
19
20 virtual StatusCode update(CalibBase1& other, MsgStream* log);
21
22 //set the Calibdata of OffEvtFilter
23 void setRunFrom(const int runFrom){m_runFrom=runFrom;}
24 void setRunTo(const int runTo){m_runTo=runTo;}
25 void setEventFrom(const int eventFrom){m_eventFrom=eventFrom;}
26 void setEventTo(const int eventTo){m_eventTo=eventTo;}
27 void setNpar(const int npar){m_npar = npar;}
28 void setFlag(const int flag);
29 void setTBegin(const double tBegin);
30 void setTEnd(const double tEnd);
31
32 //get the CalibData of OffEvtFilter
33 int getRunFrom() {return m_runFrom;}
34 int getRunTo() {return m_runTo;}
35 int getEventFrom() {return m_eventFrom;}
36 int getEventTo() {return m_eventTo;}
37 int getNpar() {return m_npar;}
38 int getFlag(unsigned int No);
39 double getTBegin(unsigned int No);
40 double getTEnd(unsigned int No);
41 private:
42
43 int m_runFrom,m_runTo,m_eventFrom,m_eventTo;
44 int m_npar;
45 vector<int> m_flag;
46 vector<double> m_tEnd;
47 vector<double> m_tBegin;
48
49};
50}
51#endif /* OFFEVTFILTERCAL_H */
const CLID CLID_Calib_OffEvtFilter
Definition: CalibModel.h:69
void setTEnd(const double tEnd)
virtual const CLID & clID() const
double getTEnd(unsigned int No)
void setTBegin(const double tBegin)
void setRunTo(const int runTo)
void setFlag(const int flag)
void setNpar(const int npar)
void setRunFrom(const int runFrom)
int getFlag(unsigned int No)
double getTBegin(unsigned int No)
void setEventTo(const int eventTo)
void setEventFrom(const int eventFrom)
static const CLID & classID()