test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
OnlineDB
EcalCondDB
interface
RunH4TablePositionDat.h
Go to the documentation of this file.
1
#ifndef RUNH4TABLEPOSITIONDAT_H
2
#define RUNH4TABLEPOSITIONDAT_H
3
4
#include <vector>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IDataItem.h
"
8
#include "
OnlineDB/EcalCondDB/interface/RunIOV.h
"
9
#include "
OnlineDB/EcalCondDB/interface/EcalLogicID.h
"
10
11
class
RunH4TablePositionDat
:
public
IDataItem
{
12
public
:
13
friend
class
EcalCondDBInterface
;
14
RunH4TablePositionDat
();
15
~RunH4TablePositionDat
();
16
17
// User data methods
18
inline
std::string
getTable
() {
return
"RUN_H4_TABLE_POSITION_DAT"
; }
19
20
inline
void
setTableX
(
int
num
) {
m_table_x
=
num
; }
21
inline
int
getTableX
()
const
{
return
m_table_x
; }
22
23
inline
void
setTableY
(
int
num
) {
m_table_y
=
num
; }
24
inline
int
getTableY
()
const
{
return
m_table_y
; }
25
26
inline
void
setNumSpills
(
int
num
) {
m_numSpills
=
num
; }
27
inline
int
getNumSpills
()
const
{
return
m_numSpills
; }
28
29
inline
void
setNumEvents
(
int
num
) {
m_numEvents
=
num
; }
30
inline
int
getNumEvents
()
const
{
return
m_numEvents
; }
31
32
private
:
33
void
prepareWrite
()
34
throw
(std::runtime_error);
35
36
void
writeDB
(
const
EcalLogicID
* ecid,
const
RunH4TablePositionDat
* item,
RunIOV
*
iov
)
37
throw
(std::runtime_error);
38
39
void
fetchData
(std::map<
EcalLogicID
,
RunH4TablePositionDat
>* fillMap,
RunIOV
*
iov
)
40
throw
(std::runtime_error);
41
42
// User data
43
int
m_table_x
;
44
int
m_table_y
;
45
int
m_numSpills
;
46
int
m_numEvents
;
47
48
};
49
50
#endif
RunH4TablePositionDat::~RunH4TablePositionDat
~RunH4TablePositionDat()
Definition:
RunH4TablePositionDat.cc:26
RunH4TablePositionDat::getNumSpills
int getNumSpills() const
Definition:
RunH4TablePositionDat.h:27
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
RunH4TablePositionDat::getTableY
int getTableY() const
Definition:
RunH4TablePositionDat.h:24
EcalLogicID
Definition:
EcalLogicID.h:7
RunH4TablePositionDat::m_numEvents
int m_numEvents
Definition:
RunH4TablePositionDat.h:46
RunH4TablePositionDat
Definition:
RunH4TablePositionDat.h:11
RunH4TablePositionDat::prepareWrite
void prepareWrite()
Definition:
RunH4TablePositionDat.cc:32
RunH4TablePositionDat::setTableX
void setTableX(int num)
Definition:
RunH4TablePositionDat.h:20
RunH4TablePositionDat::getTable
std::string getTable()
Definition:
RunH4TablePositionDat.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
RunIOV.h
IDataItem
Definition:
IDataItem.h:16
o2o.iov
tuple iov
Definition:
o2o.py:307
pileupDistInMC.num
tuple num
Definition:
pileupDistInMC.py:64
RunH4TablePositionDat::m_table_x
int m_table_x
Definition:
RunH4TablePositionDat.h:43
RunH4TablePositionDat::setNumSpills
void setNumSpills(int num)
Definition:
RunH4TablePositionDat.h:26
EcalLogicID.h
RunH4TablePositionDat::getNumEvents
int getNumEvents() const
Definition:
RunH4TablePositionDat.h:30
IDataItem.h
compareJSON.const
string const
Definition:
compareJSON.py:14
RunH4TablePositionDat::RunH4TablePositionDat
RunH4TablePositionDat()
Definition:
RunH4TablePositionDat.cc:11
RunH4TablePositionDat::setNumEvents
void setNumEvents(int num)
Definition:
RunH4TablePositionDat.h:29
RunH4TablePositionDat::m_table_y
int m_table_y
Definition:
RunH4TablePositionDat.h:44
RunH4TablePositionDat::m_numSpills
int m_numSpills
Definition:
RunH4TablePositionDat.h:45
RunIOV
Definition:
RunIOV.h:13
RunH4TablePositionDat::setTableY
void setTableY(int num)
Definition:
RunH4TablePositionDat.h:23
RunH4TablePositionDat::fetchData
void fetchData(std::map< EcalLogicID, RunH4TablePositionDat > *fillMap, RunIOV *iov)
Definition:
RunH4TablePositionDat.cc:78
RunH4TablePositionDat::writeDB
void writeDB(const EcalLogicID *ecid, const RunH4TablePositionDat *item, RunIOV *iov)
Definition:
RunH4TablePositionDat.cc:50
RunH4TablePositionDat::getTableX
int getTableX() const
Definition:
RunH4TablePositionDat.h:21
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5