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
48  const std::regex pathRegex_;
52 
54 
55  //Reference
57  struct RefObject {
58  int objID;
60  };
61  std::vector<RefObject> refObjects_;
63  std::vector<edm::ParameterSet> tagAndProbePaths;
64 
65  //DQM Prescaler
66  int counterEvt_; //counter
67  const int prescaleEvt_; //every n events
68 
69  // Plotters
70  std::unique_ptr<HLTTauDQML1Plotter> l1Plotter_;
71  std::vector<HLTTauDQMPathPlotter> pathPlotters_;
72  std::unique_ptr<HLTTauDQMPathSummaryPlotter> pathSummaryPlotter_;
73  std::vector<std::unique_ptr<HLTTauDQMTagAndProbePlotter> > tagandprobePlotters_;
74 };
75 
76 #endif
HLTTauDQMOfflineSource::ptMax_
const double ptMax_
Definition: HLTTauDQMOfflineSource.h:50
HLTTauDQMOfflineSource::hltMatchDr_
const double hltMatchDr_
Definition: HLTTauDQMOfflineSource.h:50
HLTTauDQMOfflineSource::RefObject::objID
int objID
Definition: HLTTauDQMOfflineSource.h:58
Handle.h
HLTTauDQMOfflineSource::triggerResultsSrc_
edm::InputTag triggerResultsSrc_
Definition: HLTTauDQMOfflineSource.h:41
HLTTauDQMOfflineSource::counterEvt_
int counterEvt_
Definition: HLTTauDQMOfflineSource.h:66
HLTTauDQML1Plotter.h
TriggerResults.h
HLTTauDQMOfflineSource::HLTCP_
HLTConfigProvider HLTCP_
Definition: HLTTauDQMOfflineSource.h:53
HLTTauDQMOfflineSource::pathPlotters_
std::vector< HLTTauDQMPathPlotter > pathPlotters_
Definition: HLTTauDQMOfflineSource.h:71
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< edm::TriggerResults >
HLTTauDQMOfflineSource::pathRegex_
const std::regex pathRegex_
Definition: HLTTauDQMOfflineSource.h:48
HLTTauDQMOfflineSource::HLTTauDQMOfflineSource
HLTTauDQMOfflineSource(const edm::ParameterSet &)
Definition: HLTTauDQMOfflineSource.cc:15
HLTTauDQMOfflineSource::highPtMax_
const double highPtMax_
Definition: HLTTauDQMOfflineSource.h:50
EDAnalyzer.h
HLTTauDQMOfflineSource::prescaleEvt_
const int prescaleEvt_
Definition: HLTTauDQMOfflineSource.h:67
HLTTauDQMOfflineSource::tagandprobePlotters_
std::vector< std::unique_ptr< HLTTauDQMTagAndProbePlotter > > tagandprobePlotters_
Definition: HLTTauDQMOfflineSource.h:73
HLTTauDQMOfflineSource::triggerEventSrc_
edm::InputTag triggerEventSrc_
Definition: HLTTauDQMOfflineSource.h:43
GenericTriggerEventFlag.h
HLTTauDQMPathPlotter.h
HLTTauDQMOfflineSource::hltProcessName_
std::string hltProcessName_
Definition: HLTTauDQMOfflineSource.h:40
DQMEDAnalyzer.h
HLTTauDQMPathSummaryPlotter.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HLTTauDQMOfflineSource::refObjects_
std::vector< RefObject > refObjects_
Definition: HLTTauDQMOfflineSource.h:61
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
HLTTauDQMOfflineSource::bookHistograms
void bookHistograms(DQMStore::IBooker &iBooker, const edm::Run &r, const edm::EventSetup &c) override
Definition: HLTTauDQMOfflineSource.cc:163
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
HLTTauDQMTagAndProbePlotter.h
HLTTauDQMOfflineSource::nEtaBins_
const int nEtaBins_
Definition: HLTTauDQMOfflineSource.h:49
HLTTauDQMOfflineSource::l1Plotter_
std::unique_ptr< HLTTauDQML1Plotter > l1Plotter_
Definition: HLTTauDQMOfflineSource.h:70
HLTTauDQMOfflineSource::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: HLTTauDQMOfflineSource.cc:181
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
HLTConfigProvider.h
HLTTauDQMOfflineSource::dqmBeginRun
void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c) override
Definition: HLTTauDQMOfflineSource.cc:69
HLTTauDQMOfflineSource
Definition: HLTTauDQMOfflineSource.h:29
alignCSCRings.r
r
Definition: alignCSCRings.py:93
HLTTauDQMOfflineSource::triggerResultsToken_
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: HLTTauDQMOfflineSource.h:42
HLTTauDQMOfflineSource::pathRegexString_
const std::string pathRegexString_
Definition: HLTTauDQMOfflineSource.h:47
HLTConfigProvider
Definition: HLTConfigProvider.h:28
HLTTauDQMOfflineSource::dqmBaseFolder_
const std::string dqmBaseFolder_
Definition: HLTTauDQMOfflineSource.h:51
HLTTauDQMOfflineSource::~HLTTauDQMOfflineSource
~HLTTauDQMOfflineSource() override
HLTTauDQMOfflineSource::triggerEventToken_
edm::EDGetTokenT< trigger::TriggerEvent > triggerEventToken_
Definition: HLTTauDQMOfflineSource.h:44
HLTTauDQMOfflineSource::doRefAnalysis_
bool doRefAnalysis_
Definition: HLTTauDQMOfflineSource.h:56
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
HLTTauDQMOfflineSource::tagAndProbe_
bool tagAndProbe_
Definition: HLTTauDQMOfflineSource.h:62
ParameterSet.h
HLTTauDQMOfflineSource::nPtBins_
const int nPtBins_
Definition: HLTTauDQMOfflineSource.h:49
HLTTauDQMOfflineSource::l1MatchDr_
const double l1MatchDr_
Definition: HLTTauDQMOfflineSource.h:50
edm::Event
Definition: Event.h:73
HLTTauDQMOfflineSource::pathSummaryPlotter_
std::unique_ptr< HLTTauDQMPathSummaryPlotter > pathSummaryPlotter_
Definition: HLTTauDQMOfflineSource.h:72
edm::InputTag
Definition: InputTag.h:15
HLTTauDQMOfflineSource::RefObject::token
edm::EDGetTokenT< LVColl > token
Definition: HLTTauDQMOfflineSource.h:59
HLTTauDQMOfflineSource::tagAndProbePaths
std::vector< edm::ParameterSet > tagAndProbePaths
Definition: HLTTauDQMOfflineSource.h:63
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
HLTTauDQMOfflineSource::nPhiBins_
const int nPhiBins_
Definition: HLTTauDQMOfflineSource.h:49
HLTTauDQMOfflineSource::RefObject
Definition: HLTTauDQMOfflineSource.h:57