OnlineDB
EcalCondDB
interface
FEConfigBadTTDat.h
Go to the documentation of this file.
1
#ifndef FECONFIGBADTTDAT_H
2
#define FECONFIGBADTTDAT_H
3
4
#include <vector>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IODConfig.h
"
8
#include "
OnlineDB/EcalCondDB/interface/FEConfigBadTTInfo.h
"
9
10
class
FEConfigBadTTDat
:
public
IODConfig
{
11
public
:
12
friend
class
EcalCondDBInterface
;
13
FEConfigBadTTDat
();
14
~FEConfigBadTTDat
()
override
;
15
16
// User data methods
17
inline
std::string
getTable
()
override
{
return
"FE_CONFIG_BadTT_DAT"
; }
18
19
inline
void
setId
(
int
dac) {
m_ID
= dac; }
20
inline
int
getId
()
const
{
return
m_ID
; }
21
22
inline
void
setFedId
(
int
x
) {
m_fed
=
x
; }
23
inline
int
getFedId
()
const
{
return
m_fed
; }
24
25
inline
void
setTCCId
(
int
dac) {
m_tcc
= dac; }
26
inline
int
getTCCId
()
const
{
return
m_tcc
; }
27
28
inline
void
setTTId
(
int
dac) {
m_tt
= dac; }
29
inline
int
getTTId
()
const
{
return
m_tt
; }
30
31
inline
void
setStatus
(
int
dac) {
m_t1
= dac; }
32
inline
int
getStatus
()
const
{
return
m_t1
; }
33
34
private
:
35
void
prepareWrite
() noexcept(
false
) override;
36
37
void
writeDB
(
const
FEConfigBadTTDat
*
item
,
FEConfigBadTTInfo
* iov) noexcept(
false
);
38
39
void
writeArrayDB
(
const
std
::
vector
<
FEConfigBadTTDat
>&
data
,
FEConfigBadTTInfo
* iov) noexcept(
false
);
40
41
void
fetchData
(
std
::
vector
<
FEConfigBadTTDat
>* fillMap,
FEConfigBadTTInfo
* iov) noexcept(
false
);
42
43
// User data
44
int
m_tcc
;
45
int
m_fed
;
46
int
m_tt
;
47
int
m_t1
;
48
int
m_ID
;
49
};
50
51
#endif
FEConfigBadTTDat::getTCCId
int getTCCId() const
Definition:
FEConfigBadTTDat.h:26
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
funct::false
false
Definition:
Factorize.h:29
FEConfigBadTTInfo
Definition:
FEConfigBadTTInfo.h:9
IODConfig.h
DDAxes::x
watchdog.const
const
Definition:
watchdog.py:83
FEConfigBadTTDat::FEConfigBadTTDat
FEConfigBadTTDat()
Definition:
FEConfigBadTTDat.cc:10
FEConfigBadTTDat::m_tcc
int m_tcc
Definition:
FEConfigBadTTDat.h:44
FEConfigBadTTDat::writeArrayDB
void writeArrayDB(const std::vector< FEConfigBadTTDat > &data, FEConfigBadTTInfo *iov) noexcept(false)
Definition:
FEConfigBadTTDat.cc:86
FEConfigBadTTDat::getFedId
int getFedId() const
Definition:
FEConfigBadTTDat.h:23
FEConfigBadTTDat::setTCCId
void setTCCId(int dac)
Definition:
FEConfigBadTTDat.h:25
FEConfigBadTTDat::m_t1
int m_t1
Definition:
FEConfigBadTTDat.h:47
FEConfigBadTTDat::m_tt
int m_tt
Definition:
FEConfigBadTTDat.h:46
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
FEConfigBadTTDat::getId
int getId() const
Definition:
FEConfigBadTTDat.h:20
FEConfigBadTTDat::prepareWrite
void prepareWrite() noexcept(false) override
Definition:
FEConfigBadTTDat.cc:24
FEConfigBadTTDat::setFedId
void setFedId(int x)
Definition:
FEConfigBadTTDat.h:22
FEConfigBadTTDat::getStatus
int getStatus() const
Definition:
FEConfigBadTTDat.h:32
IODConfig
Definition:
IODConfig.h:18
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:147
FEConfigBadTTDat::writeDB
void writeDB(const FEConfigBadTTDat *item, FEConfigBadTTInfo *iov) noexcept(false)
Definition:
FEConfigBadTTDat.cc:37
FEConfigBadTTInfo.h
FEConfigBadTTDat::getTable
std::string getTable() override
Definition:
FEConfigBadTTDat.h:17
FEConfigBadTTDat::m_fed
int m_fed
Definition:
FEConfigBadTTDat.h:45
std
Definition:
JetResolutionObject.h:76
FEConfigBadTTDat::getTTId
int getTTId() const
Definition:
FEConfigBadTTDat.h:29
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
FEConfigBadTTDat::setTTId
void setTTId(int dac)
Definition:
FEConfigBadTTDat.h:28
FEConfigBadTTDat::setStatus
void setStatus(int dac)
Definition:
FEConfigBadTTDat.h:31
FEConfigBadTTDat::fetchData
void fetchData(std::vector< FEConfigBadTTDat > *fillMap, FEConfigBadTTInfo *iov) noexcept(false)
Definition:
FEConfigBadTTDat.cc:53
FEConfigBadTTDat::m_ID
int m_ID
Definition:
FEConfigBadTTDat.h:48
FEConfigBadTTDat::setId
void setId(int dac)
Definition:
FEConfigBadTTDat.h:19
FEConfigBadTTDat::~FEConfigBadTTDat
~FEConfigBadTTDat() override
Definition:
FEConfigBadTTDat.cc:22
FEConfigBadTTDat
Definition:
FEConfigBadTTDat.h:10
Generated for CMSSW Reference Manual by
1.8.16