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 
23 
27 
28 #include <memory>
29 #include <iostream>
30 #include <fstream>
31 #include <string>
32 #include <vector>
33 #include <map>
34 
35 class DTGeometry;
36 class DTChamberId;
37 class DTLayerId;
38 
40 
41 public:
42 
45 
48 
49 protected:
50 
51  void beginJob();
52  void analyze(const edm::Event& e, const edm::EventSetup& c);
53  void endJob();
54 
56  void bookHistos();
57 
59  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context);
60  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
61 
62  void beginRun(const edm::Run& run, const edm::EventSetup& setup);
63  void endRun(edm::Run const& run, edm::EventSetup const& c);
64 
65 private:
66 
67  int nevents;
68  unsigned int nLumiSegs;
70 
72 
74 
75  //an histogram of efficiency for each wheel, for each quality scenario
78 
79 };
80 
81 #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
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:32
edm::ESHandle< DTGeometry > muonGeom