Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RunToTime.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file RunToTime.h
1 #ifndef PDBCAL_BASE_RUNTOTIME_H
2 #define PDBCAL_BASE_RUNTOTIME_H
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 /* PDBCAL_BASE_RUNTOTIME_H */