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 using namespace edm;
41 using namespace std;
42 
44 
45  public:
46 
48  m_dir(dir), m_plotName(plotName), m_effHisto(0) { };
49 
51 
53 
54  // book efficiency histo
55  void book(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter);
56 
57  // compute efficiency
58  void computeEfficiency(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter);
59 
60  private :
61 
64 
66 
67 };
68 
69 //
70 // DQM class declaration
71 //
72 
74 
75 public:
76 
77  L1TEfficiency_Harvesting(const edm::ParameterSet& ps); // Constructor
78  virtual ~L1TEfficiency_Harvesting(); // Destructor
79 
80 protected:
81 
82  virtual void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override;
83  virtual void dqmEndLuminosityBlock(DQMStore::IGetter &igetter, edm::LuminosityBlock const& lumiBlock, edm::EventSetup const& c);
84 
85 private:
86 
87  // bool
88  bool m_verbose;
89 
90  std::vector<L1TEfficiencyPlotHandler> m_plotHandlers;
91 
92 };
93 
94 #endif
L1TEfficiencyPlotHandler(std::string dir, std::string plotName)
std::vector< L1TEfficiencyPlotHandler > m_plotHandlers
dbl *** dir
Definition: mlp_gen.cc:35