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
Definition: TrajectoryStateClosestToBeamLine.h:15
reco::GsfTransientTrack::setBeamSpot
void setBeamSpot(const reco::BeamSpot &beamSpot) override
Definition: GsfTransientTrack.cc:182
FreeTrajectoryState.h
pwdgSkimBPark_cfi.beamSpot
beamSpot
Definition: pwdgSkimBPark_cfi.py:5
TrackCharge
int TrackCharge
Definition: TrackCharge.h:4
groupFilesInBlocks.tt
int tt
Definition: groupFilesInBlocks.py:144
reco::GsfTransientTrack::field
const MagneticField * field() const override
Definition: GsfTransientTrack.h:96
reco::GsfTransientTrack
Definition: GsfTransientTrack.h:18
reco::GsfTransientTrack::dtErrorExt
double dtErrorExt() const override
Definition: GsfTransientTrack.h:104
reco::GsfTransientTrack::initialFTS
FreeTrajectoryState initialFTS
Definition: GsfTransientTrack.h:115
reco::GsfTransientTrack::initialTSOS
TrajectoryStateOnSurface initialTSOS
Definition: GsfTransientTrack.h:117
reco::GsfTransientTrack::trajectoryStateClosestToPoint
TrajectoryStateClosestToPoint trajectoryStateClosestToPoint(const GlobalPoint &point) const override
Definition: GsfTransientTrack.cc:219
reco::GsfTransientTrack::theTIPExtrapolator
TransverseImpactPointExtrapolator theTIPExtrapolator
Definition: GsfTransientTrack.h:124
reco::GsfTransientTrack::track
const Track & track() const override
Definition: GsfTransientTrack.h:98
reco::GsfTransientTrack::tkr_
GsfTrackRef tkr_
Definition: GsfTransientTrack.h:110
protons_cff.time
time
Definition: protons_cff.py:35
reco::TrackBaseRef
edm::RefToBase< reco::Track > TrackBaseRef
persistent reference to a Track, using views
Definition: TrackFwd.h:35
TransverseImpactPointExtrapolator
Definition: TransverseImpactPointExtrapolator.h:26
reco::GsfTransientTrack::initialFreeState
FreeTrajectoryState initialFreeState() const override
Definition: GsfTransientTrack.h:54
reco::GsfTransientTrack::hasTime
bool hasTime
Definition: GsfTransientTrack.h:111
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
reco::GsfTransientTrack::blStateAvailable
bool blStateAvailable
Definition: GsfTransientTrack.h:116
edm::Ref< GsfTrackCollection >
reco::GsfTrack
Definition: GsfTrack.h:12
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
reco::GsfTransientTrack::trajectoryStateClosestToBeamLine
TrajectoryStateClosestToBeamLine trajectoryStateClosestToBeamLine
Definition: GsfTransientTrack.h:122
Track.h
reco::GsfTransientTrack::theBeamSpot
reco::BeamSpot theBeamSpot
Definition: GsfTransientTrack.h:121
reco::BeamSpot
Definition: BeamSpot.h:21
reco::Track
Definition: Track.h:27
edm::ESHandle< GlobalTrackingGeometry >
reco::GsfTransientTrack::initialTSCPAvailable
bool initialTSCPAvailable
Definition: GsfTransientTrack.h:116
reco::TrackBase::charge
int charge() const
track electric charge
Definition: TrackBase.h:596
reco::GsfTransientTrack::theTrackingGeometry
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
Definition: GsfTransientTrack.h:120
reco::GsfTransientTrack::init
void init()
reco::GsfTransientTrack::timeExt_
double timeExt_
Definition: GsfTransientTrack.h:112
reco::GsfTransientTrack::timeExt
double timeExt() const override
Definition: GsfTransientTrack.h:102
reco::GsfTransientTrack::stateOnSurface
TrajectoryStateOnSurface stateOnSurface(const GlobalPoint &point) const override
Definition: GsfTransientTrack.cc:215
reco::GsfTransientTrack::initialTSCP
TrajectoryStateClosestToPoint initialTSCP
Definition: GsfTransientTrack.h:118
reco::GsfTransientTrack::outermostMeasurementState
TrajectoryStateOnSurface outermostMeasurementState() const override
Definition: GsfTransientTrack.cc:201
reco::GsfTransientTrack::theField
const MagneticField * theField
Definition: GsfTransientTrack.h:113
reco::GsfTransientTrack::dtErrorExt_
double dtErrorExt_
Definition: GsfTransientTrack.h:112
GsfTrack.h
reco::BasicTransientTrack
Definition: BasicTransientTrack.h:21
reco::GsfTransientTrack::charge
TrackCharge charge() const override
Definition: GsfTransientTrack.h:94
reco::GsfTransientTrack::operator=
GsfTransientTrack & operator=(const GsfTransientTrack &tt)
TrajectoryStateClosestToPoint
Definition: TrajectoryStateClosestToPoint.h:18
reco::GsfTransientTrack::persistentTrackRef
GsfTrackRef persistentTrackRef() const
Definition: GsfTransientTrack.h:90
TSCPBuilderNoMaterial.h
reco::GsfTransientTrack::GsfTransientTrack
GsfTransientTrack()
Definition: GsfTransientTrack.cc:13
BasicTransientTrack.h
reco::GsfTransientTrack::impactPointStateAvailable
bool impactPointStateAvailable() const override
Definition: GsfTransientTrack.h:85
TSCPBuilderNoMaterial
Definition: TSCPBuilderNoMaterial.h:17
GsfTrackFwd.h
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
reco::GsfTransientTrack::calculateTSOSAtVertex
void calculateTSOSAtVertex() const
Definition: GsfTransientTrack.cc:209
reco::GsfTransientTrack::setTrackingGeometry
void setTrackingGeometry(const edm::ESHandle< GlobalTrackingGeometry > &) override
Definition: GsfTransientTrack.cc:178
TransverseImpactPointExtrapolator.h
edm::RefToBase< reco::Track >
reco::GsfTransientTrack::initialTSOSAvailable
bool initialTSOSAvailable
Definition: GsfTransientTrack.h:116
math::GlobalPoint
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
Definition: Point3D.h:18
point
*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
reco::GsfTransientTrack::impactPointState
TrajectoryStateOnSurface impactPointState() const override
Definition: GsfTransientTrack.cc:187
MagneticField
Definition: MagneticField.h:19
reco::GsfTransientTrack::builder
TSCPBuilderNoMaterial builder
Definition: GsfTransientTrack.h:119
reco::GsfTransientTrack::impactPointTSCP
TrajectoryStateClosestToPoint impactPointTSCP() const override
Definition: GsfTransientTrack.cc:193
reco::GsfTransientTrack::trackBaseRef
TrackBaseRef trackBaseRef() const override
Definition: GsfTransientTrack.h:92
reco::GsfTransientTrack::stateAtBeamLine
TrajectoryStateClosestToBeamLine stateAtBeamLine() const override
Definition: GsfTransientTrack.cc:223
reco::GsfTransientTrack::innermostMeasurementState
TrajectoryStateOnSurface innermostMeasurementState() const override
Definition: GsfTransientTrack.cc:205