src
OnlineDB
EcalCondDB
interface
RunDat.h
Go to the documentation of this file.
1
#ifndef RUNDAT_H
2
#define RUNDAT_H
3
4
#include <vector>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IDataItem.h
"
8
#include "
OnlineDB/EcalCondDB/interface/RunIOV.h
"
9
#include "
OnlineDB/EcalCondDB/interface/EcalLogicID.h
"
10
11
class
RunDat
:
public
IDataItem
{
12
public
:
13
friend
class
EcalCondDBInterface
;
14
RunDat
();
15
~RunDat
()
override
;
16
17
// User data methods
18
inline
std::string
getTable
()
override
{
return
"RUN_DAT"
; }
19
20
inline
void
setNumEvents
(
int
num
) {
m_numEvents
=
num
; }
21
inline
int
getNumEvents
()
const
{
return
m_numEvents
; }
22
23
private
:
24
void
prepareWrite
() noexcept(
false
) override;
25
26
void
writeDB
(
const
EcalLogicID
* ecid,
const
RunDat
*
item
,
RunIOV
* iov) noexcept(
false
);
27
28
void
fetchData
(
std
::
map
<
EcalLogicID
,
RunDat
>* fillMap,
RunIOV
* iov) noexcept(
false
);
29
30
// User data
31
int
m_numEvents
;
32
};
33
34
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
runTheMatrix.const
const
Definition:
runTheMatrix.py:347
EcalLogicID
Definition:
EcalLogicID.h:7
RunDat::fetchData
void fetchData(std::map< EcalLogicID, RunDat > *fillMap, RunIOV *iov) noexcept(false)
Definition:
RunDat.cc:60
funct::false
false
Definition:
Factorize.h:29
std
Definition:
JetResolutionObject.h:76
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:148
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RunIOV.h
IDataItem
Definition:
IDataItem.h:16
RunDat::setNumEvents
void setNumEvents(int num)
Definition:
RunDat.h:20
RunDat::m_numEvents
int m_numEvents
Definition:
RunDat.h:31
EcalLogicID.h
RunDat::writeDB
void writeDB(const EcalLogicID *ecid, const RunDat *item, RunIOV *iov) noexcept(false)
Definition:
RunDat.cc:35
RunDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition:
RunDat.cc:20
RunDat::RunDat
RunDat()
Definition:
RunDat.cc:11
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
EgammaValidation_cff.num
num
Definition:
EgammaValidation_cff.py:33
IDataItem.h
RunDat::~RunDat
~RunDat() override
Definition:
RunDat.cc:18
RunDat
Definition:
RunDat.h:11
RunDat::getNumEvents
int getNumEvents() const
Definition:
RunDat.h:21
RunDat::getTable
std::string getTable() override
Definition:
RunDat.h:18
RunIOV
Definition:
RunIOV.h:13
Generated for CMSSW Reference Manual by
1.8.14