DQM
EcalMonitorDbModule
interface
EcalCondDBWriter.h
Go to the documentation of this file.
1
#ifndef EcalCondDBWriter_H
2
#define EcalCondDBWriter_H
3
4
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
5
6
#include "
DBWriterWorkers.h
"
7
8
#include "
OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h
"
9
10
class
EcalCondDBWriter
:
public
DQMEDHarvester
{
11
public
:
12
EcalCondDBWriter
(
edm::ParameterSet
const
&);
13
~EcalCondDBWriter
()
override
;
14
15
private
:
16
void
beginRun
(
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
17
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
18
19
// DON'T CHANGE - ORDER MATTERS IN DB
20
enum
Tasks
{
21
Integrity
= 0,
22
Cosmic
= 1,
23
Laser
= 2,
24
Pedestal
= 3,
25
Presample
= 4,
26
TestPulse
= 5,
27
BeamCalo
= 6,
28
BeamHodo
= 7,
29
TriggerPrimitives
= 8,
30
Cluster
= 9,
31
Timing
= 10,
32
Led
= 11,
33
RawData
= 12,
34
Occupancy
= 13,
35
nTasks
= 14
36
};
37
38
int
runNumber_
;
39
EcalCondDBInterface
*
db_
;
40
std::string
location_
;
41
std::string
runType_
;
42
std::string
runGeneralTag_
;
43
std::string
monRunGeneralTag_
;
44
std::vector<std::string>
inputRootFiles_
;
45
ecaldqm::DBWriterWorker
*
workers_
[
nTasks
];
46
ecaldqm::SummaryWriter
summaryWriter_
;
47
48
int
verbosity_
;
49
bool
executed_
;
50
};
51
52
#endif
DQMEDHarvester.h
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
EcalCondDBWriter::TestPulse
Definition:
EcalCondDBWriter.h:26
EcalCondDBWriter::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition:
EcalCondDBWriter.cc:122
EcalCondDBWriter::Occupancy
Definition:
EcalCondDBWriter.h:34
EcalCondDBWriter::TriggerPrimitives
Definition:
EcalCondDBWriter.h:29
edm::Run
Definition:
Run.h:45
EcalCondDBWriter::BeamHodo
Definition:
EcalCondDBWriter.h:28
EcalCondDBWriter::Led
Definition:
EcalCondDBWriter.h:32
EcalCondDBWriter::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
EcalCondDBWriter.cc:128
EcalCondDBWriter::Cluster
Definition:
EcalCondDBWriter.h:30
EcalCondDBWriter::db_
EcalCondDBInterface * db_
Definition:
EcalCondDBWriter.h:39
EcalCondDBWriter::runType_
std::string runType_
Definition:
EcalCondDBWriter.h:41
EcalCondDBWriter::inputRootFiles_
std::vector< std::string > inputRootFiles_
Definition:
EcalCondDBWriter.h:44
EcalCondDBWriter::location_
std::string location_
Definition:
EcalCondDBWriter.h:40
EcalCondDBWriter::monRunGeneralTag_
std::string monRunGeneralTag_
Definition:
EcalCondDBWriter.h:43
EcalCondDBWriter::Tasks
Tasks
Definition:
EcalCondDBWriter.h:20
ecaldqm::DBWriterWorker
Definition:
DBWriterWorkers.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DBWriterWorkers.h
EcalCondDBWriter::RawData
Definition:
EcalCondDBWriter.h:33
EcalCondDBWriter::Timing
Definition:
EcalCondDBWriter.h:31
edm::ParameterSet
Definition:
ParameterSet.h:47
EcalCondDBWriter::verbosity_
int verbosity_
Definition:
EcalCondDBWriter.h:48
EcalCondDBWriter::nTasks
Definition:
EcalCondDBWriter.h:35
EcalCondDBWriter::Pedestal
Definition:
EcalCondDBWriter.h:24
EcalCondDBWriter::runNumber_
int runNumber_
Definition:
EcalCondDBWriter.h:38
EcalCondDBWriter::~EcalCondDBWriter
~EcalCondDBWriter() override
Definition:
EcalCondDBWriter.cc:111
EcalCondDBWriter::workers_
ecaldqm::DBWriterWorker * workers_[nTasks]
Definition:
EcalCondDBWriter.h:45
EcalCondDBWriter::BeamCalo
Definition:
EcalCondDBWriter.h:27
edm::EventSetup
Definition:
EventSetup.h:58
EcalCondDBWriter::summaryWriter_
ecaldqm::SummaryWriter summaryWriter_
Definition:
EcalCondDBWriter.h:46
EcalCondDBWriter::Presample
Definition:
EcalCondDBWriter.h:25
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
EcalCondDBWriter::executed_
bool executed_
Definition:
EcalCondDBWriter.h:49
dqm::implementation::IGetter
Definition:
DQMStore.h:484
EcalCondDBWriter::EcalCondDBWriter
EcalCondDBWriter(edm::ParameterSet const &)
Definition:
EcalCondDBWriter.cc:21
EcalCondDBWriter::Cosmic
Definition:
EcalCondDBWriter.h:22
EcalCondDBWriter::Integrity
Definition:
EcalCondDBWriter.h:21
dqm::implementation::IBooker
Definition:
DQMStore.h:43
EcalCondDBWriter
Definition:
EcalCondDBWriter.h:10
ecaldqm::SummaryWriter
Definition:
DBWriterWorkers.h:121
EcalCondDBWriter::runGeneralTag_
std::string runGeneralTag_
Definition:
EcalCondDBWriter.h:42
EcalCondDBWriter::Laser
Definition:
EcalCondDBWriter.h:23
EcalCondDBInterface.h
Generated for CMSSW Reference Manual by
1.8.16