DQM
EcalMonitorDbModule
interface
EcalDQMStatusWriter.h
Go to the documentation of this file.
1
#ifndef EcalDQMStatusWriter_H
2
#define EcalDQMStatusWriter_H
3
4
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
5
6
#include "
CondFormats/EcalObjects/interface/EcalDQMChannelStatus.h
"
7
#include "
CondFormats/EcalObjects/interface/EcalDQMTowerStatus.h
"
8
9
#include "
Geometry/EcalMapping/interface/EcalElectronicsMapping.h
"
10
#include "
Geometry/EcalMapping/interface/EcalMappingRcd.h
"
11
12
#include <fstream>
13
14
class
EcalDQMStatusWriter
:
public
edm::EDAnalyzer
{
15
public
:
16
EcalDQMStatusWriter
(
edm::ParameterSet
const
&);
17
~EcalDQMStatusWriter
()
override
{}
18
19
private
:
20
void
analyze
(
edm::Event
const
&,
edm::EventSetup
const
&)
override
;
21
void
beginRun
(
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
22
23
EcalDQMChannelStatus
channelStatus_
;
24
EcalDQMTowerStatus
towerStatus_
;
25
unsigned
firstRun_
;
26
std::ifstream
inputFile_
;
27
28
EcalElectronicsMapping
const
*
electronicsMap
;
29
void
setElectronicsMap
(
edm::EventSetup
const
&);
30
EcalElectronicsMapping
const
*
GetElectronicsMap
();
31
};
32
33
#endif
EcalElectronicsMapping
Definition:
EcalElectronicsMapping.h:28
edm::Run
Definition:
Run.h:45
EcalDQMStatusWriter::GetElectronicsMap
const EcalElectronicsMapping * GetElectronicsMap()
Definition:
EcalDQMStatusWriter.cc:49
EcalDQMTowerStatus.h
EcalDQMStatusWriter::setElectronicsMap
void setElectronicsMap(edm::EventSetup const &)
Definition:
EcalDQMStatusWriter.cc:43
EDAnalyzer.h
EcalDQMStatusWriter::electronicsMap
const EcalElectronicsMapping * electronicsMap
Definition:
EcalDQMStatusWriter.h:28
EcalDQMStatusWriter::towerStatus_
EcalDQMTowerStatus towerStatus_
Definition:
EcalDQMStatusWriter.h:24
EcalCondObjectContainer
Definition:
EcalCondObjectContainer.h:13
EcalDQMStatusWriter::inputFile_
std::ifstream inputFile_
Definition:
EcalDQMStatusWriter.h:26
EcalDQMStatusWriter::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition:
EcalDQMStatusWriter.cc:23
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
EcalCondTowerObjectContainer
Definition:
EcalCondTowerObjectContainer.h:13
EcalMappingRcd.h
EcalDQMStatusWriter::~EcalDQMStatusWriter
~EcalDQMStatusWriter() override
Definition:
EcalDQMStatusWriter.h:17
edm::ParameterSet
Definition:
ParameterSet.h:47
EcalDQMStatusWriter::analyze
void analyze(edm::Event const &, edm::EventSetup const &) override
Definition:
EcalDQMStatusWriter.cc:32
EcalElectronicsMapping.h
edm::EventSetup
Definition:
EventSetup.h:58
EcalDQMStatusWriter::firstRun_
unsigned firstRun_
Definition:
EcalDQMStatusWriter.h:25
EcalDQMStatusWriter::EcalDQMStatusWriter
EcalDQMStatusWriter(edm::ParameterSet const &)
Definition:
EcalDQMStatusWriter.cc:14
EcalDQMStatusWriter
Definition:
EcalDQMStatusWriter.h:14
EcalDQMStatusWriter::channelStatus_
EcalDQMChannelStatus channelStatus_
Definition:
EcalDQMStatusWriter.h:23
EcalDQMChannelStatus.h
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16