CMS 3D CMS Logo

DTEfficiencyTest.h
Go to the documentation of this file.
1 #ifndef DTEfficiencyTest_H
2 #define DTEfficiencyTest_H
3 
4 
25 
29 
31 
32 
33 #include <memory>
34 #include <iostream>
35 #include <fstream>
36 #include <string>
37 #include <vector>
38 #include <map>
39 
40 class DTGeometry;
41 class DTChamberId;
42 class DTSuperLayerId;
43 class DTLayerId;
44 
46 
47 public:
48 
51 
53  ~DTEfficiencyTest() override;
54 
55 protected:
56 
58  void beginRun(const edm::Run& r, const edm::EventSetup& c) override;
59 
60  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
61 
63 
64  void bookHistos(DQMStore::IBooker &,const DTLayerId & ch, int firstWire, int lastWire);
65 
67  void bookHistos(DQMStore::IBooker &,int wh);
68 
70  std::string getMEName(std::string histoTag, const DTLayerId & lID);
71 
72 
74 
76 
77 
78 private:
79 
80  int nevents;
81  unsigned int nLumiSegs;
83  int run;
85 
88 
89  std::map< DTLayerId , MonitorElement* > EfficiencyHistos;
90  std::map< DTLayerId , MonitorElement* > UnassEfficiencyHistos;
91 
92  // wheel summary histograms
93  std::map< int, MonitorElement* > wheelHistos;
94  std::map< int, MonitorElement* > wheelUnassHistos;
95 
96 };
97 
98 #endif
std::map< int, MonitorElement * > wheelHistos
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
std::map< int, MonitorElement * > wheelUnassHistos
DTEfficiencyTest(const edm::ParameterSet &ps)
Constructor.
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.
edm::ESHandle< DTGeometry > muonGeom
std::map< DTLayerId, MonitorElement * > EfficiencyHistos
Definition: Run.h:43
std::map< DTLayerId, MonitorElement * > UnassEfficiencyHistos
std::string getMEName(std::string histoTag, const DTLayerId &lID)
Get the ME name.