CMS 3D CMS Logo

GsfTransientTrack.h
Go to the documentation of this file.
1 #ifndef TrackReco_GsfTransientTrack_h
2 #define TrackReco_GsfTransientTrack_h
3 
16 
17 namespace reco {
18 
20  public:
21 
22  // constructor from persistent track
24  GsfTransientTrack( const GsfTrack & tk , const MagneticField* field);
25  GsfTransientTrack( const GsfTrack & tk , const double time, const double dtime, const MagneticField* field);
26 
27  GsfTransientTrack( const GsfTrackRef & tk , const MagneticField* field);
28  GsfTransientTrack( const GsfTrackRef & tk , const double time, const double dtime, const MagneticField* field);
29 
30  GsfTransientTrack( const GsfTrackRef & tk , const MagneticField* field, const edm::ESHandle<GlobalTrackingGeometry>& trackingGeometry);
31  GsfTransientTrack( const GsfTrackRef & tk , const double time, const double dtime, const MagneticField* field, const edm::ESHandle<GlobalTrackingGeometry>& trackingGeometry);
32 
33  GsfTransientTrack( const GsfTrack & tk , const MagneticField* field, const edm::ESHandle<GlobalTrackingGeometry>& trackingGeometry);
34  GsfTransientTrack( const GsfTrack & tk , const double time, const double dtime, const MagneticField* field, const edm::ESHandle<GlobalTrackingGeometry>& trackingGeometry);
35 
36 
38 
40 
41  void setES(const edm::EventSetup& );
42 
44 
45  void setBeamSpot(const reco::BeamSpot& beamSpot);
46 
48 
50 
52 
60 
66 
72 
78 
80 
84  GsfTrackRef persistentTrackRef() const { return tkr_; }
85 
87 
88  TrackCharge charge() const {return GsfTrack::charge();}
89 
90  const MagneticField* field() const {return theField;}
91 
92  const Track & track() const {return *this;}
93 
95 
96  double timeExt() const { return ( hasTime ? timeExt_ : std::numeric_limits<double>::quiet_NaN() ); }
97 
98  double dtErrorExt() const { return ( hasTime ? dtErrorExt_ : std::numeric_limits<double>::quiet_NaN() ); }
99 
100  private:
101 
102  void init();
103  void calculateTSOSAtVertex() const;
104 
106  bool hasTime;
109 
118 
120 
121 
122  };
123 
124 }
125 
126 #endif
TrajectoryStateClosestToPoint trajectoryStateClosestToPoint(const GlobalPoint &point) const
TrajectoryStateClosestToBeamLine trajectoryStateClosestToBeamLine
TrajectoryStateClosestToPoint impactPointTSCP() const
TrajectoryStateOnSurface stateOnSurface(const GlobalPoint &point) const
FreeTrajectoryState initialFreeState() const
TrajectoryStateOnSurface initialTSOS
int TrackCharge
Definition: TrackCharge.h:4
void calculateTSOSAtVertex() const
edm::RefToBase< reco::Track > TrackBaseRef
persistent reference to a Track, using views
Definition: TrackFwd.h:32
TransverseImpactPointExtrapolator theTIPExtrapolator
void setTrackingGeometry(const edm::ESHandle< GlobalTrackingGeometry > &)
TrackBaseRef trackBaseRef() const
void setBeamSpot(const reco::BeamSpot &beamSpot)
TSCPBuilderNoMaterial builder
TrajectoryStateOnSurface impactPointState() const
TrajectoryStateClosestToPoint initialTSCP
TrajectoryStateClosestToBeamLine stateAtBeamLine() const
const MagneticField * theField
TrajectoryStateOnSurface outermostMeasurementState() const
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
Definition: Point3D.h:17
bool impactPointStateAvailable() const
const Track & track() const
fixed size matrix
FreeTrajectoryState initialFTS
const MagneticField * field() const
int charge() const
track electric charge
Definition: TrackBase.h:562
TrajectoryStateOnSurface innermostMeasurementState() const
GsfTrackRef persistentTrackRef() const
TrackCharge charge() const
double dtErrorExt() const
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5
void setES(const edm::EventSetup &)
GsfTransientTrack & operator=(const GsfTransientTrack &tt)
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry