Main Page
Namespaces
Classes
Package Documentation
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::dRvetoPFTauSignalConeConstituents_
double dRvetoPFTauSignalConeConstituents_
Definition:
PFTauExtractor.h:45
PFTauFwd.h
reco::IsoDeposit
Definition:
IsoDeposit.h:49
PFTauExtractor::dRIsoCone_
double dRIsoCone_
Definition:
PFTauExtractor.h:44
PFTau.h
PFTauExtractor
Definition:
PFTauExtractor.h:20
PFTauExtractor::dRVetoCone_
double dRVetoCone_
Definition:
PFTauExtractor.h:43
Event.h
PFTauExtractor::~PFTauExtractor
~PFTauExtractor() override
Definition:
PFTauExtractor.h:23
EventSetup.h
reco::Candidate
Definition:
Candidate.h:28
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:24
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:14
TrackFwd.h
PFTauExtractor::depositFromObject
reco::IsoDeposit depositFromObject(const edm::Event &, const edm::EventSetup &, const T &) const
Definition:
PFTauExtractor.cc:25
edm::EDGetTokenT< reco::PFTauCollection >
ParameterSet.h
PFTauExtractor::tauSourceToken_
edm::EDGetTokenT< reco::PFTauCollection > tauSourceToken_
configuration parameters
Definition:
PFTauExtractor.h:38
Candidate.h
PFTauExtractor::maxDzTrack_
double maxDzTrack_
Definition:
PFTauExtractor.h:41
PFTauExtractor::candidateSourceToken_
edm::EDGetTokenT< edm::View< reco::Candidate > > candidateSourceToken_
Definition:
PFTauExtractor.h:39
edm::EventSetup
Definition:
EventSetup.h:57
PFTauExtractor::maxDxyTrack_
double maxDxyTrack_
Definition:
PFTauExtractor.h:40
PFTauExtractor::deposit
reco::IsoDeposit deposit(const edm::Event &evt, const edm::EventSetup &es, const reco::Track &track) const override
Definition:
PFTauExtractor.h:27
PFTauExtractor::PFTauExtractor
PFTauExtractor(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
Definition:
PFTauExtractor.cc:12
PFTauExtractor::dRmatchPFTau_
double dRmatchPFTau_
Definition:
PFTauExtractor.h:42
reco::Track
Definition:
Track.h:27
IsoDeposit.h
IsoDepositExtractor.h
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
edm::ParameterSet
Definition:
ParameterSet.h:36
CandidateFwd.h
PFTauExtractor::deposit
reco::IsoDeposit deposit(const edm::Event &evt, const edm::EventSetup &es, const reco::Candidate &candidate) const override
Definition:
PFTauExtractor.h:30
edm::Event
Definition:
Event.h:72
Track.h
T
long double T
Definition:
Basic3DVectorLD.h:48
ConsumesCollector.h
HLT_2018_cff.track
track
Definition:
HLT_2018_cff.py:10339
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11