Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
OnlineDB
EcalCondDB
interface
MonH4TablePositionDat.h
Go to the documentation of this file.
1
#ifndef MONH4TABLEPOSITIONDAT_H
2
#define MONH4TABLEPOSITIONDAT_H
3
4
#include <vector>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IDataItem.h
"
8
#include "
OnlineDB/EcalCondDB/interface/MonRunIOV.h
"
9
#include "
OnlineDB/EcalCondDB/interface/EcalLogicID.h
"
10
11
class
MonH4TablePositionDat
:
public
IDataItem
{
12
public
:
13
friend
class
EcalCondDBInterface
;
14
MonH4TablePositionDat
();
15
~MonH4TablePositionDat
();
16
17
// User data methods
18
inline
std::string
getTable
() {
return
"MON_H4_TABLE_POSITION_DAT"
; }
19
20
inline
void
setTableX
(
float
x
) {
m_tableX
=
x
; }
21
inline
float
getTableX
()
const
{
return
m_tableX
; }
22
23
inline
void
setTableY
(
float
y
) {
m_tableY
=
y
; }
24
inline
float
getTableY
()
const
{
return
m_tableY
; }
25
26
private
:
27
void
prepareWrite
()
28
throw
(std::runtime_error);
29
30
void
writeDB
(
const
EcalLogicID
* ecid,
const
MonH4TablePositionDat
* item,
MonRunIOV
*
iov
)
31
throw
(std::runtime_error);
32
33
void
fetchData
(std::map<
EcalLogicID
,
MonH4TablePositionDat
>* fillMap,
MonRunIOV
*
iov
)
34
throw
(std::runtime_error);
35
36
void
writeArrayDB
(
const
std::map< EcalLogicID,
MonH4TablePositionDat
>*
data
,
MonRunIOV
*
iov
)
37
throw
(std::runtime_error);
38
39
// User data
40
float
m_tableX
;
41
float
m_tableY
;
42
};
43
44
#endif
MonH4TablePositionDat
Definition:
MonH4TablePositionDat.h:11
MonH4TablePositionDat::prepareWrite
void prepareWrite()
Definition:
MonH4TablePositionDat.cc:29
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
MonH4TablePositionDat::fetchData
void fetchData(std::map< EcalLogicID, MonH4TablePositionDat > *fillMap, MonRunIOV *iov)
Definition:
MonH4TablePositionDat.cc:74
EcalLogicID
Definition:
EcalLogicID.h:7
MonH4TablePositionDat::setTableY
void setTableY(float y)
Definition:
MonH4TablePositionDat.h:23
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
MonH4TablePositionDat::~MonH4TablePositionDat
~MonH4TablePositionDat()
Definition:
MonH4TablePositionDat.cc:23
MonRunIOV
Definition:
MonRunIOV.h:14
MonRunIOV.h
MonH4TablePositionDat::m_tableY
float m_tableY
Definition:
MonH4TablePositionDat.h:41
IDataItem
Definition:
IDataItem.h:16
o2o.iov
tuple iov
Definition:
o2o.py:307
MonH4TablePositionDat::setTableX
void setTableX(float x)
Definition:
MonH4TablePositionDat.h:20
MonH4TablePositionDat::m_tableX
float m_tableX
Definition:
MonH4TablePositionDat.h:40
MonH4TablePositionDat::MonH4TablePositionDat
MonH4TablePositionDat()
Definition:
MonH4TablePositionDat.cc:10
EcalLogicID.h
MonH4TablePositionDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, MonH4TablePositionDat > *data, MonRunIOV *iov)
Definition:
MonH4TablePositionDat.cc:118
MonH4TablePositionDat::writeDB
void writeDB(const EcalLogicID *ecid, const MonH4TablePositionDat *item, MonRunIOV *iov)
Definition:
MonH4TablePositionDat.cc:47
IDataItem.h
compareJSON.const
string const
Definition:
compareJSON.py:14
MonH4TablePositionDat::getTableY
float getTableY() const
Definition:
MonH4TablePositionDat.h:24
MonH4TablePositionDat::getTableX
float getTableX() const
Definition:
MonH4TablePositionDat.h:21
DDAxes::y
DDAxes::x
MonH4TablePositionDat::getTable
std::string getTable()
Definition:
MonH4TablePositionDat.h:18
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