CMS 3D CMS Logo

DTChamberEfficiencyTest.h
Go to the documentation of this file.
1 #ifndef DTChamberEfficiencyTest_H
2 #define DTChamberEfficiencyTest_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  ~DTChamberEfficiencyTest() override;
48 
49 protected:
50  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
51 
53  void bookHistos(DQMStore::IBooker &, const DTChamberId &ch);
54 
57 
60 
64  edm::LuminosityBlock const &,
65  edm::EventSetup const &) override;
66 
67 private:
68  int nevents;
69  unsigned int nLumiSegs;
71  int run;
72 
74 
77 
78  std::map<std::string, MonitorElement *> xEfficiencyHistos;
79  std::map<std::string, MonitorElement *> yEfficiencyHistos;
80  std::map<std::string, MonitorElement *> xVSyEffHistos;
81  std::map<int, MonitorElement *> summaryHistos;
82 };
83 
84 #endif
std::map< std::string, MonitorElement * > xEfficiencyHistos
void bookHistos(DQMStore::IBooker &, const DTChamberId &ch)
book the new ME
std::map< std::string, MonitorElement * > xVSyEffHistos
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.
std::map< std::string, MonitorElement * > yEfficiencyHistos
std::map< int, MonitorElement * > summaryHistos
~DTChamberEfficiencyTest() override
Destructor.
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
edm::ESHandle< DTGeometry > muonGeom
DTChamberEfficiencyTest(const edm::ParameterSet &ps)
Constructor.