CMS 3D CMS Logo

EcalDQMStatusWriter.h
Go to the documentation of this file.
1 #ifndef DQM_EcalMonitorDbModule_EcalDQMStatusWriter_h
2 #define DQM_EcalMonitorDbModule_EcalDQMStatusWriter_h
3 
5 
8 
11 
12 #include <fstream>
13 
14 class EcalDQMStatusWriter : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
15 public:
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  void endRun(edm::Run const &, edm::EventSetup const &) override;
23 
26  unsigned firstRun_;
27  std::ifstream inputFile_;
28 
31  void setElectronicsMap(edm::EventSetup const &);
33 };
34 
35 #endif
void endRun(edm::Run const &, edm::EventSetup const &) override
void analyze(edm::Event const &, edm::EventSetup const &) override
void setElectronicsMap(edm::EventSetup const &)
EcalDQMChannelStatus channelStatus_
edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd > elecMapHandle_
EcalDQMStatusWriter(edm::ParameterSet const &)
EcalDQMTowerStatus towerStatus_
EcalElectronicsMapping const * GetElectronicsMap()
Definition: Run.h:45
void beginRun(edm::Run const &, edm::EventSetup const &) override
EcalElectronicsMapping const * electronicsMap_