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
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:60
Handle.h
HLTTauDQMOfflineSource::triggerResultsSrc_
edm::InputTag triggerResultsSrc_
Definition: HLTTauDQMOfflineSource.h:42
HLTTauDQMOfflineSource::counterEvt_
int counterEvt_
Definition: HLTTauDQMOfflineSource.h:68
HistoWrapper.h
HLTTauDQML1Plotter.h
TriggerResults.h
HLTTauDQMOfflineSource::HLTCP_
HLTConfigProvider HLTCP_
Definition: HLTTauDQMOfflineSource.h:55
HLTTauDQMOfflineSource::pathPlotters_
std::vector< HLTTauDQMPathPlotter > pathPlotters_
Definition: HLTTauDQMOfflineSource.h:73
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< edm::TriggerResults >
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:69
HLTTauDQMOfflineSource::tagandprobePlotters_
std::vector< std::unique_ptr< HLTTauDQMTagAndProbePlotter > > tagandprobePlotters_
Definition: HLTTauDQMOfflineSource.h:75
HLTTauDQMOfflineSource::iWrapper
HistoWrapper * iWrapper
Definition: HLTTauDQMOfflineSource.h:53
HLTTauDQMOfflineSource::triggerEventSrc_
edm::InputTag triggerEventSrc_
Definition: HLTTauDQMOfflineSource.h:44
GenericTriggerEventFlag.h
HLTTauDQMPathPlotter.h
HistoWrapper
Definition: HistoWrapper.h:13
HLTTauDQMOfflineSource::hltProcessName_
std::string hltProcessName_
Definition: HLTTauDQMOfflineSource.h:41
DQMEDAnalyzer.h
HLTTauDQMPathSummaryPlotter.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HLTTauDQMOfflineSource::refObjects_
std::vector< RefObject > refObjects_
Definition: HLTTauDQMOfflineSource.h:63
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
HLTTauDQMOfflineSource::bookHistograms
void bookHistograms(DQMStore::IBooker &iBooker, const edm::Run &r, const edm::EventSetup &c) override
Definition: HLTTauDQMOfflineSource.cc:165
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
HLTTauDQMTagAndProbePlotter.h
HLTTauDQMOfflineSource::nEtaBins_
const int nEtaBins_
Definition: HLTTauDQMOfflineSource.h:49
HLTTauDQMOfflineSource::l1Plotter_
std::unique_ptr< HLTTauDQML1Plotter > l1Plotter_
Definition: HLTTauDQMOfflineSource.h:72
HLTTauDQMOfflineSource::pathRegex_
const std::string pathRegex_
Definition: HLTTauDQMOfflineSource.h:48
HLTTauDQMOfflineSource::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: HLTTauDQMOfflineSource.cc:183
edm::EventSetup
Definition: EventSetup.h:58
HLTConfigProvider.h
HLTTauDQMOfflineSource::dqmBeginRun
void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c) override
Definition: HLTTauDQMOfflineSource.cc:70
HLTTauDQMOfflineSource
Definition: HLTTauDQMOfflineSource.h:30
alignCSCRings.r
r
Definition: alignCSCRings.py:93
HLTTauDQMOfflineSource::triggerResultsToken_
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: HLTTauDQMOfflineSource.h:43
HLTConfigProvider
Definition: HLTConfigProvider.h:29
HLTTauDQMOfflineSource::dqmBaseFolder_
const std::string dqmBaseFolder_
Definition: HLTTauDQMOfflineSource.h:51
HLTTauDQMOfflineSource::~HLTTauDQMOfflineSource
~HLTTauDQMOfflineSource() override
HLTTauDQMOfflineSource::triggerEventToken_
edm::EDGetTokenT< trigger::TriggerEvent > triggerEventToken_
Definition: HLTTauDQMOfflineSource.h:45
HLTTauDQMOfflineSource::doRefAnalysis_
bool doRefAnalysis_
Definition: HLTTauDQMOfflineSource.h:58
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
HLTTauDQMOfflineSource::tagAndProbe_
bool tagAndProbe_
Definition: HLTTauDQMOfflineSource.h:64
ParameterSet.h
HLTTauDQMOfflineSource::nPtBins_
const int nPtBins_
Definition: HLTTauDQMOfflineSource.h:49
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
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:74
edm::InputTag
Definition: InputTag.h:15
HLTTauDQMOfflineSource::RefObject::token
edm::EDGetTokenT< LVColl > token
Definition: HLTTauDQMOfflineSource.h:61
HLTTauDQMOfflineSource::tagAndProbePaths
std::vector< edm::ParameterSet > tagAndProbePaths
Definition: HLTTauDQMOfflineSource.h:65
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
HLTTauDQMOfflineSource::nPhiBins_
const int nPhiBins_
Definition: HLTTauDQMOfflineSource.h:49
HLTTauDQMOfflineSource::RefObject
Definition: HLTTauDQMOfflineSource.h:59