CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTEfficiencyTest.h
Go to the documentation of this file.
1 #ifndef DTEfficiencyTest_H
2 #define DTEfficiencyTest_H
3 
4 
25 
29 
31 
32 
33 #include <memory>
34 #include <iostream>
35 #include <fstream>
36 #include <string>
37 #include <vector>
38 #include <map>
39 
40 class DTGeometry;
41 class DTChamberId;
42 class DTSuperLayerId;
43 class DTLayerId;
44 
46 
47 public:
48 
51 
53  virtual ~DTEfficiencyTest();
54 
55 protected:
56 
58  void beginRun(const edm::Run& r, const edm::EventSetup& c);
59 
61 
63 
64  void bookHistos(DQMStore::IBooker &,const DTLayerId & ch, int firstWire, int lastWire);
65 
67  void bookHistos(DQMStore::IBooker &,int wh);
68 
70  std::string getMEName(std::string histoTag, const DTLayerId & lID);
71 
72 
74 
76 
77 
78 private:
79 
80  int nevents;
81  unsigned int nLumiSegs;
83  int run;
85 
88 
89  std::map< DTLayerId , MonitorElement* > EfficiencyHistos;
90  std::map< DTLayerId , MonitorElement* > UnassEfficiencyHistos;
91 
92  // wheel summary histograms
93  std::map< int, MonitorElement* > wheelHistos;
94  std::map< int, MonitorElement* > wheelUnassHistos;
95 
96 };
97 
98 #endif
virtual ~DTEfficiencyTest()
Destructor.
std::map< int, MonitorElement * > wheelHistos
edm::ParameterSet parameters
void beginRun(const edm::Run &r, const edm::EventSetup &c)
beginrun
void bookHistos(DQMStore::IBooker &, const DTLayerId &ch, int firstWire, int lastWire)
book the new ME
std::map< int, MonitorElement * > wheelUnassHistos
DTEfficiencyTest(const edm::ParameterSet &ps)
Constructor.
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
DQM Client Diagnostic.
unsigned int nLumiSegs
edm::ESHandle< DTGeometry > muonGeom
std::map< DTLayerId, MonitorElement * > EfficiencyHistos
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)
Definition: Run.h:42
std::map< DTLayerId, MonitorElement * > UnassEfficiencyHistos
std::string getMEName(std::string histoTag, const DTLayerId &lID)
Get the ME name.