CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
44 //-class DTChamberEfficiencyTest: public edm::EDAnalyzer{
46 
47 public:
48 
51 
53  virtual ~DTChamberEfficiencyTest();
54 
55 protected:
56 
57  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
58 
60  void bookHistos(DQMStore::IBooker &, const DTChamberId & ch);
61 
64 
66  std::string getMEName(std::string histoTag, const DTChamberId & chID);
67 
70 
71 
72 
73 private:
74 
75  int nevents;
76  unsigned int nLumiSegs;
78  int run;
79 
81 
84 
85  std::map< std::string , MonitorElement* > xEfficiencyHistos;
86  std::map< std::string , MonitorElement* > yEfficiencyHistos;
87  std::map< std::string , MonitorElement* > xVSyEffHistos;
88  std::map< int, MonitorElement* > summaryHistos;
89 
90 };
91 
92 #endif
std::map< std::string, MonitorElement * > yEfficiencyHistos
void bookHistos(DQMStore::IBooker &, const DTChamberId &ch)
book the new ME
std::map< std::string, MonitorElement * > xEfficiencyHistos
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
DQM Client Diagnostic.
virtual ~DTChamberEfficiencyTest()
Destructor.
std::map< int, MonitorElement * > summaryHistos
std::string getMEName(std::string histoTag, const DTChamberId &chID)
Get the ME name.
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
std::map< std::string, MonitorElement * > xVSyEffHistos
edm::ESHandle< DTGeometry > muonGeom
DTChamberEfficiencyTest(const edm::ParameterSet &ps)
Constructor.