CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RunList.h
Go to the documentation of this file.
1 #ifndef RUNLIST_H
2 #define RUNLIST_H
3 
4 #include <stdexcept>
5 #include <iostream>
6 
13 
14 typedef int run_t;
15 
16 class RunList : public IDBObject {
17  public:
18  friend class EcalCondDBInterface;
19 
20  RunList();
21  ~RunList();
22 
23  // Methods for user data
24 
25  void setRunTag(const RunTag& tag);
26  RunTag getRunTag() const;
27  std::vector<RunIOV> getRuns() ;
28 
29  // Methods from IUniqueDBObject
30  void fetchRuns() throw(std::runtime_error);
31  void fetchNonEmptyRuns() throw(std::runtime_error);
32  void fetchNonEmptyGlobalRuns() throw(std::runtime_error);
33  void fetchNonEmptyRuns(int min_run, int max_run) throw(std::runtime_error);
34  void fetchNonEmptyGlobalRuns(int min_run, int max_run) throw(std::runtime_error);
35  void fetchRuns(int min_run, int max_run) throw(std::runtime_error);
36  void fetchRuns(int min_run, int max_run, bool withTriggers, bool withGlobalTriggers) throw(std::runtime_error);
37  void fetchLastNRuns( int max_run, int n_runs ) throw(std::runtime_error);
38  void fetchRunsByLocation (int min_run, int max_run, const LocationDef& locDef ) throw(std::runtime_error);
39  void fetchGlobalRunsByLocation(int min_run, int max_run, const LocationDef& locDef ) throw(std::runtime_error);
40 
41 
42  private:
43  // User data for this IOV
44  std::vector<RunIOV> m_vec_runiov;
46 
47 };
48 
49 #endif
std::vector< RunIOV > getRuns()
Definition: RunList.cc:35
int run_t
Definition: CaliIOV.h:11
void setRunTag(const RunTag &tag)
Definition: RunList.cc:22
Definition: RunTag.h:13
void fetchLastNRuns(int max_run, int n_runs)
Definition: RunList.cc:191
RunTag getRunTag() const
Definition: RunList.cc:30
void fetchRuns()
Definition: RunList.cc:64
~RunList()
Definition: RunList.cc:18
#define private
Definition: FWEveView.cc:22
void fetchNonEmptyRuns()
Definition: RunList.cc:40
RunTag m_runTag
Definition: RunList.h:45
void fetchRunsByLocation(int min_run, int max_run, const LocationDef &locDef)
Definition: RunList.cc:265
void fetchGlobalRunsByLocation(int min_run, int max_run, const LocationDef &locDef)
Definition: RunList.cc:354
string const
Definition: compareJSON.py:14
Definition: RunIOV.h:13
RunList()
Definition: RunList.cc:13
void fetchNonEmptyGlobalRuns()
Definition: RunList.cc:46
std::vector< RunIOV > m_vec_runiov
Definition: RunList.h:44