CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 // $Id: TrackExtrapolator.h,v 1.3 2011/02/16 17:02:13 stadie Exp $
22 //
23 // Revision by: John Paul Chou (chou@hep.brown.edu)
24 // Modified algorithm to extrapolate correctly to the endcap front face.
25 //
26 //
27 
28 
29 // system include files
30 #include <memory>
31 
32 // user include files
35 
40 
54 
55 //
56 // class declaration
57 //
58 
60  public:
61  explicit TrackExtrapolator(const edm::ParameterSet&);
63 
64  private:
65  virtual void beginJob() ;
66  virtual void produce(edm::Event&, const edm::EventSetup&);
67  virtual void endJob() ;
68 
69  // ----------member data ---------------------------
70 
73 
74 
75  // ----------internal functions ---------------------------
76 
80  bool propagateTrackToVolume( const reco::Track& fTrack,
81  const MagneticField& fField,
82  const Propagator& fPropagator,
83  const FiducialVolume& volume,
84  reco::TrackBase::Point & resultPos,
85  reco::TrackBase::Vector & resultMom
86  );
87 
88 
89 
90 };
91 
92 
93 #endif
virtual void endJob()
TrackExtrapolator(const edm::ParameterSet &)
TrackQuality
track quality
Definition: TrackBase.h:95
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
virtual void produce(edm::Event &, const edm::EventSetup &)
math::XYZPoint Point
point in the space
Definition: TrackBase.h:76
edm::InputTag tracksSrc_
reco::TrackBase::TrackQuality trackQuality_
Input tracks.
virtual void beginJob()
math::XYZVector Vector
spatial vector
Definition: TrackBase.h:74