CMS 3D CMS Logo

DTChamberEfficiencyTest.h
Go to the documentation of this file.
1 #ifndef DTChamberEfficiencyTest_H
2 #define DTChamberEfficiencyTest_H
3 
4 
25 
29 
31 
32 #include <memory>
33 #include <iostream>
34 #include <fstream>
35 #include <string>
36 #include <vector>
37 #include <map>
38 
39 class DTGeometry;
40 class DTChamberId;
41 class DTSuperLayerId;
42 class DTLayerId;
43 
45 
46 public:
47 
50 
52  ~DTChamberEfficiencyTest() override;
53 
54 protected:
55 
56  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
57 
59  void bookHistos(DQMStore::IBooker &, const DTChamberId & ch);
60 
63 
65  std::string getMEName(std::string histoTag, const DTChamberId & chID);
66 
69 
70 
71 
72 private:
73 
74  int nevents;
75  unsigned int nLumiSegs;
77  int run;
78 
80 
83 
84  std::map< std::string , MonitorElement* > xEfficiencyHistos;
85  std::map< std::string , MonitorElement* > yEfficiencyHistos;
86  std::map< std::string , MonitorElement* > xVSyEffHistos;
87  std::map< int, MonitorElement* > summaryHistos;
88 
89 };
90 
91 #endif
std::map< std::string, MonitorElement * > yEfficiencyHistos
void bookHistos(DQMStore::IBooker &, const DTChamberId &ch)
book the new ME
std::map< std::string, MonitorElement * > xEfficiencyHistos
std::map< int, MonitorElement * > summaryHistos
std::string getMEName(std::string histoTag, const DTChamberId &chID)
Get the ME name.
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
DQM Client Diagnostic.
~DTChamberEfficiencyTest() override
Destructor.
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
std::map< std::string, MonitorElement * > xVSyEffHistos
edm::ESHandle< DTGeometry > muonGeom
DTChamberEfficiencyTest(const edm::ParameterSet &ps)
Constructor.