CMS 3D CMS Logo

PFTauExtractor.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_IsolationAlgos_PFTauExtractor_H
2 #define PhysicsTools_IsolationAlgos_PFTauExtractor_H
3 
9 
11 
19 
21 public:
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  }
31  const edm::EventSetup& es,
32  const reco::Candidate& candidate) const override {
33  return depositFromObject(evt, es, candidate);
34  }
35 
36 private:
40  double maxDxyTrack_;
41  double maxDzTrack_;
42  double dRmatchPFTau_;
43  double dRVetoCone_;
44  double dRIsoCone_;
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
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:36
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
HLT_2018_cff.track
track
Definition: HLT_2018_cff.py:10352
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:39