CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
DTEfficiencyTest.h
Go to the documentation of this file.
1 #ifndef DTEfficiencyTest_H
2 #define DTEfficiencyTest_H
3 
23 
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 
80 
83 
84  std::map<DTLayerId, MonitorElement *> EfficiencyHistos;
85  std::map<DTLayerId, MonitorElement *> UnassEfficiencyHistos;
86 
87  // wheel summary histograms
88  std::map<int, MonitorElement *> wheelHistos;
89  std::map<int, MonitorElement *> wheelUnassHistos;
90 };
91 
92 #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
DTEfficiencyTest::muonGeomToken_
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
Definition: DTEfficiencyTest.h:81
Service.h
DTEfficiencyTest::run
int run
Definition: DTEfficiencyTest.h:76
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
edm::ParameterSet
Definition: ParameterSet.h:47
DTEfficiencyTest::DTEfficiencyTest
DTEfficiencyTest(const edm::ParameterSet &ps)
Constructor.
Definition: DTEfficiencyTest.cc:30
DTEfficiencyTest::prescaleFactor
int prescaleFactor
Definition: DTEfficiencyTest.h:75
Event.h
DTEfficiencyTest::wheelHistos
std::map< int, MonitorElement * > wheelHistos
Definition: DTEfficiencyTest.h:88
dtResolutionTest_cfi.histoTag
histoTag
Definition: dtResolutionTest_cfi.py:21
DTEfficiencyTest::wheelUnassHistos
std::map< int, MonitorElement * > wheelUnassHistos
Definition: DTEfficiencyTest.h:89
edm::EventSetup
Definition: EventSetup.h:58
DTEfficiencyTest::nevents
int nevents
Definition: DTEfficiencyTest.h:73
edm::ESGetToken< DTGeometry, MuonGeometryRecord >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTEfficiencyTest::muonGeom
const DTGeometry * muonGeom
Definition: DTEfficiencyTest.h:82
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::EfficiencyHistos
std::map< DTLayerId, MonitorElement * > EfficiencyHistos
Definition: DTEfficiencyTest.h:84
DTEfficiencyTest::UnassEfficiencyHistos
std::map< DTLayerId, MonitorElement * > UnassEfficiencyHistos
Definition: DTEfficiencyTest.h:85
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
MuonGeometryRecord.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
DTEfficiencyTest::percentual
int percentual
Definition: DTEfficiencyTest.h:77