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 
68 typedef std::vector<L1TEfficiencyPlotHandler> L1TEfficiencyPlotHandlerCollection;
69 
70 //
71 // DQM class declaration
72 //
73 
75 
76 public:
77 
78  L1TEfficiencyHarvesting(const edm::ParameterSet& ps); // Constructor
79  virtual ~L1TEfficiencyHarvesting(); // Destructor
80 
81 protected:
82 
83  virtual void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override;
84  virtual void dqmEndLuminosityBlock(DQMStore::IGetter &igetter, edm::LuminosityBlock const& lumiBlock,
85  edm::EventSetup const& c);
86 
87 private:
88 
89  bool verbose_;
90 
91  L1TEfficiencyPlotHandlerCollection plotHandlers_;
92 
93 };
94 
95 } //l1t
96 } // dqmoffline
97 
98 #endif
std::vector< L1TEfficiencyPlotHandler > L1TEfficiencyPlotHandlerCollection
delete x;
Definition: CaloConfig.h:22
void computeEfficiency(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
L1TEfficiencyPlotHandler(const edm::ParameterSet &ps, std::string plotName)
L1TEfficiencyPlotHandlerCollection plotHandlers_
void book(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)