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
()
override
;
16
17
// User data methods
18
inline
std::string
getTable
()
override
{
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
private
:
26
void
prepareWrite
() noexcept(
false
) override;
27
28
void
writeDB
(
const
EcalLogicID
* ecid,
const
RunTPGConfigDat
*
item
,
RunIOV
* iov) noexcept(
false
);
29
30
void
fetchData
(
std
::
map
<
EcalLogicID
,
RunTPGConfigDat
>* fillMap,
RunIOV
* iov) noexcept(
false
);
31
32
// User data
33
int
m_version
;
34
std
::
string
m_config
;
35
};
36
37
#endif
RunTPGConfigDat::setConfigTag
void setConfigTag(std::string x)
Definition:
RunTPGConfigDat.h:21
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
RunTPGConfigDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition:
RunTPGConfigDat.cc:23
IDataItem.h
RunIOV
Definition:
RunIOV.h:13
RunTPGConfigDat::fetchData
void fetchData(std::map< EcalLogicID, RunTPGConfigDat > *fillMap, RunIOV *iov) noexcept(false)
Definition:
RunTPGConfigDat.cc:64
funct::false
false
Definition:
Factorize.h:29
RunTPGConfigDat::RunTPGConfigDat
RunTPGConfigDat()
Definition:
RunTPGConfigDat.cc:11
RunIOV.h
DDAxes::x
watchdog.const
const
Definition:
watchdog.py:83
IDataItem
Definition:
IDataItem.h:16
RunTPGConfigDat::setVersion
void setVersion(int x)
Definition:
RunTPGConfigDat.h:23
EcalLogicID
Definition:
EcalLogicID.h:7
RunTPGConfigDat
Definition:
RunTPGConfigDat.h:11
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RunTPGConfigDat::writeDB
void writeDB(const EcalLogicID *ecid, const RunTPGConfigDat *item, RunIOV *iov) noexcept(false)
Definition:
RunTPGConfigDat.cc:38
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:147
RunTPGConfigDat::getTable
std::string getTable() override
Definition:
RunTPGConfigDat.h:18
EcalLogicID.h
std
Definition:
JetResolutionObject.h:76
RunTPGConfigDat::getVersion
int getVersion() const
Definition:
RunTPGConfigDat.h:22
RunTPGConfigDat::getConfigTag
std::string getConfigTag() const
Definition:
RunTPGConfigDat.h:20
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
RunTPGConfigDat::m_config
std::string m_config
Definition:
RunTPGConfigDat.h:34
RunTPGConfigDat::m_version
int m_version
Definition:
RunTPGConfigDat.h:33
RunTPGConfigDat::~RunTPGConfigDat
~RunTPGConfigDat() override
Definition:
RunTPGConfigDat.cc:21
Generated for CMSSW Reference Manual by
1.8.16