CMS 3D CMS Logo

L1TEfficiencyHarvesting.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
20 
22 
25 
26 #include <vector>
27 
28 namespace dqmoffline {
29  namespace l1t {
30 
31  //
32  // Efficiency helper class declaration
33  //
34 
36  public:
39 
41 
43 
45 
46  // book efficiency histo
47  void book(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter);
48 
49  // compute efficiency
50  void computeEfficiency(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter);
51 
52  private:
59 
61  };
62 
63  typedef std::vector<L1TEfficiencyPlotHandler> L1TEfficiencyPlotHandlerCollection;
64 
65  //
66  // DQM class declaration
67  //
68 
70  public:
71  L1TEfficiencyHarvesting(const edm::ParameterSet &ps); // Constructor
72  ~L1TEfficiencyHarvesting() override; // Destructor
73 
74  protected:
75  void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override;
76 
77  private:
78  bool verbose_;
79 
81  };
82 
83  } // namespace l1t
84 } // namespace dqmoffline
85 
86 #endif
L1TEfficiencyHarvesting(const edm::ParameterSet &ps)
L1TEfficiencyPlotHandler(const edm::ParameterSet &ps, std::string plotName)
std::vector< L1TEfficiencyPlotHandler > L1TEfficiencyPlotHandlerCollection
delete x;
Definition: CaloConfig.h:22
void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override
L1TEfficiencyPlotHandlerCollection plotHandlers_
void book(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
void computeEfficiency(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)