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 
30 
31 #include <TString.h>
32 
33 #include <iostream>
34 #include <fstream>
35 #include <vector>
36 
37 //
38 // Efficiency helper class declaration
39 //
40 
42 
43  public:
44 
46  m_dir(dir), m_plotName(plotName), m_effHisto(0) { };
47 
49 
51 
52  // book efficiency histo
53  void book(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter);
54 
55  // compute efficiency
56  void computeEfficiency(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter);
57 
58  private :
59 
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  virtual void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override;
81  virtual void dqmEndLuminosityBlock(DQMStore::IGetter &igetter, edm::LuminosityBlock const& lumiBlock, edm::EventSetup const& c);
82 
83 private:
84 
85  // bool
86  bool m_verbose;
87 
88  std::vector<L1TEfficiencyPlotHandler> m_plotHandlers;
89 
90 };
91 
92 #endif
L1TEfficiencyPlotHandler(std::string dir, std::string plotName)
L1TEfficiency_Harvesting(const edm::ParameterSet &ps)
virtual void dqmEndLuminosityBlock(DQMStore::IGetter &igetter, edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c)
virtual void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override
std::vector< L1TEfficiencyPlotHandler > m_plotHandlers
void book(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
dbl *** dir
Definition: mlp_gen.cc:35
void computeEfficiency(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)