test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
OnlineDB
EcalCondDB
interface
FEConfigBadStripDat.h
Go to the documentation of this file.
1
#ifndef FECONFIGBADStripDAT_H
2
#define FECONFIGBADStripDAT_H
3
4
#include <vector>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IODConfig.h
"
8
#include "
OnlineDB/EcalCondDB/interface/FEConfigBadStripInfo.h
"
9
10
class
FEConfigBadStripDat
:
public
IODConfig
{
11
public
:
12
friend
class
EcalCondDBInterface
;
13
FEConfigBadStripDat
();
14
~FEConfigBadStripDat
();
15
16
// User data methods
17
inline
std::string
getTable
() {
return
"FE_CONFIG_BadST_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
dac) {
m_fed
= dac; }
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
setStripId
(
int
dac) {
m_xt
= dac; }
32
inline
int
getStripId
()
const
{
return
m_xt
; }
33
34
35
inline
void
setStatus
(
int
dac) {
m_t1
= dac; }
36
inline
int
getStatus
()
const
{
return
m_t1
; }
37
38
private
:
39
void
prepareWrite
()
40
throw
(std::runtime_error);
41
42
void
writeDB
(
const
FEConfigBadStripDat
* item,
FEConfigBadStripInfo
*
iov
)
43
throw
(std::runtime_error);
44
45
void
writeArrayDB
(
const
std::vector<
FEConfigBadStripDat
>&
data
,
FEConfigBadStripInfo
*
iov
)
46
throw
(std::runtime_error);
47
48
49
void
fetchData
(std::vector<
FEConfigBadStripDat
>* fillMap,
FEConfigBadStripInfo
*
iov
)
50
throw
(std::runtime_error);
51
52
// User data
53
int
m_tcc
;
54
int
m_fed
;
55
int
m_tt
;
56
int
m_xt
;
57
int
m_t1
;
58
int
m_ID
;
59
60
};
61
62
#endif
FEConfigBadStripDat::~FEConfigBadStripDat
~FEConfigBadStripDat()
Definition:
FEConfigBadStripDat.cc:27
FEConfigBadStripDat::setId
void setId(int dac)
Definition:
FEConfigBadStripDat.h:19
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
FEConfigBadStripDat::setTCCId
void setTCCId(int dac)
Definition:
FEConfigBadStripDat.h:25
FEConfigBadStripDat::getId
int getId() const
Definition:
FEConfigBadStripDat.h:20
FEConfigBadStripDat::fetchData
void fetchData(std::vector< FEConfigBadStripDat > *fillMap, FEConfigBadStripInfo *iov)
Definition:
FEConfigBadStripDat.cc:70
FEConfigBadStripInfo.h
FEConfigBadStripDat::m_tt
int m_tt
Definition:
FEConfigBadStripDat.h:55
FEConfigBadStripDat::getStatus
int getStatus() const
Definition:
FEConfigBadStripDat.h:36
FEConfigBadStripDat::getTTId
int getTTId() const
Definition:
FEConfigBadStripDat.h:29
FEConfigBadStripDat::setStripId
void setStripId(int dac)
Definition:
FEConfigBadStripDat.h:31
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
FEConfigBadStripDat::setTTId
void setTTId(int dac)
Definition:
FEConfigBadStripDat.h:28
FEConfigBadStripDat::getStripId
int getStripId() const
Definition:
FEConfigBadStripDat.h:32
FEConfigBadStripDat::getTCCId
int getTCCId() const
Definition:
FEConfigBadStripDat.h:26
FEConfigBadStripDat
Definition:
FEConfigBadStripDat.h:10
o2o.iov
tuple iov
Definition:
o2o.py:307
FEConfigBadStripDat::FEConfigBadStripDat
FEConfigBadStripDat()
Definition:
FEConfigBadStripDat.cc:10
IODConfig
Definition:
IODConfig.h:19
FEConfigBadStripDat::writeArrayDB
void writeArrayDB(const std::vector< FEConfigBadStripDat > &data, FEConfigBadStripInfo *iov)
Definition:
FEConfigBadStripDat.cc:107
FEConfigBadStripDat::m_tcc
int m_tcc
Definition:
FEConfigBadStripDat.h:53
FEConfigBadStripDat::getFedId
int getFedId() const
Definition:
FEConfigBadStripDat.h:23
FEConfigBadStripDat::prepareWrite
void prepareWrite()
Definition:
FEConfigBadStripDat.cc:33
FEConfigBadStripDat::m_fed
int m_fed
Definition:
FEConfigBadStripDat.h:54
FEConfigBadStripDat::m_xt
int m_xt
Definition:
FEConfigBadStripDat.h:56
FEConfigBadStripDat::setFedId
void setFedId(int dac)
Definition:
FEConfigBadStripDat.h:22
compareJSON.const
string const
Definition:
compareJSON.py:14
FEConfigBadStripDat::m_ID
int m_ID
Definition:
FEConfigBadStripDat.h:58
IODConfig.h
FEConfigBadStripDat::getTable
std::string getTable()
Definition:
FEConfigBadStripDat.h:17
FEConfigBadStripDat::writeDB
void writeDB(const FEConfigBadStripDat *item, FEConfigBadStripInfo *iov)
Definition:
FEConfigBadStripDat.cc:49
FEConfigBadStripInfo
Definition:
FEConfigBadStripInfo.h:9
AlCaHLTBitMon_QueryRunRegistry.data
tuple data
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:288
FEConfigBadStripDat::m_t1
int m_t1
Definition:
FEConfigBadStripDat.h:57
FEConfigBadStripDat::setStatus
void setStatus(int dac)
Definition:
FEConfigBadStripDat.h:35
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5