HLTrigger
HLTfilters
plugins
HLTFiltCand.h
Go to the documentation of this file.
1
#ifndef HLTFiltCand_h
2
#define HLTFiltCand_h
3
16
#include "
HLTrigger/HLTcore/interface/HLTFilter.h
"
17
#include "
DataFormats/RecoCandidate/interface/RecoEcalCandidate.h
"
18
#include "
DataFormats/RecoCandidate/interface/RecoEcalCandidateFwd.h
"
19
#include "
DataFormats/EgammaCandidates/interface/Electron.h
"
20
#include "
DataFormats/EgammaCandidates/interface/ElectronFwd.h
"
21
#include "
DataFormats/RecoCandidate/interface/RecoChargedCandidate.h
"
22
#include "
DataFormats/RecoCandidate/interface/RecoChargedCandidateFwd.h
"
23
#include "
DataFormats/JetReco/interface/CaloJet.h
"
24
#include "
DataFormats/JetReco/interface/CaloJetCollection.h
"
25
#include "
DataFormats/Candidate/interface/CompositeCandidate.h
"
26
#include "
DataFormats/Candidate/interface/CompositeCandidateFwd.h
"
27
#include "
DataFormats/METReco/interface/CaloMET.h
"
28
#include "
DataFormats/METReco/interface/CaloMETFwd.h
"
29
#include "
DataFormats/METReco/interface/MET.h
"
30
#include "
DataFormats/METReco/interface/METFwd.h
"
31
32
//
33
// class declaration
34
//
35
36
class
HLTFiltCand
:
public
HLTFilter
{
37
public
:
38
explicit
HLTFiltCand
(
const
edm::ParameterSet
&);
39
~HLTFiltCand
()
override
;
40
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
41
bool
hltFilter
(
edm::Event
&,
42
const
edm::EventSetup
&,
43
trigger::TriggerFilterObjectWithRefs
& filterproduct)
const override
;
44
45
private
:
46
edm::InputTag
photTag_
;
// input tag identifying product containing photons
47
edm::InputTag
elecTag_
;
// input tag identifying product containing electrons
48
edm::InputTag
muonTag_
;
// input tag identifying product containing muons
49
edm::InputTag
tausTag_
;
// input tag identifying product containing taus
50
edm::InputTag
jetsTag_
;
// input tag identifying product containing jets
51
edm::InputTag
metsTag_
;
// input tag identifying product containing METs
52
edm::InputTag
mhtsTag_
;
// input tag identifying product containing HTs
53
edm::InputTag
trckTag_
;
// input tag identifying product containing Tracks
54
edm::InputTag
ecalTag_
;
// input tag identifying product containing SuperClusters
55
56
edm::EDGetTokenT<reco::RecoEcalCandidateCollection>
photToken_
;
// token identifying product containing photons
57
edm::EDGetTokenT<reco::ElectronCollection>
elecToken_
;
// token identifying product containing electrons
58
edm::EDGetTokenT<reco::RecoChargedCandidateCollection>
muonToken_
;
// token identifying product containing muons
59
edm::EDGetTokenT<reco::CaloJetCollection>
tausToken_
;
// token identifying product containing taus
60
edm::EDGetTokenT<reco::CaloJetCollection>
jetsToken_
;
// token identifying product containing jets
61
edm::EDGetTokenT<reco::CaloMETCollection>
metsToken_
;
// token identifying product containing METs
62
edm::EDGetTokenT<reco::METCollection>
mhtsToken_
;
// token identifying product containing HTs
63
edm::EDGetTokenT<reco::RecoChargedCandidateCollection>
trckToken_
;
// token identifying product containing Tracks
64
edm::EDGetTokenT<reco::RecoEcalCandidateCollection>
ecalToken_
;
// token identifying product containing SuperClusters
65
66
double
min_Pt_
;
// min pt cut
67
};
68
69
#endif //HLTFiltCand_h
HLTFiltCand::trckToken_
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > trckToken_
Definition:
HLTFiltCand.h:63
trigger::TriggerFilterObjectWithRefs
Definition:
TriggerFilterObjectWithRefs.h:35
CaloJetCollection.h
HLTFiltCand::muonTag_
edm::InputTag muonTag_
Definition:
HLTFiltCand.h:48
CaloJet.h
CompositeCandidate.h
HLTFiltCand::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
HLTFiltCand.cc:77
HLTFiltCand::muonToken_
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > muonToken_
Definition:
HLTFiltCand.h:58
edm::EDGetTokenT< reco::RecoEcalCandidateCollection >
HLTFiltCand
Definition:
HLTFiltCand.h:36
HLTFiltCand::elecTag_
edm::InputTag elecTag_
Definition:
HLTFiltCand.h:47
HLTFiltCand::metsToken_
edm::EDGetTokenT< reco::CaloMETCollection > metsToken_
Definition:
HLTFiltCand.h:61
HLTFiltCand::photToken_
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > photToken_
Definition:
HLTFiltCand.h:56
HLTFilter
Definition:
HLTFilter.h:28
CaloMETFwd.h
HLTFiltCand::elecToken_
edm::EDGetTokenT< reco::ElectronCollection > elecToken_
Definition:
HLTFiltCand.h:57
CaloMET.h
HLTFilter.h
HLTFiltCand::metsTag_
edm::InputTag metsTag_
Definition:
HLTFiltCand.h:51
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
HLTFiltCand::photTag_
edm::InputTag photTag_
Definition:
HLTFiltCand.h:46
CompositeCandidateFwd.h
ElectronFwd.h
HLTFiltCand::ecalToken_
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > ecalToken_
Definition:
HLTFiltCand.h:64
edm::ParameterSet
Definition:
ParameterSet.h:47
HLTFiltCand::tausToken_
edm::EDGetTokenT< reco::CaloJetCollection > tausToken_
Definition:
HLTFiltCand.h:59
HLTFiltCand::mhtsTag_
edm::InputTag mhtsTag_
Definition:
HLTFiltCand.h:52
HLTFiltCand::jetsTag_
edm::InputTag jetsTag_
Definition:
HLTFiltCand.h:50
edm::EventSetup
Definition:
EventSetup.h:58
HLTFiltCand::ecalTag_
edm::InputTag ecalTag_
Definition:
HLTFiltCand.h:54
HLTFiltCand::mhtsToken_
edm::EDGetTokenT< reco::METCollection > mhtsToken_
Definition:
HLTFiltCand.h:62
MET.h
Electron.h
RecoEcalCandidate.h
HLTFiltCand::jetsToken_
edm::EDGetTokenT< reco::CaloJetCollection > jetsToken_
Definition:
HLTFiltCand.h:60
RecoChargedCandidate.h
METFwd.h
HLTFiltCand::trckTag_
edm::InputTag trckTag_
Definition:
HLTFiltCand.h:53
HLTFiltCand::min_Pt_
double min_Pt_
Definition:
HLTFiltCand.h:66
RecoEcalCandidateFwd.h
HLTFiltCand::tausTag_
edm::InputTag tausTag_
Definition:
HLTFiltCand.h:49
HLTFiltCand::hltFilter
bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
Definition:
HLTFiltCand.cc:94
HLTFiltCand::~HLTFiltCand
~HLTFiltCand() override
edm::Event
Definition:
Event.h:73
RecoChargedCandidateFwd.h
edm::InputTag
Definition:
InputTag.h:15
HLTFiltCand::HLTFiltCand
HLTFiltCand(const edm::ParameterSet &)
Definition:
HLTFiltCand.cc:44
Generated for CMSSW Reference Manual by
1.8.16