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 private:
42  // User data for this IOV
45 };
46 
47 #endif
std::vector< RunIOV > getRuns()
Definition: RunList.cc:25
void fetchRuns() noexcept(false)
Definition: RunList.cc:37
void setRunTag(const RunTag &tag)
Definition: RunList.cc:17
Definition: RunTag.h:13
void fetchRunsByLocation(int min_run, int max_run, const LocationDef &locDef) noexcept(false)
Definition: RunList.cc:220
RunTag getRunTag() const
Definition: RunList.cc:23
void fetchNonEmptyRuns() noexcept(false)
Definition: RunList.cc:27
int run_t
Definition: RunList.h:14
RunTag m_runTag
Definition: RunList.h:44
~RunList() override
Definition: RunList.cc:15
#define noexcept
void fetchLastNRuns(int max_run, int n_runs) noexcept(false)
Definition: RunList.cc:154
Definition: RunIOV.h:13
RunList()
Definition: RunList.cc:13
void fetchNonEmptyGlobalRuns() noexcept(false)
Definition: RunList.cc:29
void fetchGlobalRunsByLocation(int min_run, int max_run, const LocationDef &locDef) noexcept(false)
Definition: RunList.cc:305
std::vector< RunIOV > m_vec_runiov
Definition: RunList.h:43