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
{
22
public
:
23
24
explicit
PFTauExtractor
(
const
edm::ParameterSet
&,
edm::ConsumesCollector
&& iC);
25
~PFTauExtractor
()
override
{}
26
28
void
fillVetos
(
const
edm::Event
&,
const
edm::EventSetup
&,
const
reco::TrackCollection
&)
override
{ }
29
reco::IsoDeposit
deposit
(
const
edm::Event
& evt,
const
edm::EventSetup
& es,
const
reco::Track
&
track
)
const override
{
30
return
depositFromObject
(evt, es, track);
31
}
32
reco::IsoDeposit
deposit
(
const
edm::Event
& evt,
const
edm::EventSetup
& es,
const
reco::Candidate
& candidate)
const override
{
33
return
depositFromObject
(evt, es, candidate);
34
}
35
36
private
:
37
39
edm::EDGetTokenT<reco::PFTauCollection>
tauSourceToken_
;
40
edm::EDGetTokenT<edm::View<reco::Candidate>
>
candidateSourceToken_
;
41
double
maxDxyTrack_
;
42
double
maxDzTrack_
;
43
double
dRmatchPFTau_
;
44
double
dRVetoCone_
;
45
double
dRIsoCone_
;
46
double
dRvetoPFTauSignalConeConstituents_
;
47
50
template
<
typename
T>
51
reco::IsoDeposit
depositFromObject
(
const
edm::Event
&,
const
edm::EventSetup
&,
const
T
&)
const
;
52
53
};
54
55
#endif
PFTauExtractor::dRvetoPFTauSignalConeConstituents_
double dRvetoPFTauSignalConeConstituents_
Definition:
PFTauExtractor.h:46
PFTauFwd.h
reco::IsoDeposit
Definition:
IsoDeposit.h:46
PFTauExtractor::dRIsoCone_
double dRIsoCone_
Definition:
PFTauExtractor.h:45
PFTau.h
PFTauExtractor
Definition:
PFTauExtractor.h:20
PFTauExtractor::dRVetoCone_
double dRVetoCone_
Definition:
PFTauExtractor.h:44
Event.h
PFTauExtractor::~PFTauExtractor
~PFTauExtractor() override
Definition:
PFTauExtractor.h:25
EventSetup.h
reco::Candidate
Definition:
Candidate.h:28
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:25
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:15
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:39
Candidate.h
PFTauExtractor::maxDzTrack_
double maxDzTrack_
Definition:
PFTauExtractor.h:42
PFTauExtractor::candidateSourceToken_
edm::EDGetTokenT< edm::View< reco::Candidate > > candidateSourceToken_
Definition:
PFTauExtractor.h:40
edm::EventSetup
Definition:
EventSetup.h:57
PFTauExtractor::maxDxyTrack_
double maxDxyTrack_
Definition:
PFTauExtractor.h:41
PFTauExtractor::deposit
reco::IsoDeposit deposit(const edm::Event &evt, const edm::EventSetup &es, const reco::Track &track) const override
Definition:
PFTauExtractor.h:29
HiIsolationCommonParameters_cff.track
track
Definition:
HiIsolationCommonParameters_cff.py:9
PFTauExtractor::PFTauExtractor
PFTauExtractor(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
Definition:
PFTauExtractor.cc:12
PFTauExtractor::dRmatchPFTau_
double dRmatchPFTau_
Definition:
PFTauExtractor.h:43
reco::Track
Definition:
Track.h:28
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:28
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:32
edm::Event
Definition:
Event.h:71
Track.h
T
long double T
Definition:
Basic3DVectorLD.h:66
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11