Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
OnlineDB
EcalCondDB
interface
DCUIDarkPedDat.h
Go to the documentation of this file.
1
#ifndef DCUIDARKPEDDAT_H
2
#define DCUIDARKPEDDAT_H
3
4
#include <map>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IDataItem.h
"
8
#include "
OnlineDB/EcalCondDB/interface/DCUTag.h
"
9
#include "
OnlineDB/EcalCondDB/interface/DCUIOV.h
"
10
#include "
OnlineDB/EcalCondDB/interface/EcalLogicID.h
"
11
12
class
DCUIDarkPedDat
:
public
IDataItem
{
13
public
:
14
friend
class
EcalCondDBInterface
;
15
DCUIDarkPedDat
();
16
~DCUIDarkPedDat
();
17
18
// User data methods
19
inline
std::string
getTable
() {
return
"DCU_IDARK_PED_DAT"
; }
20
21
inline
void
setPed
(
float
temp
) {
m_ped
=
temp
; }
22
inline
float
getPed
()
const
{
return
m_ped
; }
23
24
private
:
25
void
prepareWrite
()
26
throw
(std::runtime_error);
27
28
void
writeDB
(
const
EcalLogicID
* ecid,
const
DCUIDarkPedDat
* item,
DCUIOV
*
iov
)
29
throw
(std::runtime_error);
30
31
void
writeArrayDB
(
const
std::
map
<
EcalLogicID
,
DCUIDarkPedDat
>*
data
,
DCUIOV
*
iov
)
32
throw
(std::runtime_error);
33
34
void
fetchData
(std::
map
< EcalLogicID,
DCUIDarkPedDat
>* fillVec,
DCUIOV
*
iov
)
35
throw
(std::runtime_error);
36
37
// User data
38
float
m_ped
;
39
40
};
41
42
#endif
DCUIDarkPedDat::DCUIDarkPedDat
DCUIDarkPedDat()
Definition:
DCUIDarkPedDat.cc:12
DCUIDarkPedDat::~DCUIDarkPedDat
~DCUIDarkPedDat()
Definition:
DCUIDarkPedDat.cc:24
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
DCUIDarkPedDat::getTable
std::string getTable()
Definition:
DCUIDarkPedDat.h:19
EcalLogicID
Definition:
EcalLogicID.h:7
DCUIDarkPedDat::fetchData
void fetchData(std::map< EcalLogicID, DCUIDarkPedDat > *fillVec, DCUIOV *iov)
Definition:
DCUIDarkPedDat.cc:74
DCUTag.h
groupFilesInBlocks.temp
temp
Definition:
groupFilesInBlocks.py:140
DCUIDarkPedDat::m_ped
float m_ped
Definition:
DCUIDarkPedDat.h:38
DCUIDarkPedDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, DCUIDarkPedDat > *data, DCUIOV *iov)
Definition:
DCUIDarkPedDat.cc:116
DCUIOV
Definition:
DCUIOV.h:13
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
DCUIDarkPedDat::prepareWrite
void prepareWrite()
Definition:
DCUIDarkPedDat.cc:30
python.multivaluedict.map
def map
Definition:
multivaluedict.py:125
IDataItem
Definition:
IDataItem.h:16
o2o.iov
tuple iov
Definition:
o2o.py:307
DCUIDarkPedDat::setPed
void setPed(float temp)
Definition:
DCUIDarkPedDat.h:21
DCUIDarkPedDat
Definition:
DCUIDarkPedDat.h:12
DCUIDarkPedDat::writeDB
void writeDB(const EcalLogicID *ecid, const DCUIDarkPedDat *item, DCUIOV *iov)
Definition:
DCUIDarkPedDat.cc:48
EcalLogicID.h
DCUIOV.h
DCUIDarkPedDat::getPed
float getPed() const
Definition:
DCUIDarkPedDat.h:22
IDataItem.h
compareJSON.const
string const
Definition:
compareJSON.py:14
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