Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
OnlineDB
EcalCondDB
interface
FEConfigSlidingDat.h
Go to the documentation of this file.
1
#ifndef FECONFSLIDINGDAT_H
2
#define FECONFSLIDINGDAT_H
3
4
#include <vector>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IDataItem.h
"
8
#include "
OnlineDB/EcalCondDB/interface/FEConfigSlidingInfo.h
"
9
#include "
OnlineDB/EcalCondDB/interface/EcalLogicID.h
"
10
11
class
FEConfigSlidingDat
:
public
IDataItem
{
12
public
:
13
friend
class
EcalCondDBInterface
;
// XXX temp should not need
14
FEConfigSlidingDat
();
15
~FEConfigSlidingDat
();
16
17
// User data methods
18
inline
std::string
getTable
() {
return
"FE_CONFIG_SLIDING_DAT"
; }
19
20
inline
void
setSliding
(
float
mean
) {
m_sliding
=
mean
; }
21
inline
float
getSliding
()
const
{
return
m_sliding
; }
22
23
private
:
24
void
prepareWrite
()
25
throw
(std::runtime_error);
26
27
void
writeDB
(
const
EcalLogicID
* ecid,
const
FEConfigSlidingDat
* item,
FEConfigSlidingInfo
* iconf)
28
throw
(std::runtime_error);
29
30
31
void
writeArrayDB
(
const
std::
map
<
EcalLogicID
,
FEConfigSlidingDat
>*
data
,
FEConfigSlidingInfo
* iconf)
32
throw
(std::runtime_error);
33
34
35
void
fetchData
(std::
map
< EcalLogicID,
FEConfigSlidingDat
>* fillMap,
FEConfigSlidingInfo
* iconf)
36
throw
(std::runtime_error);
37
38
// User data
39
float
m_sliding
;
40
41
};
42
43
#endif
timingPdfMaker.mean
int mean
Definition:
timingPdfMaker.py:154
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
EcalLogicID
Definition:
EcalLogicID.h:7
FEConfigSlidingDat::getSliding
float getSliding() const
Definition:
FEConfigSlidingDat.h:21
FEConfigSlidingDat::prepareWrite
void prepareWrite()
Definition:
FEConfigSlidingDat.cc:30
FEConfigSlidingDat
Definition:
FEConfigSlidingDat.h:11
FEConfigSlidingDat::fetchData
void fetchData(std::map< EcalLogicID, FEConfigSlidingDat > *fillMap, FEConfigSlidingInfo *iconf)
Definition:
FEConfigSlidingDat.cc:73
FEConfigSlidingDat::writeArrayDB
void writeArrayDB(const std::map< EcalLogicID, FEConfigSlidingDat > *data, FEConfigSlidingInfo *iconf)
Definition:
FEConfigSlidingDat.cc:116
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
python.multivaluedict.map
def map
Definition:
multivaluedict.py:125
FEConfigSlidingDat::writeDB
void writeDB(const EcalLogicID *ecid, const FEConfigSlidingDat *item, FEConfigSlidingInfo *iconf)
Definition:
FEConfigSlidingDat.cc:48
FEConfigSlidingInfo
Definition:
FEConfigSlidingInfo.h:11
IDataItem
Definition:
IDataItem.h:16
FEConfigSlidingInfo.h
FEConfigSlidingDat::getTable
std::string getTable()
Definition:
FEConfigSlidingDat.h:18
EcalLogicID.h
FEConfigSlidingDat::FEConfigSlidingDat
FEConfigSlidingDat()
Definition:
FEConfigSlidingDat.cc:11
IDataItem.h
compareJSON.const
string const
Definition:
compareJSON.py:14
FEConfigSlidingDat::setSliding
void setSliding(float mean)
Definition:
FEConfigSlidingDat.h:20
FEConfigSlidingDat::m_sliding
float m_sliding
Definition:
FEConfigSlidingDat.h:39
FEConfigSlidingDat::~FEConfigSlidingDat
~FEConfigSlidingDat()
Definition:
FEConfigSlidingDat.cc:24
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