CMS 3D CMS Logo

GsfTransientTrack.h
Go to the documentation of this file.
1 #ifndef TrackReco_GsfTransientTrack_h
2 #define TrackReco_GsfTransientTrack_h
3 
15 
16 namespace reco {
17 
19  public:
20  // constructor from persistent track
22  GsfTransientTrack(const GsfTrack& tk, const MagneticField* field);
23  GsfTransientTrack(const GsfTrack& tk, const double time, const double dtime, const MagneticField* field);
24 
26  GsfTransientTrack(const GsfTrackRef& tk, const double time, const double dtime, const MagneticField* field);
27 
29  const MagneticField* field,
30  const edm::ESHandle<GlobalTrackingGeometry>& trackingGeometry);
32  const double time,
33  const double dtime,
34  const MagneticField* field,
35  const edm::ESHandle<GlobalTrackingGeometry>& trackingGeometry);
36 
37  GsfTransientTrack(const GsfTrack& tk,
38  const MagneticField* field,
39  const edm::ESHandle<GlobalTrackingGeometry>& trackingGeometry);
40  GsfTransientTrack(const GsfTrack& tk,
41  const double time,
42  const double dtime,
43  const MagneticField* field,
44  const edm::ESHandle<GlobalTrackingGeometry>& trackingGeometry);
45 
47 
49 
51 
52  void setBeamSpot(const reco::BeamSpot& beamSpot) override;
53 
54  FreeTrajectoryState initialFreeState() const override { return initialFTS; }
55 
57 
59 
66 
72 
78 
84 
85  bool impactPointStateAvailable() const override { return initialTSOSAvailable; }
86 
90  GsfTrackRef persistentTrackRef() const { return tkr_; }
91 
92  TrackBaseRef trackBaseRef() const override { return TrackBaseRef(tkr_); }
93 
94  TrackCharge charge() const override { return GsfTrack::charge(); }
95 
96  const MagneticField* field() const override { return theField; }
97 
98  const Track& track() const override { return *this; }
99 
101 
102  double timeExt() const override { return (hasTime ? timeExt_ : std::numeric_limits<double>::quiet_NaN()); }
103 
104  double dtErrorExt() const override { return (hasTime ? dtErrorExt_ : std::numeric_limits<double>::quiet_NaN()); }
105 
106  private:
107  void init();
108  void calculateTSOSAtVertex() const;
109 
111  bool hasTime;
114 
123 
125  };
126 
127 } // namespace reco
128 
129 #endif
TrajectoryStateClosestToBeamLine trajectoryStateClosestToBeamLine
TrackCharge charge() const override
TrajectoryStateOnSurface stateOnSurface(const GlobalPoint &point) const override
TrajectoryStateOnSurface impactPointState() const override
TrajectoryStateOnSurface initialTSOS
void setTrackingGeometry(const edm::ESHandle< GlobalTrackingGeometry > &) override
int TrackCharge
Definition: TrackCharge.h:4
int charge() const
track electric charge
Definition: TrackBase.h:596
bool impactPointStateAvailable() const override
Definition: TTTypes.h:54
TrajectoryStateOnSurface outermostMeasurementState() const override
edm::RefToBase< reco::Track > TrackBaseRef
persistent reference to a Track, using views
Definition: TrackFwd.h:35
TrajectoryStateClosestToBeamLine stateAtBeamLine() const override
TransverseImpactPointExtrapolator theTIPExtrapolator
void setBeamSpot(const reco::BeamSpot &beamSpot) override
const MagneticField * field() const override
TSCPBuilderNoMaterial builder
TrajectoryStateClosestToPoint impactPointTSCP() const override
double dtErrorExt() const override
TrackBaseRef trackBaseRef() const override
double timeExt() const override
TrajectoryStateClosestToPoint initialTSCP
const MagneticField * theField
double dtime()
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
Definition: Point3D.h:18
fixed size matrix
GsfTrackRef persistentTrackRef() const
FreeTrajectoryState initialFTS
TrajectoryStateClosestToPoint trajectoryStateClosestToPoint(const GlobalPoint &point) const override
const Track & track() const override
TrajectoryStateOnSurface innermostMeasurementState() const override
FreeTrajectoryState initialFreeState() const override
*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
GsfTransientTrack & operator=(const GsfTransientTrack &tt)
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry