CMS 3D CMS Logo

DTChamberEfficiencyTest.h
Go to the documentation of this file.
1 #ifndef DTChamberEfficiencyTest_H
2 #define DTChamberEfficiencyTest_H
3 
23 
26 
28 
29 #include <memory>
30 #include <iostream>
31 #include <fstream>
32 #include <string>
33 #include <vector>
34 #include <map>
35 
36 class DTGeometry;
37 class DTChamberId;
38 class DTSuperLayerId;
39 class DTLayerId;
40 
42 public:
45 
47  ~DTChamberEfficiencyTest() override;
48 
49 protected:
50  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
51 
53  void bookHistos(DQMStore::IBooker &, const DTChamberId &ch);
54 
57 
60 
64  edm::LuminosityBlock const &,
65  edm::EventSetup const &) override;
66 
67 private:
68  int nevents;
69  unsigned int nLumiSegs;
71  int run;
72 
74 
77 
78  std::map<std::string, MonitorElement *> xEfficiencyHistos;
79  std::map<std::string, MonitorElement *> yEfficiencyHistos;
80  std::map<std::string, MonitorElement *> xVSyEffHistos;
81  std::map<int, MonitorElement *> summaryHistos;
82 };
83 
84 #endif
DQMEDHarvester.h
DTGeometry
Definition: DTGeometry.h:28
DTSuperLayerId
Definition: DTSuperLayerId.h:12
Handle.h
DTChamberEfficiencyTest::nevents
int nevents
Definition: DTChamberEfficiencyTest.h:68
ESHandle.h
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
LuminosityBlock.h
DTChamberEfficiencyTest::run
int run
Definition: DTChamberEfficiencyTest.h:71
DTChamberEfficiencyTest::bookHistos
void bookHistos(DQMStore::IBooker &, const DTChamberId &ch)
book the new ME
Definition: DTChamberEfficiencyTest.cc:207
DQMStore.h
EDAnalyzer.h
DTChamberEfficiencyTest::getMEName
std::string getMEName(std::string histoTag, const DTChamberId &chID)
Get the ME name.
Definition: DTChamberEfficiencyTest.cc:190
DTChamberEfficiencyTest::prescaleFactor
int prescaleFactor
Definition: DTChamberEfficiencyTest.h:70
MakerMacros.h
DTChamberEfficiencyTest::parameters
edm::ParameterSet parameters
Definition: DTChamberEfficiencyTest.h:75
Service.h
edm::ESHandle< DTGeometry >
DTChamberEfficiencyTest::xVSyEffHistos
std::map< std::string, MonitorElement * > xVSyEffHistos
Definition: DTChamberEfficiencyTest.h:80
DTChamberEfficiencyTest::yEfficiencyHistos
std::map< std::string, MonitorElement * > yEfficiencyHistos
Definition: DTChamberEfficiencyTest.h:79
DTLayerId
Definition: DTLayerId.h:12
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTChamberEfficiencyTest::nLumiSegs
unsigned int nLumiSegs
Definition: DTChamberEfficiencyTest.h:69
edm::ParameterSet
Definition: ParameterSet.h:47
DTChamberEfficiencyTest::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
DQM Client Diagnostic.
Definition: DTChamberEfficiencyTest.cc:46
Event.h
DTChamberEfficiencyTest::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: DTChamberEfficiencyTest.cc:186
dtResolutionTest_cfi.histoTag
histoTag
Definition: dtResolutionTest_cfi.py:21
DTChamberEfficiencyTest::~DTChamberEfficiencyTest
~DTChamberEfficiencyTest() override
Destructor.
Definition: DTChamberEfficiencyTest.cc:41
edm::EventSetup
Definition: EventSetup.h:57
DTChamberEfficiencyTest::summaryHistos
std::map< int, MonitorElement * > summaryHistos
Definition: DTChamberEfficiencyTest.h:81
DTChamberEfficiencyTest
Definition: DTChamberEfficiencyTest.h:41
DQMEDHarvester
Definition: DQMEDHarvester.py:1
Frameworkfwd.h
dqm::implementation::IGetter
Definition: DQMStore.h:484
DTChamberEfficiencyTest::DTChamberEfficiencyTest
DTChamberEfficiencyTest(const edm::ParameterSet &ps)
Constructor.
Definition: DTChamberEfficiencyTest.cc:29
dqm::implementation::IBooker
Definition: DQMStore.h:43
DTChamberEfficiencyTest::muonGeom
edm::ESHandle< DTGeometry > muonGeom
Definition: DTChamberEfficiencyTest.h:76
DTChamberId
Definition: DTChamberId.h:14
ParameterSet.h
DTChamberEfficiencyTest::xEfficiencyHistos
std::map< std::string, MonitorElement * > xEfficiencyHistos
Definition: DTChamberEfficiencyTest.h:78
DTChamberEfficiencyTest::bookingdone
bool bookingdone
Definition: DTChamberEfficiencyTest.h:73