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 
34  void setES(const edm::EventSetup&) override;
35 
37 
38  void setBeamSpot(const reco::BeamSpot& beamSpot) override;
39 
40  FreeTrajectoryState initialFreeState() const override { return initialFTS; }
41 
43 
45 
47  return builder(initialFTS, point);
48  }
49 
54 
56 
58 
59  bool impactPointStateAvailable() const override { return initialTSOSAvailable; }
60 
61  TrackCharge charge() const override { return initialFTS.charge(); }
62 
63  const MagneticField* field() const override { return theField; }
64 
65  const Track& track() const override;
66 
67  TrackBaseRef trackBaseRef() const override { return TrackBaseRef(); }
68 
70 
71  double timeExt() const override { return (hasTime ? timeExt_ : std::numeric_limits<double>::quiet_NaN()); }
72  double dtErrorExt() const override { return (hasTime ? dtErrorExt_ : std::numeric_limits<double>::quiet_NaN()); }
73 
74  private:
75  void calculateTSOSAtVertex() const;
76 
78  bool hasTime;
79  double timeExt_;
80  double dtErrorExt_;
85  mutable Track theTrack;
90  };
91 
92 } // namespace reco
93 
94 #endif
TrajectoryStateClosestToBeamLine
Definition: TrajectoryStateClosestToBeamLine.h:15
reco::TransientTrackFromFTS::initialTSCPAvailable
bool initialTSCPAvailable
Definition: TransientTrackFromFTS.h:82
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:78
reco::TransientTrackFromFTS::track
const Track & track() const override
Definition: TransientTrackFromFTS.cc:140
groupFilesInBlocks.tt
int tt
Definition: groupFilesInBlocks.py:144
reco::TransientTrackFromFTS::impactPointStateAvailable
bool impactPointStateAvailable() const override
Definition: TransientTrackFromFTS.h:59
reco::TransientTrackFromFTS::stateAtBeamLine
TrajectoryStateClosestToBeamLine stateAtBeamLine() const override
Definition: TransientTrackFromFTS.cc:154
reco::TransientTrackFromFTS::initialTSOS
TrajectoryStateOnSurface initialTSOS
Definition: TransientTrackFromFTS.h:83
FreeTrajectoryState::charge
TrackCharge charge() const
Definition: FreeTrajectoryState.h:69
reco::TransientTrackFromFTS
Definition: TransientTrackFromFTS.h:16
reco::TransientTrackFromFTS::setES
void setES(const edm::EventSetup &) override
Definition: TransientTrackFromFTS.cc:91
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:45
reco::TransientTrackFromFTS::setTrackingGeometry
void setTrackingGeometry(const edm::ESHandle< GlobalTrackingGeometry > &) override
Definition: TransientTrackFromFTS.cc:95
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
reco::TransientTrackFromFTS::builder
TSCPBuilderNoMaterial builder
Definition: TransientTrackFromFTS.h:86
Track.h
reco::TransientTrackFromFTS::innermostMeasurementState
TrajectoryStateOnSurface innermostMeasurementState() const override
Definition: TransientTrackFromFTS.cc:124
reco::TransientTrackFromFTS::blStateAvailable
bool blStateAvailable
Definition: TransientTrackFromFTS.h:82
reco::TransientTrackFromFTS::initialTSCP
TrajectoryStateClosestToPoint initialTSCP
Definition: TransientTrackFromFTS.h:84
reco::TransientTrackFromFTS::theField
const MagneticField * theField
Definition: TransientTrackFromFTS.h:81
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:87
reco::TransientTrackFromFTS::impactPointTSCP
TrajectoryStateClosestToPoint impactPointTSCP() const override
Definition: TransientTrackFromFTS.cc:110
reco::TransientTrackFromFTS::timeExt
double timeExt() const override
Definition: TransientTrackFromFTS.h:71
reco::TransientTrackFromFTS::stateOnSurface
TrajectoryStateOnSurface stateOnSurface(const GlobalPoint &point) const override
Definition: TransientTrackFromFTS.cc:135
reco::TransientTrackFromFTS::trackBaseRef
TrackBaseRef trackBaseRef() const override
Definition: TransientTrackFromFTS.h:67
reco::TransientTrackFromFTS::timeExt_
double timeExt_
Definition: TransientTrackFromFTS.h:79
reco::TransientTrackFromFTS::dtErrorExt
double dtErrorExt() const override
Definition: TransientTrackFromFTS.h:72
reco::TransientTrackFromFTS::TransientTrackFromFTS
TransientTrackFromFTS()
Definition: TransientTrackFromFTS.cc:12
reco::TransientTrackFromFTS::charge
TrackCharge charge() const override
Definition: TransientTrackFromFTS.h:61
reco::TransientTrackFromFTS::trajectoryStateClosestToPoint
TrajectoryStateClosestToPoint trajectoryStateClosestToPoint(const GlobalPoint &point) const override
Definition: TransientTrackFromFTS.h:46
reco::BasicTransientTrack
Definition: BasicTransientTrack.h:22
edm::EventSetup
Definition: EventSetup.h:57
TrajectoryStateClosestToPoint
Definition: TrajectoryStateClosestToPoint.h:18
reco::TransientTrackFromFTS::outermostMeasurementState
TrajectoryStateOnSurface outermostMeasurementState() const override
Definition: TransientTrackFromFTS.cc:119
TSCPBuilderNoMaterial.h
reco::TransientTrackFromFTS::impactPointState
TrajectoryStateOnSurface impactPointState() const override
Definition: TransientTrackFromFTS.cc:104
reco::TransientTrackFromFTS::setBeamSpot
void setBeamSpot(const reco::BeamSpot &beamSpot) override
Definition: TransientTrackFromFTS.cc:99
reco::TransientTrackFromFTS::theBeamSpot
reco::BeamSpot theBeamSpot
Definition: TransientTrackFromFTS.h:88
BasicTransientTrack.h
TSCPBuilderNoMaterial
Definition: TSCPBuilderNoMaterial.h:17
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
reco::TransientTrackFromFTS::initialFreeState
FreeTrajectoryState initialFreeState() const override
Definition: TransientTrackFromFTS.h:40
reco::TransientTrackFromFTS::trackAvailable
bool trackAvailable
Definition: TransientTrackFromFTS.h:82
reco::TransientTrackFromFTS::theTrack
Track theTrack
Definition: TransientTrackFromFTS.h:85
edm::RefToBase< reco::Track >
reco::TransientTrackFromFTS::field
const MagneticField * field() const override
Definition: TransientTrackFromFTS.h:63
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:129
reco::TransientTrackFromFTS::initialTSOSAvailable
bool initialTSOSAvailable
Definition: TransientTrackFromFTS.h:82
reco::TransientTrackFromFTS::trajectoryStateClosestToBeamLine
TrajectoryStateClosestToBeamLine trajectoryStateClosestToBeamLine
Definition: TransientTrackFromFTS.h:89
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::TransientTrackFromFTS::initialFTS
FreeTrajectoryState initialFTS
Definition: TransientTrackFromFTS.h:77
MagneticField
Definition: MagneticField.h:19
reco::TransientTrackFromFTS::operator=
TransientTrackFromFTS & operator=(const TransientTrackFromFTS &tt)
reco::TransientTrackFromFTS::dtErrorExt_
double dtErrorExt_
Definition: TransientTrackFromFTS.h:80