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 
30 
31 #include <memory>
32 #include <iostream>
33 #include <fstream>
34 #include <string>
35 #include <vector>
36 #include <map>
37 
38 class DTGeometry;
39 class DTChamberId;
40 class DTSuperLayerId;
41 class DTLayerId;
42 
44 public:
47 
49  ~DTChamberEfficiencyTest() override;
50 
51 protected:
52  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
53 
55  void bookHistos(DQMStore::IBooker &, const DTChamberId &ch);
56 
59 
62 
66  edm::LuminosityBlock const &,
67  edm::EventSetup const &) override;
68 
69 private:
70  int nevents;
71  unsigned int nLumiSegs;
73  int run;
74 
76 
78 
81 
82  std::map<std::string, MonitorElement *> xEfficiencyHistos;
83  std::map<std::string, MonitorElement *> yEfficiencyHistos;
84  std::map<std::string, MonitorElement *> xVSyEffHistos;
85  std::map<int, MonitorElement *> summaryHistos;
86 };
87 
88 #endif
DQMEDHarvester.h
DTGeometry
Definition: DTGeometry.h:28
DTSuperLayerId
Definition: DTSuperLayerId.h:12
Handle.h
DTChamberEfficiencyTest::nevents
int nevents
Definition: DTChamberEfficiencyTest.h:70
ESHandle.h
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
LuminosityBlock.h
DTChamberEfficiencyTest::run
int run
Definition: DTChamberEfficiencyTest.h:73
DTChamberEfficiencyTest::bookHistos
void bookHistos(DQMStore::IBooker &, const DTChamberId &ch)
book the new ME
Definition: DTChamberEfficiencyTest.cc:206
DQMStore.h
EDAnalyzer.h
DTChamberEfficiencyTest::getMEName
std::string getMEName(std::string histoTag, const DTChamberId &chID)
Get the ME name.
Definition: DTChamberEfficiencyTest.cc:189
DTChamberEfficiencyTest::prescaleFactor
int prescaleFactor
Definition: DTChamberEfficiencyTest.h:72
MakerMacros.h
DTChamberEfficiencyTest::parameters
edm::ParameterSet parameters
Definition: DTChamberEfficiencyTest.h:77
Service.h
DTChamberEfficiencyTest::xVSyEffHistos
std::map< std::string, MonitorElement * > xVSyEffHistos
Definition: DTChamberEfficiencyTest.h:84
DTChamberEfficiencyTest::yEfficiencyHistos
std::map< std::string, MonitorElement * > yEfficiencyHistos
Definition: DTChamberEfficiencyTest.h:83
DTLayerId
Definition: DTLayerId.h:12
DTChamberEfficiencyTest::nLumiSegs
unsigned int nLumiSegs
Definition: DTChamberEfficiencyTest.h:71
DTChamberEfficiencyTest::muonGeomToken_
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
Definition: DTChamberEfficiencyTest.h:79
DTChamberEfficiencyTest::muonGeom
const DTGeometry * muonGeom
Definition: DTChamberEfficiencyTest.h:80
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:45
Event.h
DTChamberEfficiencyTest::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: DTChamberEfficiencyTest.cc:185
dtResolutionTest_cfi.histoTag
histoTag
Definition: dtResolutionTest_cfi.py:21
DTChamberEfficiencyTest::~DTChamberEfficiencyTest
~DTChamberEfficiencyTest() override
Destructor.
Definition: DTChamberEfficiencyTest.cc:40
edm::EventSetup
Definition: EventSetup.h:58
DTChamberEfficiencyTest::summaryHistos
std::map< int, MonitorElement * > summaryHistos
Definition: DTChamberEfficiencyTest.h:85
edm::ESGetToken< DTGeometry, MuonGeometryRecord >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTChamberEfficiencyTest
Definition: DTChamberEfficiencyTest.h:43
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:28
dqm::implementation::IBooker
Definition: DQMStore.h:43
DTChamberId
Definition: DTChamberId.h:14
ParameterSet.h
MuonGeometryRecord.h
DTChamberEfficiencyTest::xEfficiencyHistos
std::map< std::string, MonitorElement * > xEfficiencyHistos
Definition: DTChamberEfficiencyTest.h:82
DTChamberEfficiencyTest::bookingdone
bool bookingdone
Definition: DTChamberEfficiencyTest.h:75