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