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