Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
OnlineDB
EcalCondDB
interface
MODCCSTRDat.h
Go to the documentation of this file.
1
#ifndef MODCCSTRDAT_H
2
#define MODCCSTRDAT_H
3
4
#include <map>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IDataItem.h
"
8
#include "
OnlineDB/EcalCondDB/interface/MODRunIOV.h
"
9
#include "
OnlineDB/EcalCondDB/interface/EcalLogicID.h
"
10
11
class
MODCCSTRDat
:
public
IDataItem
{
12
public
:
13
friend
class
EcalCondDBInterface
;
14
MODCCSTRDat
();
15
~MODCCSTRDat
();
16
17
// User data methods
18
inline
std::string
getTable
() {
return
"OD_CCS_TR_DAT"
; }
19
20
inline
void
setWord
(
int
x
) {
m_word
=
x
; }
21
inline
int
getWord
()
const
{
return
m_word
; }
22
23
private
:
24
void
prepareWrite
()
25
throw
(std::runtime_error);
26
27
void
writeDB
(
const
EcalLogicID
* ecid,
const
MODCCSTRDat
* item,
MODRunIOV
*
iov
)
28
throw
(std::runtime_error);
29
30
void
writeArrayDB
(
const
std::
map
<
EcalLogicID
,
MODCCSTRDat
>*
data
,
MODRunIOV
*
iov
)
31
throw
(std::runtime_error);
32
33
34
35
void
fetchData
(std::
map
< EcalLogicID,
MODCCSTRDat
>* fillMap,
MODRunIOV
*
iov
)
36
throw
(std::runtime_error);
37
38
// User data
39
int
m_word
;
40
41
};
42
43
#endif
MODCCSTRDat::setWord
void setWord(int x)
Definition:
MODCCSTRDat.h:20
MODCCSTRDat::~MODCCSTRDat
~MODCCSTRDat()
Definition:
MODCCSTRDat.cc:23
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
MODRunIOV.h
MODCCSTRDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, MODCCSTRDat > *data, MODRunIOV *iov)
Definition:
MODCCSTRDat.cc:115
EcalLogicID
Definition:
EcalLogicID.h:7
MODCCSTRDat::getTable
std::string getTable()
Definition:
MODCCSTRDat.h:18
MODCCSTRDat::getWord
int getWord() const
Definition:
MODCCSTRDat.h:21
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
MODCCSTRDat::MODCCSTRDat
MODCCSTRDat()
Definition:
MODCCSTRDat.cc:11
python.multivaluedict.map
def map
Definition:
multivaluedict.py:125
IDataItem
Definition:
IDataItem.h:16
o2o.iov
tuple iov
Definition:
o2o.py:307
MODRunIOV
Definition:
MODRunIOV.h:13
MODCCSTRDat::fetchData
void fetchData(std::map< EcalLogicID, MODCCSTRDat > *fillMap, MODRunIOV *iov)
Definition:
MODCCSTRDat.cc:72
EcalLogicID.h
MODCCSTRDat::writeDB
void writeDB(const EcalLogicID *ecid, const MODCCSTRDat *item, MODRunIOV *iov)
Definition:
MODCCSTRDat.cc:47
MODCCSTRDat::m_word
int m_word
Definition:
MODCCSTRDat.h:39
IDataItem.h
compareJSON.const
string const
Definition:
compareJSON.py:14
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:82
MODCCSTRDat
Definition:
MODCCSTRDat.h:11
x
Definition:
DDAxes.h:10
MODCCSTRDat::prepareWrite
void prepareWrite()
Definition:
MODCCSTRDat.cc:29
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5