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 
50  void setES(const edm::EventSetup&) override;
51 
53 
54  void setBeamSpot(const reco::BeamSpot& beamSpot) override;
55 
56  FreeTrajectoryState initialFreeState() const override { return initialFTS; }
57 
59 
61 
68 
74 
80 
86 
87  bool impactPointStateAvailable() const override { return initialTSOSAvailable; }
88 
92  GsfTrackRef persistentTrackRef() const { return tkr_; }
93 
94  TrackBaseRef trackBaseRef() const override { return TrackBaseRef(tkr_); }
95 
96  TrackCharge charge() const override { return GsfTrack::charge(); }
97 
98  const MagneticField* field() const override { return theField; }
99 
100  const Track& track() const override { return *this; }
101 
103 
104  double timeExt() const override { return (hasTime ? timeExt_ : std::numeric_limits<double>::quiet_NaN()); }
105 
106  double dtErrorExt() const override { return (hasTime ? dtErrorExt_ : std::numeric_limits<double>::quiet_NaN()); }
107 
108  private:
109  void init();
110  void calculateTSOSAtVertex() const;
111 
113  bool hasTime;
116 
125 
127  };
128 
129 } // namespace reco
130 
131 #endif
TrajectoryStateClosestToBeamLine
Definition: TrajectoryStateClosestToBeamLine.h:15
reco::GsfTransientTrack::setBeamSpot
void setBeamSpot(const reco::BeamSpot &beamSpot) override
Definition: GsfTransientTrack.cc:186
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:98
reco::GsfTransientTrack
Definition: GsfTransientTrack.h:18
reco::GsfTransientTrack::dtErrorExt
double dtErrorExt() const override
Definition: GsfTransientTrack.h:106
reco::GsfTransientTrack::initialFTS
FreeTrajectoryState initialFTS
Definition: GsfTransientTrack.h:117
reco::GsfTransientTrack::initialTSOS
TrajectoryStateOnSurface initialTSOS
Definition: GsfTransientTrack.h:119
reco::GsfTransientTrack::trajectoryStateClosestToPoint
TrajectoryStateClosestToPoint trajectoryStateClosestToPoint(const GlobalPoint &point) const override
Definition: GsfTransientTrack.cc:223
reco::GsfTransientTrack::theTIPExtrapolator
TransverseImpactPointExtrapolator theTIPExtrapolator
Definition: GsfTransientTrack.h:126
reco::GsfTransientTrack::track
const Track & track() const override
Definition: GsfTransientTrack.h:100
reco::GsfTransientTrack::tkr_
GsfTrackRef tkr_
Definition: GsfTransientTrack.h:112
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:56
reco::GsfTransientTrack::hasTime
bool hasTime
Definition: GsfTransientTrack.h:113
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
reco::GsfTransientTrack::blStateAvailable
bool blStateAvailable
Definition: GsfTransientTrack.h:118
edm::Ref< GsfTrackCollection >
reco::GsfTrack
Definition: GsfTrack.h:12
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
reco::GsfTransientTrack::trajectoryStateClosestToBeamLine
TrajectoryStateClosestToBeamLine trajectoryStateClosestToBeamLine
Definition: GsfTransientTrack.h:124
Track.h
reco::GsfTransientTrack::theBeamSpot
reco::BeamSpot theBeamSpot
Definition: GsfTransientTrack.h:123
reco::BeamSpot
Definition: BeamSpot.h:21
reco::Track
Definition: Track.h:27
edm::ESHandle< GlobalTrackingGeometry >
reco::GsfTransientTrack::initialTSCPAvailable
bool initialTSCPAvailable
Definition: GsfTransientTrack.h:118
reco::TrackBase::charge
int charge() const
track electric charge
Definition: TrackBase.h:581
reco::GsfTransientTrack::theTrackingGeometry
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
Definition: GsfTransientTrack.h:122
reco::GsfTransientTrack::init
void init()
reco::GsfTransientTrack::timeExt_
double timeExt_
Definition: GsfTransientTrack.h:114
reco::GsfTransientTrack::timeExt
double timeExt() const override
Definition: GsfTransientTrack.h:104
reco::GsfTransientTrack::stateOnSurface
TrajectoryStateOnSurface stateOnSurface(const GlobalPoint &point) const override
Definition: GsfTransientTrack.cc:219
reco::GsfTransientTrack::initialTSCP
TrajectoryStateClosestToPoint initialTSCP
Definition: GsfTransientTrack.h:120
reco::GsfTransientTrack::outermostMeasurementState
TrajectoryStateOnSurface outermostMeasurementState() const override
Definition: GsfTransientTrack.cc:205
reco::GsfTransientTrack::theField
const MagneticField * theField
Definition: GsfTransientTrack.h:115
reco::GsfTransientTrack::dtErrorExt_
double dtErrorExt_
Definition: GsfTransientTrack.h:114
GsfTrack.h
reco::BasicTransientTrack
Definition: BasicTransientTrack.h:22
reco::GsfTransientTrack::charge
TrackCharge charge() const override
Definition: GsfTransientTrack.h:96
edm::EventSetup
Definition: EventSetup.h:57
reco::GsfTransientTrack::operator=
GsfTransientTrack & operator=(const GsfTransientTrack &tt)
TrajectoryStateClosestToPoint
Definition: TrajectoryStateClosestToPoint.h:18
reco::GsfTransientTrack::persistentTrackRef
GsfTrackRef persistentTrackRef() const
Definition: GsfTransientTrack.h:92
TSCPBuilderNoMaterial.h
reco::GsfTransientTrack::GsfTransientTrack
GsfTransientTrack()
Definition: GsfTransientTrack.cc:13
BasicTransientTrack.h
reco::GsfTransientTrack::impactPointStateAvailable
bool impactPointStateAvailable() const override
Definition: GsfTransientTrack.h:87
TSCPBuilderNoMaterial
Definition: TSCPBuilderNoMaterial.h:17
reco::GsfTransientTrack::setES
void setES(const edm::EventSetup &) override
Definition: GsfTransientTrack.cc:178
GsfTrackFwd.h
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
reco::GsfTransientTrack::calculateTSOSAtVertex
void calculateTSOSAtVertex() const
Definition: GsfTransientTrack.cc:213
reco::GsfTransientTrack::setTrackingGeometry
void setTrackingGeometry(const edm::ESHandle< GlobalTrackingGeometry > &) override
Definition: GsfTransientTrack.cc:182
TransverseImpactPointExtrapolator.h
edm::RefToBase< reco::Track >
reco::GsfTransientTrack::initialTSOSAvailable
bool initialTSOSAvailable
Definition: GsfTransientTrack.h:118
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
ntuplemaker.time
time
Definition: ntuplemaker.py:310
reco::GsfTransientTrack::impactPointState
TrajectoryStateOnSurface impactPointState() const override
Definition: GsfTransientTrack.cc:191
MagneticField
Definition: MagneticField.h:19
reco::GsfTransientTrack::builder
TSCPBuilderNoMaterial builder
Definition: GsfTransientTrack.h:121
reco::GsfTransientTrack::impactPointTSCP
TrajectoryStateClosestToPoint impactPointTSCP() const override
Definition: GsfTransientTrack.cc:197
reco::GsfTransientTrack::trackBaseRef
TrackBaseRef trackBaseRef() const override
Definition: GsfTransientTrack.h:94
reco::GsfTransientTrack::stateAtBeamLine
TrajectoryStateClosestToBeamLine stateAtBeamLine() const override
Definition: GsfTransientTrack.cc:227
reco::GsfTransientTrack::innermostMeasurementState
TrajectoryStateOnSurface innermostMeasurementState() const override
Definition: GsfTransientTrack.cc:209