CMS 3D CMS Logo

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() override;
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() noexcept(false);
31  void fetchNonEmptyRuns() noexcept(false);
32  void fetchNonEmptyGlobalRuns() noexcept(false);
33  void fetchNonEmptyRuns(int min_run, int max_run) noexcept(false);
34  void fetchNonEmptyGlobalRuns(int min_run, int max_run) noexcept(false);
35  void fetchRuns(int min_run, int max_run) noexcept(false);
36  void fetchRuns(int min_run, int max_run, bool withTriggers, bool withGlobalTriggers) noexcept(false);
37  void fetchLastNRuns( int max_run, int n_runs ) noexcept(false);
38  void fetchRunsByLocation (int min_run, int max_run, const LocationDef& locDef ) noexcept(false);
39  void fetchGlobalRunsByLocation(int min_run, int max_run, const LocationDef& locDef ) noexcept(false);
40 
41 
42  private:
43  // User data for this IOV
46 
47 };
48 
49 #endif
std::vector< RunIOV > getRuns()
Definition: RunList.cc:35
void fetchRuns() noexcept(false)
Definition: RunList.cc:64
void setRunTag(const RunTag &tag)
Definition: RunList.cc:22
Definition: RunTag.h:13
void fetchRunsByLocation(int min_run, int max_run, const LocationDef &locDef) noexcept(false)
Definition: RunList.cc:265
RunTag getRunTag() const
Definition: RunList.cc:30
#define noexcept
void fetchNonEmptyRuns() noexcept(false)
Definition: RunList.cc:40
int run_t
Definition: RunList.h:14
RunTag m_runTag
Definition: RunList.h:45
~RunList() override
Definition: RunList.cc:18
void fetchLastNRuns(int max_run, int n_runs) noexcept(false)
Definition: RunList.cc:191
Definition: RunIOV.h:13
RunList()
Definition: RunList.cc:13
void fetchNonEmptyGlobalRuns() noexcept(false)
Definition: RunList.cc:46
void fetchGlobalRunsByLocation(int min_run, int max_run, const LocationDef &locDef) noexcept(false)
Definition: RunList.cc:354
std::vector< RunIOV > m_vec_runiov
Definition: RunList.h:44