CMS 3D CMS Logo

DTEfficiencyTest.h
Go to the documentation of this file.
1 #ifndef DTEfficiencyTest_H
2 #define DTEfficiencyTest_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  ~DTEfficiencyTest() override;
48 
49 protected:
51  void beginRun(const edm::Run &r, const edm::EventSetup &c) override;
52 
53  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
54 
56 
57  void bookHistos(DQMStore::IBooker &, const DTLayerId &ch, int firstWire, int lastWire);
58 
60  void bookHistos(DQMStore::IBooker &, int wh);
61 
64 
66 
69  edm::LuminosityBlock const &,
70  edm::EventSetup const &) override;
71 
72 private:
73  int nevents;
74  unsigned int nLumiSegs;
76  int run;
78 
81 
82  std::map<DTLayerId, MonitorElement *> EfficiencyHistos;
83  std::map<DTLayerId, MonitorElement *> UnassEfficiencyHistos;
84 
85  // wheel summary histograms
86  std::map<int, MonitorElement *> wheelHistos;
87  std::map<int, MonitorElement *> wheelUnassHistos;
88 };
89 
90 #endif
DQMEDHarvester.h
DTGeometry
Definition: DTGeometry.h:28
DTSuperLayerId
Definition: DTSuperLayerId.h:12
Handle.h
DTEfficiencyTest
Definition: DTEfficiencyTest.h:41
DTEfficiencyTest::~DTEfficiencyTest
~DTEfficiencyTest() override
Destructor.
Definition: DTEfficiencyTest.cc:41
ESHandle.h
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
LuminosityBlock.h
DQMStore.h
EDAnalyzer.h
DTEfficiencyTest::parameters
edm::ParameterSet parameters
Definition: DTEfficiencyTest.h:79
MakerMacros.h
Service.h
DTEfficiencyTest::run
int run
Definition: DTEfficiencyTest.h:76
edm::ESHandle< DTGeometry >
DTEfficiencyTest::bookHistos
void bookHistos(DQMStore::IBooker &, const DTLayerId &ch, int firstWire, int lastWire)
book the new ME
Definition: DTEfficiencyTest.cc:347
DTLayerId
Definition: DTLayerId.h:12
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
DTEfficiencyTest::DTEfficiencyTest
DTEfficiencyTest(const edm::ParameterSet &ps)
Constructor.
Definition: DTEfficiencyTest.cc:31
DTEfficiencyTest::prescaleFactor
int prescaleFactor
Definition: DTEfficiencyTest.h:75
Event.h
DTEfficiencyTest::wheelHistos
std::map< int, MonitorElement * > wheelHistos
Definition: DTEfficiencyTest.h:86
dtResolutionTest_cfi.histoTag
histoTag
Definition: dtResolutionTest_cfi.py:21
DTEfficiencyTest::wheelUnassHistos
std::map< int, MonitorElement * > wheelUnassHistos
Definition: DTEfficiencyTest.h:87
edm::EventSetup
Definition: EventSetup.h:58
DTEfficiencyTest::nevents
int nevents
Definition: DTEfficiencyTest.h:73
alignCSCRings.r
r
Definition: alignCSCRings.py:93
DQMEDHarvester
Definition: DQMEDHarvester.py:1
DTEfficiencyTest::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
DQM Client Diagnostic.
Definition: DTEfficiencyTest.cc:54
Frameworkfwd.h
dqm::implementation::IGetter
Definition: DQMStore.h:484
DTEfficiencyTest::getMEName
std::string getMEName(std::string histoTag, const DTLayerId &lID)
Get the ME name.
Definition: DTEfficiencyTest.cc:325
DTEfficiencyTest::muonGeom
edm::ESHandle< DTGeometry > muonGeom
Definition: DTEfficiencyTest.h:80
DTEfficiencyTest::EfficiencyHistos
std::map< DTLayerId, MonitorElement * > EfficiencyHistos
Definition: DTEfficiencyTest.h:82
DTEfficiencyTest::UnassEfficiencyHistos
std::map< DTLayerId, MonitorElement * > UnassEfficiencyHistos
Definition: DTEfficiencyTest.h:83
DTEfficiencyTest::beginRun
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
beginrun
Definition: DTEfficiencyTest.cc:45
dqm::implementation::IBooker
Definition: DQMStore.h:43
DTEfficiencyTest::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: DTEfficiencyTest.cc:321
DTEfficiencyTest::nLumiSegs
unsigned int nLumiSegs
Definition: DTEfficiencyTest.h:74
DTChamberId
Definition: DTChamberId.h:14
ParameterSet.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
DTEfficiencyTest::percentual
int percentual
Definition: DTEfficiencyTest.h:77