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
TrajectoryStateClosestToBeamLine
Definition: TrajectoryStateClosestToBeamLine.h:15
reco::TransientTrackFromFTS::initialTSCPAvailable
bool initialTSCPAvailable
Definition: TransientTrackFromFTS.h:80
FreeTrajectoryState.h
pwdgSkimBPark_cfi.beamSpot
beamSpot
Definition: pwdgSkimBPark_cfi.py:5
TrackCharge
int TrackCharge
Definition: TrackCharge.h:4
reco::TransientTrackFromFTS::hasTime
bool hasTime
Definition: TransientTrackFromFTS.h:76
reco::TransientTrackFromFTS::track
const Track & track() const override
Definition: TransientTrackFromFTS.cc:135
groupFilesInBlocks.tt
int tt
Definition: groupFilesInBlocks.py:144
reco::TransientTrackFromFTS::impactPointStateAvailable
bool impactPointStateAvailable() const override
Definition: TransientTrackFromFTS.h:57
reco::TransientTrackFromFTS::stateAtBeamLine
TrajectoryStateClosestToBeamLine stateAtBeamLine() const override
Definition: TransientTrackFromFTS.cc:148
reco::TransientTrackFromFTS::initialTSOS
TrajectoryStateOnSurface initialTSOS
Definition: TransientTrackFromFTS.h:81
FreeTrajectoryState::charge
TrackCharge charge() const
Definition: FreeTrajectoryState.h:69
reco::TransientTrackFromFTS
Definition: TransientTrackFromFTS.h:16
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
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
reco::TransientTrackFromFTS::setTrackingGeometry
void setTrackingGeometry(const edm::ESHandle< GlobalTrackingGeometry > &) override
Definition: TransientTrackFromFTS.cc:91
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
reco::TransientTrackFromFTS::builder
TSCPBuilderNoMaterial builder
Definition: TransientTrackFromFTS.h:84
Track.h
reco::TransientTrackFromFTS::innermostMeasurementState
TrajectoryStateOnSurface innermostMeasurementState() const override
Definition: TransientTrackFromFTS.cc:119
reco::TransientTrackFromFTS::blStateAvailable
bool blStateAvailable
Definition: TransientTrackFromFTS.h:80
reco::TransientTrackFromFTS::initialTSCP
TrajectoryStateClosestToPoint initialTSCP
Definition: TransientTrackFromFTS.h:82
reco::TransientTrackFromFTS::theField
const MagneticField * theField
Definition: TransientTrackFromFTS.h:79
reco::BeamSpot
Definition: BeamSpot.h:21
reco::Track
Definition: Track.h:27
edm::ESHandle< GlobalTrackingGeometry >
reco::TransientTrackFromFTS::theTrackingGeometry
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
Definition: TransientTrackFromFTS.h:85
reco::TransientTrackFromFTS::impactPointTSCP
TrajectoryStateClosestToPoint impactPointTSCP() const override
Definition: TransientTrackFromFTS.cc:106
reco::TransientTrackFromFTS::timeExt
double timeExt() const override
Definition: TransientTrackFromFTS.h:69
reco::TransientTrackFromFTS::stateOnSurface
TrajectoryStateOnSurface stateOnSurface(const GlobalPoint &point) const override
Definition: TransientTrackFromFTS.cc:130
reco::TransientTrackFromFTS::trackBaseRef
TrackBaseRef trackBaseRef() const override
Definition: TransientTrackFromFTS.h:65
reco::TransientTrackFromFTS::timeExt_
double timeExt_
Definition: TransientTrackFromFTS.h:77
reco::TransientTrackFromFTS::dtErrorExt
double dtErrorExt() const override
Definition: TransientTrackFromFTS.h:70
reco::TransientTrackFromFTS::TransientTrackFromFTS
TransientTrackFromFTS()
Definition: TransientTrackFromFTS.cc:12
reco::TransientTrackFromFTS::charge
TrackCharge charge() const override
Definition: TransientTrackFromFTS.h:59
reco::TransientTrackFromFTS::trajectoryStateClosestToPoint
TrajectoryStateClosestToPoint trajectoryStateClosestToPoint(const GlobalPoint &point) const override
Definition: TransientTrackFromFTS.h:44
reco::BasicTransientTrack
Definition: BasicTransientTrack.h:21
TrajectoryStateClosestToPoint
Definition: TrajectoryStateClosestToPoint.h:18
reco::TransientTrackFromFTS::outermostMeasurementState
TrajectoryStateOnSurface outermostMeasurementState() const override
Definition: TransientTrackFromFTS.cc:114
TSCPBuilderNoMaterial.h
reco::TransientTrackFromFTS::impactPointState
TrajectoryStateOnSurface impactPointState() const override
Definition: TransientTrackFromFTS.cc:100
reco::TransientTrackFromFTS::setBeamSpot
void setBeamSpot(const reco::BeamSpot &beamSpot) override
Definition: TransientTrackFromFTS.cc:95
reco::TransientTrackFromFTS::theBeamSpot
reco::BeamSpot theBeamSpot
Definition: TransientTrackFromFTS.h:86
BasicTransientTrack.h
TSCPBuilderNoMaterial
Definition: TSCPBuilderNoMaterial.h:17
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
reco::TransientTrackFromFTS::initialFreeState
FreeTrajectoryState initialFreeState() const override
Definition: TransientTrackFromFTS.h:38
reco::TransientTrackFromFTS::trackAvailable
bool trackAvailable
Definition: TransientTrackFromFTS.h:80
reco::TransientTrackFromFTS::theTrack
Track theTrack
Definition: TransientTrackFromFTS.h:83
edm::RefToBase< reco::Track >
reco::TransientTrackFromFTS::field
const MagneticField * field() const override
Definition: TransientTrackFromFTS.h:61
math::GlobalPoint
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
Definition: Point3D.h:18
reco::TransientTrackFromFTS::calculateTSOSAtVertex
void calculateTSOSAtVertex() const
Definition: TransientTrackFromFTS.cc:124
reco::TransientTrackFromFTS::initialTSOSAvailable
bool initialTSOSAvailable
Definition: TransientTrackFromFTS.h:80
reco::TransientTrackFromFTS::trajectoryStateClosestToBeamLine
TrajectoryStateClosestToBeamLine trajectoryStateClosestToBeamLine
Definition: TransientTrackFromFTS.h:87
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::TransientTrackFromFTS::initialFTS
FreeTrajectoryState initialFTS
Definition: TransientTrackFromFTS.h:75
MagneticField
Definition: MagneticField.h:19
reco::TransientTrackFromFTS::operator=
TransientTrackFromFTS & operator=(const TransientTrackFromFTS &tt)
reco::TransientTrackFromFTS::dtErrorExt_
double dtErrorExt_
Definition: TransientTrackFromFTS.h:78