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