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 {
22  public:
23 
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 
41  double maxDxyTrack_;
42  double maxDzTrack_;
43  double dRmatchPFTau_;
44  double dRVetoCone_;
45  double dRIsoCone_;
47 
50  template<typename T>
51  reco::IsoDeposit depositFromObject(const edm::Event&, const edm::EventSetup&, const T&) const;
52 
53 };
54 
55 #endif
double dRvetoPFTauSignalConeConstituents_
~PFTauExtractor() override
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:15
reco::IsoDeposit depositFromObject(const edm::Event &, const edm::EventSetup &, const T &) const
edm::EDGetTokenT< reco::PFTauCollection > tauSourceToken_
configuration parameters
edm::EDGetTokenT< edm::View< reco::Candidate > > candidateSourceToken_
reco::IsoDeposit deposit(const edm::Event &evt, const edm::EventSetup &es, const reco::Track &track) const override
PFTauExtractor(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
double dRmatchPFTau_
void fillVetos(const edm::Event &, const edm::EventSetup &, const reco::TrackCollection &) override
definition of pure virtual functions inherited from IsoDepositExtractor base-class ...
reco::IsoDeposit deposit(const edm::Event &evt, const edm::EventSetup &es, const reco::Candidate &candidate) const override
long double T