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 
63  std::vector<std::unique_ptr<GenericTriggerEventFlag> > num_genTriggerEventFlag_;
64  std::vector<std::unique_ptr<GenericTriggerEventFlag> > den_genTriggerEventFlag_;
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< std::unique_ptr< GenericTriggerEventFlag > > den_genTriggerEventFlag_
~HLTTauDQMOfflineSource() override
HLTTauDQMOfflineSource(const edm::ParameterSet &)
std::vector< std::unique_ptr< GenericTriggerEventFlag > > num_genTriggerEventFlag_
std::vector< HLTTauDQMPathPlotter > pathPlotters_
std::vector< std::unique_ptr< HLTTauDQMTagAndProbePlotter > > tagandprobePlotters_
std::unique_ptr< HLTTauDQMPathSummaryPlotter > pathSummaryPlotter_
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: Run.h:43
std::unique_ptr< HLTTauDQML1Plotter > l1Plotter_
void analyze(const edm::Event &e, const edm::EventSetup &c) override