Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
virtual
~PFTauExtractor
(){}
26
28
virtual
void
fillVetos
(
const
edm::Event
&,
const
edm::EventSetup
&,
const
reco::TrackCollection
&) { }
29
virtual
reco::IsoDeposit
deposit
(
const
edm::Event
& evt,
const
edm::EventSetup
& es,
const
reco::Track
& track)
const
{
30
return
depositFromObject
(evt, es, track);
31
}
32
virtual
reco::IsoDeposit
deposit
(
const
edm::Event
& evt,
const
edm::EventSetup
& es,
const
reco::Candidate
& candidate)
const
{
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
EventSetup.h
reco::Candidate
Definition:
Candidate.h:32
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:25
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:13
TrackFwd.h
PFTauExtractor::depositFromObject
reco::IsoDeposit depositFromObject(const edm::Event &, const edm::EventSetup &, const T &) const
Definition:
PFTauExtractor.cc:25
edm::EDGetTokenT< reco::PFTauCollection >
PFTauExtractor::deposit
virtual reco::IsoDeposit deposit(const edm::Event &evt, const edm::EventSetup &es, const reco::Track &track) const
Definition:
PFTauExtractor.h:29
PFTauExtractor::fillVetos
virtual void fillVetos(const edm::Event &, const edm::EventSetup &, const reco::TrackCollection &)
definition of pure virtual functions inherited from IsoDepositExtractor base-class ...
Definition:
PFTauExtractor.h:28
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:44
PFTauExtractor::maxDxyTrack_
double maxDxyTrack_
Definition:
PFTauExtractor.h:41
PFTauExtractor::~PFTauExtractor
virtual ~PFTauExtractor()
Definition:
PFTauExtractor.h:25
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
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:35
CandidateFwd.h
edm::Event
Definition:
Event.h:59
Track.h
T
long double T
Definition:
Basic3DVectorLD.h:57
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:32
PFTauExtractor::deposit
virtual reco::IsoDeposit deposit(const edm::Event &evt, const edm::EventSetup &es, const reco::Candidate &candidate) const
Definition:
PFTauExtractor.h:32
Generated for CMSSW Reference Manual by
1.8.5