Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
OnlineDB
EcalCondDB
interface
RunFEConfigDat.h
Go to the documentation of this file.
1
#ifndef RUNFECONFIGDAT_H
2
#define RUNFECONFIGDAT_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
#include "
OnlineDB/EcalCondDB/interface/ODDelaysDat.h
"
11
12
class
RunFEConfigDat
:
public
IDataItem
{
13
public
:
14
friend
class
EcalCondDBInterface
;
15
RunFEConfigDat
();
16
~RunFEConfigDat
();
17
18
// User data methods
19
inline
std::string
getTable
() {
return
"RUN_FECONFIG_DAT"
; }
20
21
inline
int
getConfigId
()
const
{
return
m_config
; }
22
inline
void
setConfigId
(
int
x
) {
m_config
=
x
; }
23
24
std::list<ODDelaysDat>
getDelays
();
25
26
private
:
27
void
prepareWrite
()
28
throw
(std::runtime_error);
29
30
void
writeDB
(
const
EcalLogicID
* ecid,
const
RunFEConfigDat
* item,
RunIOV
*
iov
)
31
throw
(std::runtime_error);
32
33
void
fetchData
(std::
map
<
EcalLogicID
,
RunFEConfigDat
>*
fillMap
,
RunIOV
*
iov
)
34
throw
(std::runtime_error);
35
36
// User data
37
38
int
m_config
;
39
40
};
41
42
#endif
RunFEConfigDat
Definition:
RunFEConfigDat.h:12
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:39
RunFEConfigDat::~RunFEConfigDat
~RunFEConfigDat()
Definition:
RunFEConfigDat.cc:24
EcalLogicID
Definition:
EcalLogicID.h:8
RunFEConfigDat::setConfigId
void setConfigId(int x)
Definition:
RunFEConfigDat.h:22
Association.map
dictionary map
Definition:
Association.py:205
RunIOV.h
IDataItem
Definition:
IDataItem.h:16
RunFEConfigDat::writeDB
void writeDB(const EcalLogicID *ecid, const RunFEConfigDat *item, RunIOV *iov)
Definition:
RunFEConfigDat.cc:48
o2o.iov
tuple iov
Definition:
o2o.py:307
RunFEConfigDat::fetchData
void fetchData(std::map< EcalLogicID, RunFEConfigDat > *fillMap, RunIOV *iov)
Definition:
RunFEConfigDat.cc:74
EcalLogicID.h
RunFEConfigDat::prepareWrite
void prepareWrite()
Definition:
RunFEConfigDat.cc:30
RunFEConfigDat::getTable
std::string getTable()
Definition:
RunFEConfigDat.h:19
RunFEConfigDat::getConfigId
int getConfigId() const
Definition:
RunFEConfigDat.h:21
IDataItem.h
compareJSON.const
string const
Definition:
compareJSON.py:14
RunFEConfigDat::getDelays
std::list< ODDelaysDat > getDelays()
RunFEConfigDat::RunFEConfigDat
RunFEConfigDat()
Definition:
RunFEConfigDat.cc:11
RunFEConfigDat::m_config
int m_config
Definition:
RunFEConfigDat.h:38
x
Definition:
DDAxes.h:10
edm::pset::fillMap
void fillMap(Registry *reg, regmap_type &fillme)
Definition:
Registry.cc:24
RunIOV
Definition:
RunIOV.h:13
ODDelaysDat.h
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5