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 // system include files
28 #include <memory>
29 
30 // user include files
33 
37 
53 
54 //
55 // class declaration
56 //
57 
59 public:
60  explicit TrackExtrapolator(const edm::ParameterSet&);
61  ~TrackExtrapolator() override;
62 
63 private:
64  void produce(edm::Event&, const edm::EventSetup&) override;
65 
66  // ----------member data ---------------------------
67 
73 
74  // ----------internal functions ---------------------------
75 
79  bool propagateTrackToVolume(const reco::Track& fTrack,
80  const MagneticField& fField,
81  const Propagator& fPropagator,
82  const FiducialVolume& volume,
83  reco::TrackBase::Point& resultPos,
84  reco::TrackBase::Vector& resultMom);
85 };
86 
87 #endif
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > fieldToken_
Input tracks.
TrackExtrapolator(const edm::ParameterSet &)
TrackQuality
track quality
Definition: TrackBase.h:150
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
const edm::EDGetTokenT< reco::TrackCollection > tracksSrc_
const edm::ESGetToken< DetIdAssociator, DetIdAssociatorRecord > ecalDetIdAssociatorToken_
math::XYZPoint Point
point in the space
Definition: TrackBase.h:80
const edm::ESGetToken< Propagator, TrackingComponentsRecord > propagatorToken_
~TrackExtrapolator() override
void produce(edm::Event &, const edm::EventSetup &) override
const reco::TrackBase::TrackQuality trackQuality_
math::XYZVector Vector
spatial vector
Definition: TrackBase.h:77