CMS 3D CMS Logo

HLTTauDQMOfflineSource.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Offline DQM For Tau HLT
3 #ifndef DQMOffline_Trigger_HLTTauDQMOfflineSource_h
4 #define DQMOffline_Trigger_HLTTauDQMOfflineSource_h
5 
13 
14 //Plotters
20 
22 
23 #include <regex>
24 
25 //
26 // class declaration
27 //
28 
30 public:
32  ~HLTTauDQMOfflineSource() override;
33 
34 protected:
35  void dqmBeginRun(const edm::Run& r, const edm::EventSetup& c) override;
36  void bookHistograms(DQMStore::IBooker& iBooker, const edm::Run& r, const edm::EventSetup& c) override;
37  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
38 
39 private:
45 
46  // For path plotters
51 
53 
55 
56  //Reference
58  struct RefObject {
59  int objID;
61  };
62  std::vector<RefObject> refObjects_;
64  std::vector<edm::ParameterSet> tagAndProbePaths;
65 
66  //DQM Prescaler
67  int counterEvt_; //counter
68  const int prescaleEvt_; //every n events
69 
70  // Plotters
71  std::unique_ptr<HLTTauDQML1Plotter> l1Plotter_;
72  std::vector<HLTTauDQMPathPlotter> pathPlotters_;
73  std::unique_ptr<HLTTauDQMPathSummaryPlotter> pathSummaryPlotter_;
74  std::vector<std::unique_ptr<HLTTauDQMTagAndProbePlotter> > tagandprobePlotters_;
75 };
76 
77 #endif
const std::string dqmBaseFolder_
void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c) override
edm::EDGetTokenT< trigger::TriggerEvent > triggerEventToken_
std::vector< RefObject > refObjects_
void bookHistograms(DQMStore::IBooker &iBooker, const edm::Run &r, const edm::EventSetup &c) override
std::vector< edm::ParameterSet > tagAndProbePaths
~HLTTauDQMOfflineSource() override
HLTTauDQMOfflineSource(const edm::ParameterSet &)
std::vector< HLTTauDQMPathPlotter > pathPlotters_
std::vector< std::unique_ptr< HLTTauDQMTagAndProbePlotter > > tagandprobePlotters_
std::unique_ptr< HLTTauDQMPathSummaryPlotter > pathSummaryPlotter_
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: Run.h:45
std::unique_ptr< HLTTauDQML1Plotter > l1Plotter_
void analyze(const edm::Event &e, const edm::EventSetup &c) override