CMS 3D CMS Logo

SiStripOfflineDQM.h
Go to the documentation of this file.
1 #ifndef SiStripMonitorClient_SiStripOfflineDQM_h
2 #define SiStripMonitorClient_SiStripOfflineDQM_h
3 // -*- C++ -*-
4 //
5 // Package: SiStripMonitorClient
6 // Class : SiStripOfflineDQM
7 //
18 //
19 // Original Author: Samvel Khalatyan (ksamdev at gmail dot com)
20 // Created: Wed Oct 5 16:47:14 CET 2006
21 //
22 
23 #include <string>
24 
33 
34 #include <iostream>
35 #include <fstream>
36 #include <string>
37 #include <vector>
38 #include <map>
39 #include <TTree.h>
40 
41 class SiStripDetCabling;
42 
43 class SiStripOfflineDQM : public edm::one::EDProducer<edm::one::WatchLuminosityBlocks,
44  edm::one::WatchRuns,
45  edm::EndRunProducer,
46  edm::EndLuminosityBlockProducer,
47  edm::one::SharedResources> {
48 public:
51 
53 
54 private:
55  void beginJob() override;
56  void beginRun(edm::Run const& run, edm::EventSetup const& eSetup) override;
57  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& iSetup) override{};
58  void produce(edm::Event& e, edm::EventSetup const& eSetup) override;
59  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& iSetup) override;
61  void endRun(edm::Run const& run, edm::EventSetup const& eSetup) override;
62  void endRunProduce(edm::Run&, edm::EventSetup const&) override{};
63  void endJob() override;
64 
65  void checkTrackerFEDs(edm::Event const& e);
66  bool openInputFile(DQMStore& dqm_store);
67 
69 
71 
74  bool const createTkInfoFile_;
80  TTree* tkinfoTree_{nullptr};
81 };
82 #endif
SiStripOfflineDQM::endRun
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition: SiStripOfflineDQM.cc:131
SiStripOfflineDQM::beginLuminosityBlock
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup) override
Definition: SiStripOfflineDQM.h:57
SiStripOfflineDQM::checkTrackerFEDs
void checkTrackerFEDs(edm::Event const &e)
SiStripActionExecutor.h
EDProducer.h
SiStripOfflineDQM::trackerFEDsFound_
bool trackerFEDsFound_
Definition: SiStripOfflineDQM.h:78
ESHandle.h
SiStripOfflineDQM::actionExecutor_
SiStripActionExecutor actionExecutor_
Definition: SiStripOfflineDQM.h:70
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
LuminosityBlock.h
SiStripOfflineDQM::createTkInfoFile_
const bool createTkInfoFile_
Definition: SiStripOfflineDQM.h:74
SiStripOfflineDQM::openInputFile
bool openInputFile(DQMStore &dqm_store)
Definition: SiStripOfflineDQM.cc:190
DQMStore.h
SiStripOfflineDQM::DQMStore
dqm::harvesting::DQMStore DQMStore
Definition: SiStripOfflineDQM.h:50
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
edm::one::EDProducer
Definition: EDProducer.h:30
SiStripOfflineDQM::tkinfoTree_
TTree * tkinfoTree_
Definition: SiStripOfflineDQM.h:80
SiStripOfflineDQM::SiStripOfflineDQM
SiStripOfflineDQM(edm::ParameterSet const &ps)
Definition: SiStripOfflineDQM.cc:54
SiStripOfflineDQM
Definition: SiStripOfflineDQM.h:43
dqm::legacy::DQMStore
Definition: DQMStore.h:727
SiStripOfflineDQM::globalStatusFilling_
int globalStatusFilling_
Definition: SiStripOfflineDQM.h:77
SiStripOfflineDQM::endRunProduce
void endRunProduce(edm::Run &, edm::EventSetup const &) override
Definition: SiStripOfflineDQM.h:62
SiStripOfflineDQM::outputFileName_
const std::string outputFileName_
Definition: SiStripOfflineDQM.h:76
SiStripDetCabling
Definition: SiStripDetCabling.h:21
Run.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripOfflineDQM::usedWithEDMtoMEConverter_
bool usedWithEDMtoMEConverter_
Definition: SiStripOfflineDQM.h:72
SiStripOfflineDQM::endLuminosityBlockProduce
void endLuminosityBlockProduce(edm::LuminosityBlock &, edm::EventSetup const &) override
Definition: SiStripOfflineDQM.h:60
edm::ParameterSet
Definition: ParameterSet.h:36
SiStripOfflineDQM::endLuminosityBlock
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup) override
Definition: SiStripOfflineDQM.cc:121
SiStripOfflineDQM::printFaultyModuleList_
bool printFaultyModuleList_
Definition: SiStripOfflineDQM.h:79
SiStripOfflineDQM::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Definition: SiStripOfflineDQM.cc:91
SiStripOfflineDQM::beginJob
void beginJob() override
Definition: SiStripOfflineDQM.cc:78
edm::EventSetup
Definition: EventSetup.h:57
SiStripOfflineDQM::inputFileName_
const std::string inputFileName_
Definition: SiStripOfflineDQM.h:75
SiStripActionExecutor
Definition: SiStripActionExecutor.h:24
writedatasetfile.run
run
Definition: writedatasetfile.py:27
EventSetup.h
SiStripOfflineDQM::configPar_
const edm::ParameterSet configPar_
Definition: SiStripOfflineDQM.h:68
SiStripOfflineDQM::endJob
void endJob() override
Definition: SiStripOfflineDQM.cc:177
ParameterSet.h
edm::Event
Definition: Event.h:73
SiStripOfflineDQM::produce
void produce(edm::Event &e, edm::EventSetup const &eSetup) override
Definition: SiStripOfflineDQM.cc:119
SiStripOfflineDQM::createSummary_
bool createSummary_
Definition: SiStripOfflineDQM.h:73
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
SiStripOfflineDQM::MonitorElement
dqm::harvesting::MonitorElement MonitorElement
Definition: SiStripOfflineDQM.h:49