CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTChamberEfficiencyTest.h
Go to the documentation of this file.
1 #ifndef DTChamberEfficiencyTest_H
2 #define DTChamberEfficiencyTest_H
3 
23 
26 
28 
30 
31 #include <memory>
32 #include <iostream>
33 #include <fstream>
34 #include <string>
35 #include <vector>
36 #include <map>
37 
38 class DTGeometry;
39 class DTChamberId;
40 class DTSuperLayerId;
41 class DTLayerId;
42 
44 public:
47 
49  ~DTChamberEfficiencyTest() override;
50 
51 protected:
52  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
53 
55  void bookHistos(DQMStore::IBooker &, const DTChamberId &ch);
56 
59 
61  std::string getMEName(std::string histoTag, const DTChamberId &chID);
62 
66  edm::LuminosityBlock const &,
67  edm::EventSetup const &) override;
68 
69 private:
70  int nevents;
71  unsigned int nLumiSegs;
73  int run;
74 
76 
78 
81 
82  std::map<std::string, MonitorElement *> xEfficiencyHistos;
83  std::map<std::string, MonitorElement *> yEfficiencyHistos;
84  std::map<std::string, MonitorElement *> xVSyEffHistos;
85  std::map<int, MonitorElement *> summaryHistos;
86 };
87 
88 #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.
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
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
DTChamberEfficiencyTest(const edm::ParameterSet &ps)
Constructor.