CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTChamberEfficiencyClient.h
Go to the documentation of this file.
1 #ifndef DTChamberEfficiencyClient_H
2 #define DTChamberEfficiencyClient_H
3 
4 
21 
25 
26 #include <memory>
27 #include <iostream>
28 #include <fstream>
29 #include <string>
30 #include <vector>
31 #include <map>
32 
33 class DTGeometry;
34 class DTChamberId;
35 class DTLayerId;
36 
38 
39 public:
40 
43 
46 
47 protected:
48 
49  void beginJob();
50  void analyze(const edm::Event& e, const edm::EventSetup& c);
51  void endJob();
52 
54  void bookHistos();
55 
57  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context);
58  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
59 
60  void beginRun(const edm::Run& run, const edm::EventSetup& setup);
61  void endRun(edm::Run const& run, edm::EventSetup const& c);
62 
63 private:
64 
65  int nevents;
66  unsigned int nLumiSegs;
68 
70 
72 
73  //an histogram of efficiency for each wheel, for each quality scenario
76 
78  std::map<int, MonitorElement*> EffDistrPerWh;
79 
80 };
81 
82 #endif
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
DQM Client Diagnostic.
void beginRun(const edm::Run &run, const edm::EventSetup &setup)
virtual ~DTChamberEfficiencyClient()
Destructor.
void endRun(edm::Run const &run, edm::EventSetup const &c)
void analyze(const edm::Event &e, const edm::EventSetup &c)
void bookHistos()
book the report summary
std::map< int, MonitorElement * > EffDistrPerWh
MonitorElement * summaryHistos[5][2]
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
DTChamberEfficiencyClient(const edm::ParameterSet &ps)
Constructor.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
Definition: Run.h:41
edm::ESHandle< DTGeometry > muonGeom