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
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
47  const std::regex pathRegex_;
51 
53 
54  //Reference
56  struct RefObject {
57  int objID;
59  };
60  std::vector<RefObject> refObjects_;
62  std::vector<edm::ParameterSet> tagAndProbePaths;
63 
64  //DQM Prescaler
65  int counterEvt_; //counter
66  const int prescaleEvt_; //every n events
67 
68  // Plotters
69  std::unique_ptr<HLTTauDQML1Plotter> l1Plotter_;
70  std::vector<HLTTauDQMPathPlotter> pathPlotters_;
71  std::unique_ptr<HLTTauDQMPathSummaryPlotter> pathSummaryPlotter_;
72  std::vector<std::unique_ptr<HLTTauDQMTagAndProbePlotter> > tagandprobePlotters_;
73 };
74 
75 #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