CMS 3D CMS Logo

HLTPathSelector.h
Go to the documentation of this file.
1 #ifndef DQM_TrackingMonitorSource_HLTPathSelector_h
2 #define DQM_TrackingMonitorSource_HLTPathSelector_h
3 
4 #include <vector>
5 #include <string>
6 #include <map>
7 #include "TPRegexp.h"
8 
15 
17 public:
18  explicit HLTPathSelector(const edm::ParameterSet &);
19 
20 private:
21  void beginRun(edm::Run const &, edm::EventSetup const &) override;
22  bool filter(edm::Event &, edm::EventSetup const &) override;
23  void endJob();
24 
25 private:
26  // module config parameters
27  bool verbose_;
29  const std::vector<std::string> hltPathsOfInterest_;
34 
36 
37  std::map<std::string, unsigned int> hltPathsMap_;
38  std::map<std::string, int> tmap_;
39 };
40 #endif
HLTPathSelector::filter
bool filter(edm::Event &, edm::EventSetup const &) override
Definition: HLTPathSelector.cc:50
HLTPathSelector::triggerEventToken_
const edm::EDGetTokenT< trigger::TriggerEvent > triggerEventToken_
Definition: HLTPathSelector.h:33
TriggerResults.h
HLTPathSelector::triggerResultsToken_
const edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: HLTPathSelector.h:32
edm::Run
Definition: Run.h:45
TriggerEvent.h
edm::EDGetTokenT< edm::TriggerResults >
HLTPathSelector::verbose_
bool verbose_
Definition: HLTPathSelector.h:27
HLTPathSelector::endJob
void endJob()
Definition: HLTPathSelector.cc:93
HLTPathSelector::processName_
std::string processName_
Definition: HLTPathSelector.h:28
HLTPathSelector::hltPathsOfInterest_
const std::vector< std::string > hltPathsOfInterest_
Definition: HLTPathSelector.h:29
HLTPathSelector
Definition: HLTPathSelector.h:16
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HLTPathSelector::triggerResultsTag_
edm::InputTag triggerResultsTag_
Definition: HLTPathSelector.h:30
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
HLTPathSelector::hltPathsMap_
std::map< std::string, unsigned int > hltPathsMap_
Definition: HLTPathSelector.h:37
HLTPathSelector::HLTPathSelector
HLTPathSelector(const edm::ParameterSet &)
Definition: HLTPathSelector.cc:11
edm::EventSetup
Definition: EventSetup.h:57
HLTConfigProvider.h
HLTPathSelector::triggerEventTag_
edm::InputTag triggerEventTag_
Definition: HLTPathSelector.h:31
HLTConfigProvider
Definition: HLTConfigProvider.h:29
HLTPathSelector::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition: HLTPathSelector.cc:21
EDFilter.h
ParameterSet.h
HLTPathSelector::hltConfig_
HLTConfigProvider hltConfig_
Definition: HLTPathSelector.h:35
edm::stream::EDFilter
Definition: EDFilter.h:38
HLTPathSelector::tmap_
std::map< std::string, int > tmap_
Definition: HLTPathSelector.h:38
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15