CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 
63  std::string getMEName(std::string histoTag, const DTLayerId &lID);
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
const edm::EventSetup & c
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
beginrun
edm::ParameterSet parameters
~DTEfficiencyTest() override
Destructor.
void bookHistos(DQMStore::IBooker &, const DTLayerId &ch, int firstWire, int lastWire)
book the new ME
DTEfficiencyTest(const edm::ParameterSet &ps)
Constructor.
std::map< int, MonitorElement * > wheelHistos
std::map< DTLayerId, MonitorElement * > UnassEfficiencyHistos
std::map< int, MonitorElement * > wheelUnassHistos
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
unsigned int nLumiSegs
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
DQM Client Diagnostic.
std::map< DTLayerId, MonitorElement * > EfficiencyHistos
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
const DTGeometry * muonGeom
Definition: Run.h:45
std::string getMEName(std::string histoTag, const DTLayerId &lID)
Get the ME name.