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 
14 
15 //Plotters
21 
23 
24 #include <regex>
25 
26 //
27 // class declaration
28 //
29 
31 public:
33  ~HLTTauDQMOfflineSource() override;
34 
35 protected:
36  void dqmBeginRun(const edm::Run& r, const edm::EventSetup& c) override;
37  void bookHistograms(DQMStore::IBooker& iBooker, const edm::Run& r, const edm::EventSetup& c) override;
38  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
39 
40 private:
46 
47  // For path plotters
52 
54 
56 
57  //Reference
59  struct RefObject {
60  int objID;
62  };
63  std::vector<RefObject> refObjects_;
65  std::vector<edm::ParameterSet> tagAndProbePaths;
66 
67  //DQM Prescaler
68  int counterEvt_; //counter
69  const int prescaleEvt_; //every n events
70 
71  // Plotters
72  std::unique_ptr<HLTTauDQML1Plotter> l1Plotter_;
73  std::vector<HLTTauDQMPathPlotter> pathPlotters_;
74  std::unique_ptr<HLTTauDQMPathSummaryPlotter> pathSummaryPlotter_;
75  std::vector<std::unique_ptr<HLTTauDQMTagAndProbePlotter> > tagandprobePlotters_;
76 };
77 
78 #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