test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
();
15
16
// User data methods
17
inline
std::string
getTable
() {
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
32
inline
void
setStatus
(
int
dac) {
m_t1
= dac; }
33
inline
int
getStatus
()
const
{
return
m_t1
; }
34
35
private
:
36
void
prepareWrite
()
37
throw
(std::runtime_error);
38
39
void
writeDB
(
const
FEConfigBadTTDat
* item,
FEConfigBadTTInfo
*
iov
)
40
throw
(std::runtime_error);
41
42
void
writeArrayDB
(
const
std::vector<
FEConfigBadTTDat
>&
data
,
FEConfigBadTTInfo
*
iov
)
43
throw
(std::runtime_error);
44
45
46
void
fetchData
(std::vector<
FEConfigBadTTDat
>* fillMap,
FEConfigBadTTInfo
*
iov
)
47
throw
(std::runtime_error);
48
49
// User data
50
int
m_tcc
;
51
int
m_fed
;
52
int
m_tt
;
53
int
m_t1
;
54
int
m_ID
;
55
56
};
57
58
#endif
FEConfigBadTTDat::m_tcc
int m_tcc
Definition:
FEConfigBadTTDat.h:50
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
FEConfigBadTTDat::setTCCId
void setTCCId(int dac)
Definition:
FEConfigBadTTDat.h:25
FEConfigBadTTDat::getId
int getId() const
Definition:
FEConfigBadTTDat.h:20
FEConfigBadTTDat::m_fed
int m_fed
Definition:
FEConfigBadTTDat.h:51
FEConfigBadTTDat::setFedId
void setFedId(int x)
Definition:
FEConfigBadTTDat.h:22
FEConfigBadTTDat::fetchData
void fetchData(std::vector< FEConfigBadTTDat > *fillMap, FEConfigBadTTInfo *iov)
Definition:
FEConfigBadTTDat.cc:68
FEConfigBadTTDat::writeArrayDB
void writeArrayDB(const std::vector< FEConfigBadTTDat > &data, FEConfigBadTTInfo *iov)
Definition:
FEConfigBadTTDat.cc:104
FEConfigBadTTDat::setId
void setId(int dac)
Definition:
FEConfigBadTTDat.h:19
FEConfigBadTTDat::setStatus
void setStatus(int dac)
Definition:
FEConfigBadTTDat.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
FEConfigBadTTDat::writeDB
void writeDB(const FEConfigBadTTDat *item, FEConfigBadTTInfo *iov)
Definition:
FEConfigBadTTDat.cc:48
FEConfigBadTTDat::m_ID
int m_ID
Definition:
FEConfigBadTTDat.h:54
o2o.iov
tuple iov
Definition:
o2o.py:307
IODConfig
Definition:
IODConfig.h:19
FEConfigBadTTDat::getTTId
int getTTId() const
Definition:
FEConfigBadTTDat.h:29
FEConfigBadTTDat::prepareWrite
void prepareWrite()
Definition:
FEConfigBadTTDat.cc:32
FEConfigBadTTDat::setTTId
void setTTId(int dac)
Definition:
FEConfigBadTTDat.h:28
FEConfigBadTTDat::~FEConfigBadTTDat
~FEConfigBadTTDat()
Definition:
FEConfigBadTTDat.cc:26
compareJSON.const
string const
Definition:
compareJSON.py:14
FEConfigBadTTDat::getFedId
int getFedId() const
Definition:
FEConfigBadTTDat.h:23
FEConfigBadTTDat::getStatus
int getStatus() const
Definition:
FEConfigBadTTDat.h:33
FEConfigBadTTDat
Definition:
FEConfigBadTTDat.h:10
FEConfigBadTTDat::m_tt
int m_tt
Definition:
FEConfigBadTTDat.h:52
IODConfig.h
FEConfigBadTTInfo.h
FEConfigBadTTDat::getTCCId
int getTCCId() const
Definition:
FEConfigBadTTDat.h:26
FEConfigBadTTDat::getTable
std::string getTable()
Definition:
FEConfigBadTTDat.h:17
DDAxes::x
FEConfigBadTTDat::FEConfigBadTTDat
FEConfigBadTTDat()
Definition:
FEConfigBadTTDat.cc:10
FEConfigBadTTDat::m_t1
int m_t1
Definition:
FEConfigBadTTDat.h:53
AlCaHLTBitMon_QueryRunRegistry.data
tuple data
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:288
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
FEConfigBadTTInfo
Definition:
FEConfigBadTTInfo.h:9
Generated for CMSSW Reference Manual by
1.8.5