Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
OnlineDB
EcalCondDB
interface
RunTPGConfigDat.h
Go to the documentation of this file.
1
#ifndef RUNTPGCONFIGDAT_H
2
#define RUNTPGCONFIGDAT_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
RunTPGConfigDat
:
public
IDataItem
{
12
public
:
13
friend
class
EcalCondDBInterface
;
14
RunTPGConfigDat
();
15
~RunTPGConfigDat
();
16
17
// User data methods
18
inline
std::string
getTable
() {
return
"RUN_TPGCONFIG_DAT"
; }
19
20
inline
std::string
getConfigTag
()
const
{
return
m_config
; }
21
inline
void
setConfigTag
(
std::string
x
) {
m_config
=
x
; }
22
inline
int
getVersion
()
const
{
return
m_version
; }
23
inline
void
setVersion
(
int
x
) {
m_version
=
x
; }
24
25
26
private
:
27
void
prepareWrite
()
28
throw
(std::runtime_error);
29
30
void
writeDB
(
const
EcalLogicID
* ecid,
const
RunTPGConfigDat
* item,
RunIOV
*
iov
)
31
throw
(std::runtime_error);
32
33
void
fetchData
(std::
map
<
EcalLogicID
,
RunTPGConfigDat
>* fillMap,
RunIOV
*
iov
)
34
throw
(std::runtime_error);
35
36
// User data
37
int
m_version
;
38
std::
string
m_config
;
39
40
};
41
42
#endif
RunTPGConfigDat::getConfigTag
std::string getConfigTag() const
Definition:
RunTPGConfigDat.h:20
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
RunTPGConfigDat::setConfigTag
void setConfigTag(std::string x)
Definition:
RunTPGConfigDat.h:21
EcalLogicID
Definition:
EcalLogicID.h:7
RunTPGConfigDat::m_config
std::string m_config
Definition:
RunTPGConfigDat.h:38
RunTPGConfigDat::getVersion
int getVersion() const
Definition:
RunTPGConfigDat.h:22
RunTPGConfigDat::RunTPGConfigDat
RunTPGConfigDat()
Definition:
RunTPGConfigDat.cc:11
RunTPGConfigDat::writeDB
void writeDB(const EcalLogicID *ecid, const RunTPGConfigDat *item, RunIOV *iov)
Definition:
RunTPGConfigDat.cc:48
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
RunIOV.h
python.multivaluedict.map
def map
Definition:
multivaluedict.py:125
RunTPGConfigDat
Definition:
RunTPGConfigDat.h:11
IDataItem
Definition:
IDataItem.h:16
o2o.iov
tuple iov
Definition:
o2o.py:307
EcalLogicID.h
RunTPGConfigDat::setVersion
void setVersion(int x)
Definition:
RunTPGConfigDat.h:23
RunTPGConfigDat::fetchData
void fetchData(std::map< EcalLogicID, RunTPGConfigDat > *fillMap, RunIOV *iov)
Definition:
RunTPGConfigDat.cc:75
IDataItem.h
compareJSON.const
string const
Definition:
compareJSON.py:14
RunTPGConfigDat::prepareWrite
void prepareWrite()
Definition:
RunTPGConfigDat.cc:30
RunTPGConfigDat::getTable
std::string getTable()
Definition:
RunTPGConfigDat.h:18
RunTPGConfigDat::~RunTPGConfigDat
~RunTPGConfigDat()
Definition:
RunTPGConfigDat.cc:24
x
Definition:
DDAxes.h:10
RunTPGConfigDat::m_version
int m_version
Definition:
RunTPGConfigDat.h:37
RunIOV
Definition:
RunIOV.h:13
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5