CMS 3D CMS Logo

TrackExtrapolator.h
Go to the documentation of this file.
1 #ifndef RecoJets_JetAssociationProducers_interface_TrackExtrapolator_h
2 #define RecoJets_JetAssociationProducers_interface_TrackExtrapolator_h
3 
4 // -*- C++ -*-
5 //
6 // Package: TrackExtrapolator
7 // Class: TrackExtrapolator
8 //
18 //
19 // Original Author: Salvatore Rappoccio (salvatore.rappoccio@cern.ch)
20 // Created: Mon Feb 22 11:54:41 CET 2010
21 //
22 // Revision by: John Paul Chou (chou@hep.brown.edu)
23 // Modified algorithm to extrapolate correctly to the endcap front face.
24 //
25 //
26 
27 
28 // system include files
29 #include <memory>
30 
31 // user include files
34 
39 
53 
54 //
55 // class declaration
56 //
57 
59  public:
60  explicit TrackExtrapolator(const edm::ParameterSet&);
62 
63  private:
64  virtual void produce(edm::Event&, const edm::EventSetup&) override;
65 
66 
67  // ----------member data ---------------------------
68 
71 
72 
73  // ----------internal functions ---------------------------
74 
78  bool propagateTrackToVolume( const reco::Track& fTrack,
79  const MagneticField& fField,
80  const Propagator& fPropagator,
81  const FiducialVolume& volume,
82  reco::TrackBase::Point & resultPos,
83  reco::TrackBase::Vector & resultMom
84  );
85 
86 
87 
88 };
89 
90 
91 #endif
TrackExtrapolator(const edm::ParameterSet &)
TrackQuality
track quality
Definition: TrackBase.h:151
bool propagateTrackToVolume(const reco::Track &fTrack, const MagneticField &fField, const Propagator &fPropagator, const FiducialVolume &volume, reco::TrackBase::Point &resultPos, reco::TrackBase::Vector &resultMom)
track quality of the tracks we care about
math::XYZPoint Point
point in the space
Definition: TrackBase.h:83
reco::TrackBase::TrackQuality trackQuality_
Input tracks.
virtual void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< reco::TrackCollection > tracksSrc_
math::XYZVector Vector
spatial vector
Definition: TrackBase.h:80