PhysicsTools
RecoUtils
plugins
HLTEventSelector.h
Go to the documentation of this file.
1
#ifndef Workspace_HLTEventSelector_h_
2
#define Workspace_HLTEventSelector_h_
3
7
// Original author: W. Adam, 10/4/08
8
9
// system include files
10
#include <memory>
11
12
// user include files
13
#include "
CommonTools/UtilAlgos/interface/EventSelector.h
"
14
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
15
#include "
FWCore/Framework/interface/Event.h
"
16
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
17
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
18
#include "
FWCore/Utilities/interface/InputTag.h
"
19
20
#include "
DataFormats/Common/interface/TriggerResults.h
"
21
22
#include <vector>
23
#include <string>
24
25
class
HLTEventSelector
:
public
EventSelector
{
26
public
:
27
HLTEventSelector
(
const
edm::ParameterSet
&
pset
,
edm::ConsumesCollector
&& iC) :
HLTEventSelector
(
pset
, iC) {}
28
HLTEventSelector
(
const
edm::ParameterSet
&
pset
,
edm::ConsumesCollector
& iC);
29
bool
select
(
const
edm::Event
&)
const override
;
30
~HLTEventSelector
()
override
{}
31
32
private
:
33
edm::InputTag
triggerResults_
;
34
edm::EDGetTokenT<edm::TriggerResults>
triggerResultsToken_
;
35
std::vector<std::string>
pathNames_
;
36
};
37
#endif
EventSelector.h
TriggerResults.h
edm::EDGetTokenT< edm::TriggerResults >
HLTEventSelector::pathNames_
std::vector< std::string > pathNames_
trigger path names (ORed)
Definition:
HLTEventSelector.h:35
HLTEventSelector::select
bool select(const edm::Event &) const override
decision of the selector module
Definition:
HLTEventSelector.cc:19
HLTEventSelector
Definition:
HLTEventSelector.h:25
HLTEventSelector::~HLTEventSelector
~HLTEventSelector() override
Definition:
HLTEventSelector.h:30
HLTEventSelector::HLTEventSelector
HLTEventSelector(const edm::ParameterSet &pset, edm::ConsumesCollector &&iC)
Definition:
HLTEventSelector.h:27
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
HLTEventSelector::triggerResults_
edm::InputTag triggerResults_
tag for input collection
Definition:
HLTEventSelector.h:33
InputTag.h
HLTEventSelector::triggerResultsToken_
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition:
HLTEventSelector.h:34
Frameworkfwd.h
EventSelector
A selector of events.
Definition:
EventSelector.h:16
ConsumesCollector.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16