Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
();
16
17
// User data methods
18
inline
std::string
getTable
() {
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
()
25
throw
(std::runtime_error);
26
27
void
writeDB
(
const
EcalLogicID
* ecid,
const
RunDat
* item,
RunIOV
*
iov
)
28
throw
(std::runtime_error);
29
30
void
fetchData
(std::
map
<
EcalLogicID
,
RunDat
>*
fillMap
,
RunIOV
*
iov
)
31
throw
(std::runtime_error);
32
33
// User data
34
int
m_numEvents
;
35
};
36
37
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:39
EcalLogicID
Definition:
EcalLogicID.h:8
RunDat::getTable
std::string getTable()
Definition:
RunDat.h:18
RunDat::~RunDat
~RunDat()
Definition:
RunDat.cc:21
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Association.map
dictionary map
Definition:
Association.py:205
RunIOV.h
IDataItem
Definition:
IDataItem.h:16
o2o.iov
tuple iov
Definition:
o2o.py:307
RunDat::setNumEvents
void setNumEvents(int num)
Definition:
RunDat.h:20
RunDat::getNumEvents
int getNumEvents() const
Definition:
RunDat.h:21
RunDat::m_numEvents
int m_numEvents
Definition:
RunDat.h:34
RunDat::prepareWrite
void prepareWrite()
Definition:
RunDat.cc:27
EcalLogicID.h
RunDat::RunDat
RunDat()
Definition:
RunDat.cc:11
RunDat::writeDB
void writeDB(const EcalLogicID *ecid, const RunDat *item, RunIOV *iov)
Definition:
RunDat.cc:45
IDataItem.h
evf::utils::num
long long int num
Definition:
procUtils.cc:71
compareJSON.const
string const
Definition:
compareJSON.py:14
RunDat
Definition:
RunDat.h:11
RunDat::fetchData
void fetchData(std::map< EcalLogicID, RunDat > *fillMap, RunIOV *iov)
Definition:
RunDat.cc:70
edm::pset::fillMap
void fillMap(Registry *reg, regmap_type &fillme)
Definition:
Registry.cc:24
RunIOV
Definition:
RunIOV.h:13
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5