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