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
EcalCondDBInterface
Definition: EcalCondDBInterface.h:37
RunIOV
Definition: RunIOV.h:13
funct::false
false
Definition: Factorize.h:29
RunList
Definition: RunList.h:16
RunList::~RunList
~RunList() override
Definition: RunList.cc:15
RunIOV.h
RunTag
Definition: RunTag.h:13
RunList::RunList
RunList()
Definition: RunList.cc:13
LocationDef
Definition: LocationDef.h:12
IDBObject
Definition: IDBObject.h:13
RunTypeDef.h
watchdog.const
const
Definition: watchdog.py:83
RunList::fetchNonEmptyRuns
void fetchNonEmptyRuns() noexcept(false)
Definition: RunList.cc:27
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
RunList::m_runTag
RunTag m_runTag
Definition: RunList.h:44
run_t
int run_t
Definition: RunList.h:14
RunList::fetchNonEmptyGlobalRuns
void fetchNonEmptyGlobalRuns() noexcept(false)
Definition: RunList.cc:29
IIOV.h
RunList::fetchLastNRuns
void fetchLastNRuns(int max_run, int n_runs) noexcept(false)
Definition: RunList.cc:154
RunList::fetchGlobalRunsByLocation
void fetchGlobalRunsByLocation(int min_run, int max_run, const LocationDef &locDef) noexcept(false)
Definition: RunList.cc:305
Tm.h
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
RunList::getRunTag
RunTag getRunTag() const
Definition: RunList.cc:23
RunList::fetchRuns
void fetchRuns() noexcept(false)
Definition: RunList.cc:37
std
Definition: JetResolutionObject.h:76
RunList::getRuns
std::vector< RunIOV > getRuns()
Definition: RunList.cc:25
RunList::m_vec_runiov
std::vector< RunIOV > m_vec_runiov
Definition: RunList.h:43
LocationDef.h
RunList::fetchRunsByLocation
void fetchRunsByLocation(int min_run, int max_run, const LocationDef &locDef) noexcept(false)
Definition: RunList.cc:220
RunTag.h
RunList::setRunTag
void setRunTag(const RunTag &tag)
Definition: RunList.cc:17