OnlineDB
EcalCondDB
interface
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
7
#include "
OnlineDB/EcalCondDB/interface/IIOV.h
"
8
#include "
OnlineDB/EcalCondDB/interface/MonRunTag.h
"
9
#include "
OnlineDB/EcalCondDB/interface/RunTag.h
"
10
#include "
OnlineDB/EcalCondDB/interface/Tm.h
"
11
#include "
OnlineDB/EcalCondDB/interface/RunIOV.h
"
12
#include "
OnlineDB/EcalCondDB/interface/MonRunIOV.h
"
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
38
std
::
vector
<
MonRunIOV
>
m_vec_monruniov
;
39
RunTag
m_runTag
;
40
MonRunTag
m_monrunTag
;
41
};
42
43
#endif
MonRunList::setRunTag
void setRunTag(const RunTag &tag)
Definition:
MonRunList.cc:18
run_t
int run_t
Definition:
MonRunList.h:14
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
funct::false
false
Definition:
Factorize.h:29
MonRunList
Definition:
MonRunList.h:16
RunIOV.h
RunTag
Definition:
RunTag.h:13
IDBObject
Definition:
IDBObject.h:13
MonRunList::getMonRunTag
MonRunTag getMonRunTag() const
Definition:
MonRunList.cc:30
MonRunList::MonRunList
MonRunList()
Definition:
MonRunList.cc:14
MonRunList::m_monrunTag
MonRunTag m_monrunTag
Definition:
MonRunList.h:40
MonRunIOV.h
MonRunList::fetchLastNRuns
void fetchLastNRuns(int max_run, int n_runs) noexcept(false)
Definition:
MonRunList.cc:235
IIOV.h
makeGlobalPositionRcd_cfg.tag
tag
Definition:
makeGlobalPositionRcd_cfg.py:6
MonRunList::m_vec_monruniov
std::vector< MonRunIOV > m_vec_monruniov
Definition:
MonRunList.h:38
Tm.h
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
MonRunList::fetchRuns
void fetchRuns() noexcept(false)
Definition:
MonRunList.cc:34
MonRunIOV
Definition:
MonRunIOV.h:14
MonRunTag
Definition:
MonRunTag.h:13
MonRunTag.h
std
Definition:
JetResolutionObject.h:76
MonRunList::~MonRunList
~MonRunList() override
Definition:
MonRunList.cc:16
MonRunList::m_runTag
RunTag m_runTag
Definition:
MonRunList.h:39
MonRunList::setMonRunTag
void setMonRunTag(const MonRunTag &tag)
Definition:
MonRunList.cc:23
RunTag.h
MonRunList::getRunTag
RunTag getRunTag() const
Definition:
MonRunList.cc:29
MonRunList::getRuns
std::vector< MonRunIOV > getRuns()
Definition:
MonRunList.cc:32
Generated for CMSSW Reference Manual by
1.8.16