#include <TrackTransientTrack.h>
Definition at line 16 of file TrackTransientTrack.h.
TrackTransientTrack::TrackTransientTrack | ( | ) |
Definition at line 10 of file TrackTransientTrack.cc.
: Track(), tkr_(), theField(0), initialTSOSAvailable(false), initialTSCPAvailable(false), blStateAvailable(false) { }
TrackTransientTrack::TrackTransientTrack | ( | const Track & | tk, |
const MagneticField * | field | ||
) |
Definition at line 16 of file TrackTransientTrack.cc.
References TrajectoryStateTransform::initialFreeState(), and initialFTS.
: Track(tk), tkr_(), theField(field), initialTSOSAvailable(false), initialTSCPAvailable(false), blStateAvailable(false) { TrajectoryStateTransform theTransform; initialFTS = theTransform.initialFreeState(tk, field); }
TrackTransientTrack::TrackTransientTrack | ( | const TrackRef & | tk, |
const MagneticField * | field | ||
) |
Definition at line 25 of file TrackTransientTrack.cc.
References TrajectoryStateTransform::initialFreeState(), and initialFTS.
: Track(*tk), tkr_(tk), theField(field), initialTSOSAvailable(false), initialTSCPAvailable(false), blStateAvailable(false) { TrajectoryStateTransform theTransform; initialFTS = theTransform.initialFreeState(*tk, field); }
TrackTransientTrack::TrackTransientTrack | ( | const TrackRef & | tk, |
const MagneticField * | field, | ||
const edm::ESHandle< GlobalTrackingGeometry > & | trackingGeometry | ||
) |
Definition at line 41 of file TrackTransientTrack.cc.
References TrajectoryStateTransform::initialFreeState(), and initialFTS.
: Track(*tk), tkr_(tk), theField(field), initialTSOSAvailable(false), initialTSCPAvailable(false), blStateAvailable(false), theTrackingGeometry(tg) { TrajectoryStateTransform theTransform; initialFTS = theTransform.initialFreeState(*tk, field); }
TrackTransientTrack::TrackTransientTrack | ( | const Track & | tk, |
const MagneticField * | field, | ||
const edm::ESHandle< GlobalTrackingGeometry > & | trackingGeometry | ||
) |
Definition at line 33 of file TrackTransientTrack.cc.
References TrajectoryStateTransform::initialFreeState(), and initialFTS.
: Track(tk), tkr_(), theField(field), initialTSOSAvailable(false), initialTSCPAvailable(false), blStateAvailable(false), theTrackingGeometry(tg) { TrajectoryStateTransform theTransform; initialFTS = theTransform.initialFreeState(tk, field); }
TrackTransientTrack::TrackTransientTrack | ( | const TrackTransientTrack & | tt | ) |
Definition at line 50 of file TrackTransientTrack.cc.
References impactPointState(), impactPointTSCP(), initialTSCP, initialTSCPAvailable, initialTSOS, and initialTSOSAvailable.
: Track(tt), tkr_(tt.persistentTrackRef()), theField(tt.field()), initialFTS(tt.initialFreeState()), initialTSOSAvailable(false), initialTSCPAvailable(false) { if (tt.initialTSOSAvailable) { initialTSOS= tt.impactPointState(); initialTSOSAvailable = true; } if (tt.initialTSCPAvailable) { initialTSCP= tt.impactPointTSCP(); initialTSCPAvailable = true; } }
void TrackTransientTrack::calculateTSOSAtVertex | ( | ) | const [private] |
Definition at line 110 of file TrackTransientTrack.cc.
References TransverseImpactPointExtrapolator::extrapolate(), initialFTS, initialTSOS, initialTSOSAvailable, FreeTrajectoryState::position(), and theField.
Referenced by impactPointState().
{ TransverseImpactPointExtrapolator tipe(theField); initialTSOS = tipe.extrapolate(initialFTS, initialFTS.position()); initialTSOSAvailable = true; }
TrackCharge reco::TrackTransientTrack::charge | ( | void | ) | const [inline, virtual] |
Implements reco::BasicTransientTrack.
Definition at line 66 of file TrackTransientTrack.h.
{return Track::charge();}
const MagneticField* reco::TrackTransientTrack::field | ( | ) | const [inline, virtual] |
Implements reco::BasicTransientTrack.
Definition at line 68 of file TrackTransientTrack.h.
References theField.
{return theField;}
TrajectoryStateOnSurface TrackTransientTrack::impactPointState | ( | ) | const [virtual] |
Implements reco::BasicTransientTrack.
Definition at line 83 of file TrackTransientTrack.cc.
References calculateTSOSAtVertex(), initialTSOS, and initialTSOSAvailable.
Referenced by TrackTransientTrack().
{ if (!initialTSOSAvailable) calculateTSOSAtVertex(); return initialTSOS; }
bool reco::TrackTransientTrack::impactPointStateAvailable | ( | ) | const [inline, virtual] |
Implements reco::BasicTransientTrack.
Definition at line 57 of file TrackTransientTrack.h.
References initialTSOSAvailable.
{return initialTSOSAvailable;}
TrajectoryStateClosestToPoint TrackTransientTrack::impactPointTSCP | ( | ) | const [virtual] |
Implements reco::BasicTransientTrack.
Definition at line 89 of file TrackTransientTrack.cc.
References builder, initialFTS, initialTSCP, initialTSCPAvailable, and FreeTrajectoryState::position().
Referenced by TrackTransientTrack().
{ if (!initialTSCPAvailable) { initialTSCP = builder(initialFTS, initialFTS.position()); initialTSCPAvailable = true; } return initialTSCP; }
FreeTrajectoryState reco::TrackTransientTrack::initialFreeState | ( | ) | const [inline, virtual] |
Implements reco::BasicTransientTrack.
Definition at line 38 of file TrackTransientTrack.h.
References initialFTS.
{return initialFTS;}
TrajectoryStateOnSurface TrackTransientTrack::innermostMeasurementState | ( | ) | const [virtual] |
Implements reco::BasicTransientTrack.
Definition at line 104 of file TrackTransientTrack.cc.
References TrajectoryStateTransform::innerStateOnSurface(), theField, and theTrackingGeometry.
{ TrajectoryStateTransform theTransform; return theTransform.innerStateOnSurface((*this),*theTrackingGeometry,theField); }
TrackTransientTrack& reco::TrackTransientTrack::operator= | ( | const TrackTransientTrack & | tt | ) |
TrajectoryStateOnSurface TrackTransientTrack::outermostMeasurementState | ( | ) | const [virtual] |
Implements reco::BasicTransientTrack.
Definition at line 98 of file TrackTransientTrack.cc.
References TrajectoryStateTransform::outerStateOnSurface(), theField, and theTrackingGeometry.
{ TrajectoryStateTransform theTransform; return theTransform.outerStateOnSurface((*this),*theTrackingGeometry,theField); }
TrackRef reco::TrackTransientTrack::persistentTrackRef | ( | ) | const [inline] |
access to original persistent track
Definition at line 62 of file TrackTransientTrack.h.
References tkr_.
Referenced by ConvertedPhotonProducer::buildCollections(), KinematicVertex::operator reco::Vertex(), and ConversionTrackPairFinder::run().
{ return tkr_; }
void TrackTransientTrack::setBeamSpot | ( | const reco::BeamSpot & | beamSpot | ) | [virtual] |
Implements reco::BasicTransientTrack.
Definition at line 77 of file TrackTransientTrack.cc.
References blStateAvailable, and theBeamSpot.
{ theBeamSpot = beamSpot; blStateAvailable = false; }
void TrackTransientTrack::setES | ( | const edm::EventSetup & | setup | ) | [virtual] |
Implements reco::BasicTransientTrack.
Definition at line 65 of file TrackTransientTrack.cc.
References edm::EventSetup::get(), and theTrackingGeometry.
{ setup.get<GlobalTrackingGeometryRecord>().get(theTrackingGeometry); }
void TrackTransientTrack::setTrackingGeometry | ( | const edm::ESHandle< GlobalTrackingGeometry > & | tg | ) | [virtual] |
Implements reco::BasicTransientTrack.
Definition at line 71 of file TrackTransientTrack.cc.
References theTrackingGeometry.
{ theTrackingGeometry = tg; }
TrajectoryStateClosestToBeamLine TrackTransientTrack::stateAtBeamLine | ( | ) | const [virtual] |
Implements reco::BasicTransientTrack.
Definition at line 124 of file TrackTransientTrack.cc.
References blStateAvailable, initialFTS, theBeamSpot, and trajectoryStateClosestToBeamLine.
{ if (!blStateAvailable) { TSCBLBuilderNoMaterial blsBuilder; trajectoryStateClosestToBeamLine = blsBuilder(initialFTS, theBeamSpot); blStateAvailable = true; } return trajectoryStateClosestToBeamLine; }
TrajectoryStateOnSurface TrackTransientTrack::stateOnSurface | ( | const GlobalPoint & | point | ) | const [virtual] |
The TSOS at any point. The initial state will be used for the propagation.
Implements reco::BasicTransientTrack.
Definition at line 118 of file TrackTransientTrack.cc.
References TransverseImpactPointExtrapolator::extrapolate(), initialFTS, and theField.
{ TransverseImpactPointExtrapolator tipe(theField); return tipe.extrapolate(initialFTS, point); }
const Track& reco::TrackTransientTrack::track | ( | void | ) | const [inline, virtual] |
Implements reco::BasicTransientTrack.
Definition at line 70 of file TrackTransientTrack.h.
{return *this;}
TrackBaseRef reco::TrackTransientTrack::trackBaseRef | ( | ) | const [inline, virtual] |
Implements reco::BasicTransientTrack.
Definition at line 64 of file TrackTransientTrack.h.
References tkr_.
Referenced by VertexFitterResult::fill().
{return TrackBaseRef(tkr_);}
TrajectoryStateClosestToPoint reco::TrackTransientTrack::trajectoryStateClosestToPoint | ( | const GlobalPoint & | point | ) | const [inline, virtual] |
Implements reco::BasicTransientTrack.
Definition at line 45 of file TrackTransientTrack.h.
References builder, and initialFTS.
{return builder(initialFTS, point);}
bool reco::TrackTransientTrack::blStateAvailable [mutable, private] |
Definition at line 82 of file TrackTransientTrack.h.
Referenced by setBeamSpot(), and stateAtBeamLine().
Definition at line 85 of file TrackTransientTrack.h.
Referenced by impactPointTSCP(), and trajectoryStateClosestToPoint().
Definition at line 81 of file TrackTransientTrack.h.
Referenced by calculateTSOSAtVertex(), impactPointTSCP(), initialFreeState(), stateAtBeamLine(), stateOnSurface(), TrackTransientTrack(), and trajectoryStateClosestToPoint().
TrajectoryStateClosestToPoint reco::TrackTransientTrack::initialTSCP [mutable, private] |
Definition at line 84 of file TrackTransientTrack.h.
Referenced by impactPointTSCP(), and TrackTransientTrack().
bool reco::TrackTransientTrack::initialTSCPAvailable [mutable, private] |
Definition at line 82 of file TrackTransientTrack.h.
Referenced by impactPointTSCP(), and TrackTransientTrack().
TrajectoryStateOnSurface reco::TrackTransientTrack::initialTSOS [mutable, private] |
Definition at line 83 of file TrackTransientTrack.h.
Referenced by calculateTSOSAtVertex(), impactPointState(), and TrackTransientTrack().
bool reco::TrackTransientTrack::initialTSOSAvailable [mutable, private] |
Definition at line 82 of file TrackTransientTrack.h.
Referenced by calculateTSOSAtVertex(), impactPointState(), impactPointStateAvailable(), and TrackTransientTrack().
Definition at line 87 of file TrackTransientTrack.h.
Referenced by setBeamSpot(), and stateAtBeamLine().
const MagneticField* reco::TrackTransientTrack::theField [private] |
Definition at line 79 of file TrackTransientTrack.h.
Referenced by calculateTSOSAtVertex(), field(), innermostMeasurementState(), outermostMeasurementState(), and stateOnSurface().
Definition at line 86 of file TrackTransientTrack.h.
Referenced by innermostMeasurementState(), outermostMeasurementState(), setES(), and setTrackingGeometry().
TrackRef reco::TrackTransientTrack::tkr_ [private] |
Definition at line 78 of file TrackTransientTrack.h.
Referenced by persistentTrackRef(), and trackBaseRef().
TrajectoryStateClosestToBeamLine reco::TrackTransientTrack::trajectoryStateClosestToBeamLine [mutable, private] |
Definition at line 88 of file TrackTransientTrack.h.
Referenced by stateAtBeamLine().