CMS 3D CMS Logo

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 
44 #endif
RunTag m_runTag
Definition: MonRunList.h:39
RunTag getRunTag() const
Definition: MonRunList.cc:37
Definition: RunTag.h:13
#define noexcept
void fetchLastNRuns(int max_run, int n_runs) noexcept(false)
Definition: MonRunList.cc:259
void setRunTag(const RunTag &tag)
Definition: MonRunList.cc:23
~MonRunList() override
Definition: MonRunList.cc:19
MonRunTag getMonRunTag() const
Definition: MonRunList.cc:41
std::vector< MonRunIOV > m_vec_monruniov
Definition: MonRunList.h:38
std::vector< MonRunIOV > getRuns()
Definition: MonRunList.cc:46
void fetchRuns() noexcept(false)
Definition: MonRunList.cc:52
MonRunTag m_monrunTag
Definition: MonRunList.h:40
void setMonRunTag(const MonRunTag &tag)
Definition: MonRunList.cc:29
int run_t
Definition: MonRunList.h:14