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
DQMEDHarvester.h
dqmoffline::l1t::L1TEfficiencyPlotHandler::~L1TEfficiencyPlotHandler
~L1TEfficiencyPlotHandler()
Definition: L1TEfficiencyHarvesting.h:44
dqmoffline::l1t::L1TEfficiencyPlotHandler::L1TEfficiencyPlotHandler
L1TEfficiencyPlotHandler(const edm::ParameterSet &ps, std::string plotName)
Definition: L1TEfficiencyHarvesting.cc:17
dqmoffline::l1t::L1TEfficiencyPlotHandler::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: L1TEfficiencyHarvesting.h:38
ESHandle.h
dqmoffline::l1t::L1TEfficiencyPlotHandler::book
void book(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: L1TEfficiencyHarvesting.cc:35
LuminosityBlock.h
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
dqmoffline::l1t::L1TEfficiencyPlotHandler::outputDir_
std::string outputDir_
Definition: L1TEfficiencyHarvesting.h:55
dqmoffline::l1t::L1TEfficiencyPlotHandlerCollection
std::vector< L1TEfficiencyPlotHandler > L1TEfficiencyPlotHandlerCollection
Definition: L1TEfficiencyHarvesting.h:63
dqm::legacy::DQMStore
Definition: DQMStore.h:727
L1TEGammaDiff_cfi.plotName
plotName
Definition: L1TEGammaDiff_cfi.py:21
dqmoffline::l1t::L1TEfficiencyHarvesting
Definition: L1TEfficiencyHarvesting.h:69
dqmoffline::l1t::L1TEfficiencyPlotHandler::computeEfficiency
void computeEfficiency(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter)
Definition: L1TEfficiencyHarvesting.cc:89
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
dqmoffline::l1t::L1TEfficiencyHarvesting::verbose_
bool verbose_
Definition: L1TEfficiencyHarvesting.h:78
dqmoffline::l1t::L1TEfficiencyPlotHandler
Definition: L1TEfficiencyHarvesting.h:35
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
dqmoffline::l1t::L1TEfficiencyPlotHandler::plotName_
std::string plotName_
Definition: L1TEfficiencyHarvesting.h:56
l1t
delete x;
Definition: CaloConfig.h:22
dqmoffline
Definition: HistDefinition.h:48
dqmoffline::l1t::L1TEfficiencyHarvesting::L1TEfficiencyHarvesting
L1TEfficiencyHarvesting(const edm::ParameterSet &ps)
Definition: L1TEfficiencyHarvesting.cc:106
dqmoffline::l1t::L1TEfficiencyPlotHandler::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: L1TEfficiencyHarvesting.h:37
dqmoffline::l1t::L1TEfficiencyHarvesting::~L1TEfficiencyHarvesting
~L1TEfficiencyHarvesting() override
Definition: L1TEfficiencyHarvesting.cc:121
dqmoffline::l1t::L1TEfficiencyHarvesting::plotHandlers_
L1TEfficiencyPlotHandlerCollection plotHandlers_
Definition: L1TEfficiencyHarvesting.h:80
DQMEDHarvester
Definition: DQMEDHarvester.py:1
Frameworkfwd.h
dqm::implementation::IGetter
Definition: DQMStore.h:484
dqmoffline::l1t::L1TEfficiencyPlotHandler::numeratorSuffix_
std::string numeratorSuffix_
Definition: L1TEfficiencyHarvesting.h:57
dqmoffline::l1t::L1TEfficiencyPlotHandler::denominatorSuffix_
std::string denominatorSuffix_
Definition: L1TEfficiencyHarvesting.h:58
dqm::implementation::IBooker
Definition: DQMStore.h:43
dqmoffline::l1t::L1TEfficiencyPlotHandler::numeratorDir_
std::string numeratorDir_
Definition: L1TEfficiencyHarvesting.h:53
ParameterSet.h
dqmoffline::l1t::L1TEfficiencyPlotHandler::h_efficiency_
MonitorElement * h_efficiency_
Definition: L1TEfficiencyHarvesting.h:60
dqmoffline::l1t::L1TEfficiencyPlotHandler::denominatorDir_
std::string denominatorDir_
Definition: L1TEfficiencyHarvesting.h:54
dqmoffline::l1t::L1TEfficiencyHarvesting::dqmEndJob
void dqmEndJob(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter) override
Definition: L1TEfficiencyHarvesting.cc:124