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