CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TEfficiency_Harvesting.h
Go to the documentation of this file.
1 #ifndef DQMOFFLINE_L1TRIGGER_L1TEFFICIENCYHARVESTING_H
2 #define DQMOFFLINE_L1TRIGGER_L1TEFFICIENCYHARVESTING_H
3 
11 // system include files
12 #include <memory>
13 #include <unistd.h>
14 
15 // user include files
22 
24 
29 
30 #include <TString.h>
31 
32 #include <iostream>
33 #include <fstream>
34 #include <vector>
35 
36 //
37 // Efficiency helper class declaration
38 //
39 
41 
42  public:
43 
45  m_dir(dir), m_plotName(plotName), m_dbe(dbe), m_effHisto(0) { };
46 
48 
50 
51  // book efficiency histo
52  void book(bool verbose);
53 
54  // compute efficiency
55  void computeEfficiency(bool verbose);
56 
57  private :
58 
62 
64 
65 };
66 
67 //
68 // DQM class declaration
69 //
70 
72 
73 public:
74 
75  L1TEfficiency_Harvesting(const edm::ParameterSet& ps); // Constructor
76  virtual ~L1TEfficiency_Harvesting(); // Destructor
77 
78 protected:
79 
80  // Event
81  void analyze (const edm::Event& e, const edm::EventSetup& c);
82 
83  // Job
84  void beginJob();
85  void endJob ();
86 
87  // Run
88  void beginRun(const edm::Run& run, const edm::EventSetup& iSetup);
89  void endRun (const edm::Run& run, const edm::EventSetup& iSetup);
90 
91  // Luminosity Block
92  virtual void beginLuminosityBlock(edm::LuminosityBlock const& lumiBlock, edm::EventSetup const& c);
93  virtual void endLuminosityBlock (edm::LuminosityBlock const& lumiBlock, edm::EventSetup const& c);
94 
95 private:
96 
97  // bool
98  bool m_verbose;
99 
100  std::vector<L1TEfficiencyPlotHandler> m_plotHandlers;
101 
102 };
103 
104 #endif
L1TEfficiency_Harvesting(const edm::ParameterSet &ps)
virtual void endLuminosityBlock(edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c)
std::vector< L1TEfficiencyPlotHandler > m_plotHandlers
void endRun(const edm::Run &run, const edm::EventSetup &iSetup)
virtual void beginLuminosityBlock(edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c)
L1TEfficiencyPlotHandler(std::string dir, std::string plotName, DQMStore *dbe)
void analyze(const edm::Event &e, const edm::EventSetup &c)
dbl *** dir
Definition: mlp_gen.cc:35
void beginRun(const edm::Run &run, const edm::EventSetup &iSetup)
Definition: Run.h:41