src
DQM
EcalMonitorDbModule
interface
EcalCondDBReader.h
Go to the documentation of this file.
1
#ifndef EcalCondDBReader_H
2
#define EcalCondDBReader_H
3
4
#include "
DBReaderWorkers.h
"
5
#include "
DQM/EcalCommon/interface/MESet.h
"
6
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
7
#include "
OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h
"
8
#include "
Geometry/EcalMapping/interface/EcalMappingRcd.h
"
9
10
class
EcalCondDBReader
:
public
DQMEDHarvester
{
11
public
:
12
EcalCondDBReader
(
edm::ParameterSet
const
&);
13
~EcalCondDBReader
()
override
;
14
15
private
:
16
void
dqmEndRun
(
DQMStore::IBooker
&,
DQMStore::IGetter
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
17
18
EcalElectronicsMapping
const
*
electronicsMap
;
19
void
setElectronicsMap
(
edm::EventSetup
const
&);
20
EcalElectronicsMapping
const
*
GetElectronicsMap
();
21
ecaldqm::EcalDQMSetupObjects
const
getEcalDQMSetupObjects
();
22
23
// DON'T CHANGE - ORDER MATTERS IN DB
24
enum
Tasks
{
25
Integrity
= 0,
26
Cosmic
= 1,
27
Laser
= 2,
28
Pedestal
= 3,
29
Presample
= 4,
30
TestPulse
= 5,
31
BeamCalo
= 6,
32
BeamHodo
= 7,
33
TriggerPrimitives
= 8,
34
Cluster
= 9,
35
Timing
= 10,
36
Led
= 11,
37
RawData
= 12,
38
Occupancy
= 13,
39
nTasks
= 14
40
};
41
42
EcalCondDBInterface
*
db_
;
43
MonRunIOV
monIOV_
;
44
ecaldqm::DBReaderWorker
*
worker_
;
45
std::string
formula_
;
46
ecaldqm::MESet
*
meSet_
;
47
48
int
verbosity_
;
49
bool
executed_
;
50
edm::ESGetToken<EcalElectronicsMapping, EcalMappingRcd>
elecMapHandle
;
51
};
52
53
#endif
ecaldqm::EcalDQMSetupObjects
Definition:
MESet.h:33
EcalCondDBInterface.h
EcalCondDBReader::meSet_
ecaldqm::MESet * meSet_
Definition:
EcalCondDBReader.h:46
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
EcalCondDBReader
Definition:
EcalCondDBReader.h:10
EcalCondDBReader::worker_
ecaldqm::DBReaderWorker * worker_
Definition:
EcalCondDBReader.h:44
EcalCondDBReader::RawData
Definition:
EcalCondDBReader.h:37
EcalCondDBReader::GetElectronicsMap
EcalElectronicsMapping const * GetElectronicsMap()
Definition:
EcalCondDBReader.cc:163
EcalCondDBReader::TestPulse
Definition:
EcalCondDBReader.h:30
EcalCondDBReader::BeamCalo
Definition:
EcalCondDBReader.h:31
EcalCondDBReader::monIOV_
MonRunIOV monIOV_
Definition:
EcalCondDBReader.h:43
DQMEDHarvester.h
EcalCondDBReader::db_
EcalCondDBInterface * db_
Definition:
EcalCondDBReader.h:42
EcalCondDBReader::~EcalCondDBReader
~EcalCondDBReader() override
Definition:
EcalCondDBReader.cc:144
EcalCondDBReader::Occupancy
Definition:
EcalCondDBReader.h:38
dqm::implementation::IGetter
Definition:
DQMStore.h:571
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
EcalCondDBReader::Integrity
Definition:
EcalCondDBReader.h:25
EcalCondDBReader::electronicsMap
EcalElectronicsMapping const * electronicsMap
Definition:
EcalCondDBReader.h:18
MESet.h
MonRunIOV
Definition:
MonRunIOV.h:14
dqm::implementation::IBooker
Definition:
DQMStore.h:43
edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd >
EcalMappingRcd.h
EcalCondDBReader::Led
Definition:
EcalCondDBReader.h:36
EcalCondDBReader::nTasks
Definition:
EcalCondDBReader.h:39
EcalCondDBReader::executed_
bool executed_
Definition:
EcalCondDBReader.h:49
EcalCondDBReader::elecMapHandle
edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd > elecMapHandle
Definition:
EcalCondDBReader.h:50
edm::EventSetup
Definition:
EventSetup.h:56
EcalCondDBReader::dqmEndRun
void dqmEndRun(DQMStore::IBooker &, DQMStore::IGetter &, edm::Run const &, edm::EventSetup const &) override
Definition:
EcalCondDBReader.cc:149
EcalCondDBReader::BeamHodo
Definition:
EcalCondDBReader.h:32
EcalCondDBReader::TriggerPrimitives
Definition:
EcalCondDBReader.h:33
EcalElectronicsMapping
Definition:
EcalElectronicsMapping.h:28
EcalCondDBReader::setElectronicsMap
void setElectronicsMap(edm::EventSetup const &)
Definition:
EcalCondDBReader.cc:161
ecaldqm::MESet
Definition:
MESet.h:42
EcalCondDBReader::Presample
Definition:
EcalCondDBReader.h:29
EcalCondDBReader::formula_
std::string formula_
Definition:
EcalCondDBReader.h:45
EcalCondDBReader::Laser
Definition:
EcalCondDBReader.h:27
EcalCondDBReader::Cluster
Definition:
EcalCondDBReader.h:34
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
EcalCondDBReader::Timing
Definition:
EcalCondDBReader.h:35
DBReaderWorkers.h
EcalCondDBReader::EcalCondDBReader
EcalCondDBReader(edm::ParameterSet const &)
Definition:
EcalCondDBReader.cc:12
edm::ParameterSet
Definition:
ParameterSet.h:48
EcalCondDBReader::Pedestal
Definition:
EcalCondDBReader.h:28
EcalCondDBReader::Cosmic
Definition:
EcalCondDBReader.h:26
EcalCondDBReader::Tasks
Tasks
Definition:
EcalCondDBReader.h:24
EcalCondDBReader::verbosity_
int verbosity_
Definition:
EcalCondDBReader.h:48
EcalCondDBReader::getEcalDQMSetupObjects
ecaldqm::EcalDQMSetupObjects const getEcalDQMSetupObjects()
Definition:
EcalCondDBReader.cc:169
edm::Run
Definition:
Run.h:45
ecaldqm::DBReaderWorker
Definition:
DBReaderWorkers.h:14
Generated for CMSSW Reference Manual by
1.8.14