CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFTauExtractor.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_IsolationAlgos_PFTauExtractor_H
2 #define PhysicsTools_IsolationAlgos_PFTauExtractor_H
3 
8 
10 
16 
18 {
19  public:
20 
21  explicit PFTauExtractor(const edm::ParameterSet&);
22  virtual ~PFTauExtractor(){}
23 
25  virtual void fillVetos(const edm::Event&, const edm::EventSetup&, const reco::TrackCollection&) { }
26  virtual reco::IsoDeposit deposit(const edm::Event& evt, const edm::EventSetup& es, const reco::Track& track) const {
27  return depositFromObject(evt, es, track);
28  }
29  virtual reco::IsoDeposit deposit(const edm::Event& evt, const edm::EventSetup& es, const reco::Candidate& candidate) const {
30  return depositFromObject(evt, es, candidate);
31  }
32 
33  private:
34 
38  double maxDxyTrack_;
39  double maxDzTrack_;
40  double dRmatchPFTau_;
41  double dRVetoCone_;
42  double dRIsoCone_;
44 
47  template<typename T>
48  reco::IsoDeposit depositFromObject(const edm::Event&, const edm::EventSetup&, const T&) const;
49 
50 };
51 
52 #endif
double dRvetoPFTauSignalConeConstituents_
edm::InputTag candidateSource_
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:10
reco::IsoDeposit depositFromObject(const edm::Event &, const edm::EventSetup &, const T &) const
virtual reco::IsoDeposit deposit(const edm::Event &evt, const edm::EventSetup &es, const reco::Track &track) const
virtual void fillVetos(const edm::Event &, const edm::EventSetup &, const reco::TrackCollection &)
definition of pure virtual functions inherited from IsoDepositExtractor base-class ...
virtual ~PFTauExtractor()
double dRmatchPFTau_
PFTauExtractor(const edm::ParameterSet &)
edm::InputTag tauSource_
configuration parameters
long double T
virtual reco::IsoDeposit deposit(const edm::Event &evt, const edm::EventSetup &es, const reco::Candidate &candidate) const