PhysicsTools
IsolationAlgos
plugins
PFTauExtractor.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_IsolationAlgos_PFTauExtractor_H
2
#define PhysicsTools_IsolationAlgos_PFTauExtractor_H
3
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/Framework/interface/EventSetup.h
"
6
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
7
#include "
FWCore/Utilities/interface/InputTag.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
10
#include "
PhysicsTools/IsolationAlgos/interface/IsoDepositExtractor.h
"
11
12
#include "
DataFormats/TrackReco/interface/Track.h
"
13
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
14
#include "
DataFormats/Candidate/interface/Candidate.h
"
15
#include "
DataFormats/Candidate/interface/CandidateFwd.h
"
16
#include "
DataFormats/RecoCandidate/interface/IsoDeposit.h
"
17
#include "
DataFormats/TauReco/interface/PFTau.h
"
18
#include "
DataFormats/TauReco/interface/PFTauFwd.h
"
19
20
class
PFTauExtractor
:
public
reco::isodeposit::IsoDepositExtractor
{
21
public
:
22
explicit
PFTauExtractor
(
const
edm::ParameterSet
&,
edm::ConsumesCollector
&& iC);
23
~PFTauExtractor
()
override
{}
24
26
void
fillVetos
(
const
edm::Event
&,
const
edm::EventSetup
&,
const
reco::TrackCollection
&)
override
{}
27
reco::IsoDeposit
deposit
(
const
edm::Event
& evt,
const
edm::EventSetup
& es,
const
reco::Track
&
track
)
const override
{
28
return
depositFromObject
(evt, es,
track
);
29
}
30
reco::IsoDeposit
deposit
(
const
edm::Event
& evt,
31
const
edm::EventSetup
& es,
32
const
reco::Candidate
& candidate)
const override
{
33
return
depositFromObject
(evt, es, candidate);
34
}
35
36
private
:
38
edm::EDGetTokenT<reco::PFTauCollection>
tauSourceToken_
;
39
edm::EDGetTokenT<edm::View<reco::Candidate>
>
candidateSourceToken_
;
40
double
maxDxyTrack_
;
41
double
maxDzTrack_
;
42
double
dRmatchPFTau_
;
43
double
dRVetoCone_
;
44
double
dRIsoCone_
;
45
double
dRvetoPFTauSignalConeConstituents_
;
46
49
template
<
typename
T>
50
reco::IsoDeposit
depositFromObject
(
const
edm::Event
&,
const
edm::EventSetup
&,
const
T
&)
const
;
51
};
52
53
#endif
PFTauExtractor::maxDxyTrack_
double maxDxyTrack_
Definition:
PFTauExtractor.h:40
PFTauFwd.h
HLT_FULL_cff.track
track
Definition:
HLT_FULL_cff.py:11779
PFTauExtractor::dRIsoCone_
double dRIsoCone_
Definition:
PFTauExtractor.h:44
edm::EDGetTokenT< reco::PFTauCollection >
PFTauExtractor::depositFromObject
reco::IsoDeposit depositFromObject(const edm::Event &, const edm::EventSetup &, const T &) const
Definition:
PFTauExtractor.cc:25
PFTauExtractor::deposit
reco::IsoDeposit deposit(const edm::Event &evt, const edm::EventSetup &es, const reco::Track &track) const override
Definition:
PFTauExtractor.h:27
PFTauExtractor::dRVetoCone_
double dRVetoCone_
Definition:
PFTauExtractor.h:43
PFTauExtractor::dRvetoPFTauSignalConeConstituents_
double dRvetoPFTauSignalConeConstituents_
Definition:
PFTauExtractor.h:45
CandidateFwd.h
Track.h
TrackFwd.h
reco::Track
Definition:
Track.h:27
PFTauExtractor::~PFTauExtractor
~PFTauExtractor() override
Definition:
PFTauExtractor.h:23
PFTauExtractor::deposit
reco::IsoDeposit deposit(const edm::Event &evt, const edm::EventSetup &es, const reco::Candidate &candidate) const override
Definition:
PFTauExtractor.h:30
IsoDeposit.h
PFTauExtractor::tauSourceToken_
edm::EDGetTokenT< reco::PFTauCollection > tauSourceToken_
configuration parameters
Definition:
PFTauExtractor.h:38
IsoDepositExtractor.h
PFTauExtractor::maxDzTrack_
double maxDzTrack_
Definition:
PFTauExtractor.h:41
PFTauExtractor::dRmatchPFTau_
double dRmatchPFTau_
Definition:
PFTauExtractor.h:42
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
PFTauExtractor
Definition:
PFTauExtractor.h:20
edm::EventSetup
Definition:
EventSetup.h:57
PFTauExtractor::fillVetos
void fillVetos(const edm::Event &, const edm::EventSetup &, const reco::TrackCollection &) override
definition of pure virtual functions inherited from IsoDepositExtractor base-class
Definition:
PFTauExtractor.h:26
InputTag.h
reco::Candidate
Definition:
Candidate.h:27
PFTauExtractor::PFTauExtractor
PFTauExtractor(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
Definition:
PFTauExtractor.cc:12
PFTauExtractor::candidateSourceToken_
edm::EDGetTokenT< edm::View< reco::Candidate > > candidateSourceToken_
Definition:
PFTauExtractor.h:39
T
long double T
Definition:
Basic3DVectorLD.h:48
PFTau.h
EventSetup.h
reco::IsoDeposit
Definition:
IsoDeposit.h:49
ConsumesCollector.h
Candidate.h
ParameterSet.h
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:24
edm::Event
Definition:
Event.h:73
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:14
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.16