CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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();
22 
23  // Methods for user data
24 
25  void setRunTag(RunTag tag);
26  RunTag getRunTag() const;
28  MonRunTag getMonRunTag() const;
29  std::vector<MonRunIOV> getRuns() ;
30 
31  // Methods from IUniqueDBObject
32  void fetchRuns() throw(std::runtime_error);
33  void fetchRuns(int min_run, int max_run) throw(std::runtime_error);
34  void fetchLastNRuns( int max_run, int n_runs )throw(std::runtime_error);
35 
36  private:
37  // User data for this IOV
38  std::vector<MonRunIOV> m_vec_monruniov;
41 
42 };
43 
44 #endif
RunTag m_runTag
Definition: MonRunList.h:39
int run_t
Definition: CaliIOV.h:11
RunTag getRunTag() const
Definition: MonRunList.cc:37
void fetchRuns()
Definition: MonRunList.cc:52
Definition: RunTag.h:13
void setRunTag(RunTag tag)
Definition: MonRunList.cc:23
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 fetchLastNRuns(int max_run, int n_runs)
Definition: MonRunList.cc:259
MonRunTag m_monrunTag
Definition: MonRunList.h:40
#define private
Definition: FWFileEntry.h:18
void setMonRunTag(MonRunTag tag)
Definition: MonRunList.cc:29