CMS 3D CMS Logo

TransientTrackFromFTS.h
Go to the documentation of this file.
1 #ifndef TrackReco_TransientTrackFromFTS_h
2 #define TrackReco_TransientTrackFromFTS_h
3 
13 
14 namespace reco {
15 
17  public:
19 
21  TransientTrackFromFTS(const FreeTrajectoryState& fts, const double time, const double dtime);
22 
24  const edm::ESHandle<GlobalTrackingGeometry>& trackingGeometry);
26  const double time,
27  const double dtime,
28  const edm::ESHandle<GlobalTrackingGeometry>& trackingGeometry);
29 
31 
33 
35 
36  void setBeamSpot(const reco::BeamSpot& beamSpot) override;
37 
38  FreeTrajectoryState initialFreeState() const override { return initialFTS; }
39 
41 
43 
45  return builder(initialFTS, point);
46  }
47 
52 
54 
56 
57  bool impactPointStateAvailable() const override { return initialTSOSAvailable; }
58 
59  TrackCharge charge() const override { return initialFTS.charge(); }
60 
61  const MagneticField* field() const override { return theField; }
62 
63  const Track& track() const override;
64 
65  TrackBaseRef trackBaseRef() const override { return TrackBaseRef(); }
66 
68 
69  double timeExt() const override { return (hasTime ? timeExt_ : std::numeric_limits<double>::quiet_NaN()); }
70  double dtErrorExt() const override { return (hasTime ? dtErrorExt_ : std::numeric_limits<double>::quiet_NaN()); }
71 
72  private:
73  void calculateTSOSAtVertex() const;
74 
76  bool hasTime;
77  double timeExt_;
78  double dtErrorExt_;
83  mutable Track theTrack;
88  };
89 
90 } // namespace reco
91 
92 #endif
const Track & track() const override
bool impactPointStateAvailable() const override
TrajectoryStateClosestToBeamLine stateAtBeamLine() const override
TrajectoryStateOnSurface initialTSOS
void setTrackingGeometry(const edm::ESHandle< GlobalTrackingGeometry > &) override
const MagneticField * theField
int TrackCharge
Definition: TrackCharge.h:4
TrajectoryStateClosestToPoint impactPointTSCP() const override
Definition: TTTypes.h:54
TrajectoryStateOnSurface innermostMeasurementState() const override
TrajectoryStateClosestToPoint initialTSCP
edm::RefToBase< reco::Track > TrackBaseRef
persistent reference to a Track, using views
Definition: TrackFwd.h:35
TrackCharge charge() const
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
double timeExt() const override
TrajectoryStateOnSurface stateOnSurface(const GlobalPoint &point) const override
TrackBaseRef trackBaseRef() const override
TrackCharge charge() const override
double dtErrorExt() const override
TrajectoryStateOnSurface outermostMeasurementState() const override
TrajectoryStateOnSurface impactPointState() const override
void setBeamSpot(const reco::BeamSpot &beamSpot) override
TrajectoryStateClosestToPoint trajectoryStateClosestToPoint(const GlobalPoint &point) const override
FreeTrajectoryState initialFreeState() const override
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
const MagneticField * field() const override
TransientTrackFromFTS & operator=(const TransientTrackFromFTS &tt)
TrajectoryStateClosestToBeamLine trajectoryStateClosestToBeamLine
*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