Class Reference for E1039 Core & Analysis Software
RunToTime.h
Go to the documentation of this file.
1 #ifndef RUNTOTIME_HH__
2 #define RUNTOTIME_HH__
3 
4 class PHTimeStamp;
5 
6 class RunToTime
7 {
8 
9 protected:
10 
11  RunToTime();
12  virtual ~RunToTime();
13 
15 public:
16 
17  virtual PHTimeStamp *getBeginTime(const int runNumber) = 0;
18  virtual PHTimeStamp *getEndTime(const int runNumber) = 0;
19  virtual int getRunNumber(const PHTimeStamp& ts) = 0;
20  virtual int DisconnectDB() = 0;
21  static RunToTime *instance();
22 };
23 
24 
25 #endif /* RUNTOTIME_HH__ */
virtual PHTimeStamp * getEndTime(const int runNumber)=0
virtual ~RunToTime()
Definition: RunToTime.cc:12
virtual PHTimeStamp * getBeginTime(const int runNumber)=0
virtual int getRunNumber(const PHTimeStamp &ts)=0
virtual int DisconnectDB()=0
static RunToTime * instance()
Definition: RunToTime.cc:16
RunToTime()
Definition: RunToTime.cc:7
static RunToTime * __instance
Definition: RunToTime.h:14