CMS 3D CMS Logo

DTChamberEfficiencyTest.h
Go to the documentation of this file.
1 #ifndef DTChamberEfficiencyTest_H
2 #define DTChamberEfficiencyTest_H
3 
22 
25 
27 
29 
30 #include <memory>
31 #include <iostream>
32 #include <fstream>
33 #include <string>
34 #include <vector>
35 #include <map>
36 
37 class DTGeometry;
38 class DTChamberId;
39 class DTSuperLayerId;
40 class DTLayerId;
41 
43 public:
46 
48  ~DTChamberEfficiencyTest() override;
49 
50 protected:
51  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
52 
54  void bookHistos(DQMStore::IBooker &, const DTChamberId &ch);
55 
58 
61 
65  edm::LuminosityBlock const &,
66  edm::EventSetup const &) override;
67 
68 private:
69  int nevents;
70  unsigned int nLumiSegs;
72  int run;
73 
75 
77 
80 
81  std::map<std::string, MonitorElement *> xEfficiencyHistos;
82  std::map<std::string, MonitorElement *> yEfficiencyHistos;
83  std::map<std::string, MonitorElement *> xVSyEffHistos;
84  std::map<int, MonitorElement *> summaryHistos;
85 };
86 
87 #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.