CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MonRunList.h
Go to the documentation of this file.
1 #ifndef MONRUNLIST_H
2 #define MONRUNLIST_H
3 
4 #include <stdexcept>
5 #include <iostream>
6 
13 
14 typedef int run_t;
15 
16 class MonRunList : public IDBObject {
17 public:
18  friend class EcalCondDBInterface;
19 
20  MonRunList();
21  ~MonRunList() override;
22 
23  // Methods for user data
24 
25  void setRunTag(const RunTag& tag);
26  RunTag getRunTag() const;
27  void setMonRunTag(const MonRunTag& tag);
28  MonRunTag getMonRunTag() const;
29  std::vector<MonRunIOV> getRuns();
30 
31  // Methods from IUniqueDBObject
32  void fetchRuns() noexcept(false);
33  void fetchRuns(int min_run, int max_run) noexcept(false);
34  void fetchLastNRuns(int max_run, int n_runs) noexcept(false);
35 
36 private:
37  // User data for this IOV
41 };
42 
43 #endif
RunTag m_runTag
Definition: MonRunList.h:39
int run_t
Definition: CaliIOV.h:11
RunTag getRunTag() const
Definition: MonRunList.cc:29
Definition: RunTag.h:13
void fetchLastNRuns(int max_run, int n_runs) noexcept(false)
Definition: MonRunList.cc:235
void setRunTag(const RunTag &tag)
Definition: MonRunList.cc:18
~MonRunList() override
Definition: MonRunList.cc:16
MonRunTag getMonRunTag() const
Definition: MonRunList.cc:30
std::vector< MonRunIOV > m_vec_monruniov
Definition: MonRunList.h:38
std::vector< MonRunIOV > getRuns()
Definition: MonRunList.cc:32
void fetchRuns() noexcept(false)
Definition: MonRunList.cc:34
MonRunTag m_monrunTag
Definition: MonRunList.h:40
void setMonRunTag(const MonRunTag &tag)
Definition: MonRunList.cc:23