#include <GsfTransientTrack.h>
Definition at line 19 of file GsfTransientTrack.h.
GsfTransientTrack::GsfTransientTrack | ( | ) |
Definition at line 15 of file GsfTransientTrack.cc.
: GsfTrack(), tkr_(), theField(0), initialTSOSAvailable(false), initialTSCPAvailable(false), blStateAvailable(false), theTIPExtrapolator() {}
GsfTransientTrack::GsfTransientTrack | ( | const GsfTrack & | tk, |
const MagneticField * | field | ||
) |
Definition at line 20 of file GsfTransientTrack.cc.
References TrajectoryStateTransform::initialFreeState(), and initialFTS.
: GsfTrack(tk), tkr_(), theField(field), initialTSOSAvailable(false), initialTSCPAvailable(false), blStateAvailable(false) { TrajectoryStateTransform theTransform; initialFTS = theTransform.initialFreeState(tk, field); }
GsfTransientTrack::GsfTransientTrack | ( | const GsfTrackRef & | tk, |
const MagneticField * | field | ||
) |
Definition at line 30 of file GsfTransientTrack.cc.
References TrajectoryStateTransform::initialFreeState(), and initialFTS.
: GsfTrack(*tk), tkr_(tk), theField(field), initialTSOSAvailable(false), initialTSCPAvailable(false), blStateAvailable(false), theTIPExtrapolator(AnalyticalPropagator(field, alongMomentum)) { TrajectoryStateTransform theTransform; initialFTS = theTransform.initialFreeState(*tk, field); }
GsfTransientTrack::GsfTransientTrack | ( | const GsfTrackRef & | tk, |
const MagneticField * | field, | ||
const edm::ESHandle< GlobalTrackingGeometry > & | trackingGeometry | ||
) |
Definition at line 51 of file GsfTransientTrack.cc.
References TrajectoryStateTransform::initialFreeState(), and initialFTS.
: GsfTrack(*tk), tkr_(tk), theField(field), initialTSOSAvailable(false), initialTSCPAvailable(false), blStateAvailable(false), theTrackingGeometry(tg), theTIPExtrapolator(AnalyticalPropagator(field, alongMomentum)) { TrajectoryStateTransform theTransform; initialFTS = theTransform.initialFreeState(*tk, field); }
GsfTransientTrack::GsfTransientTrack | ( | const GsfTrack & | tk, |
const MagneticField * | field, | ||
const edm::ESHandle< GlobalTrackingGeometry > & | trackingGeometry | ||
) |
Definition at line 40 of file GsfTransientTrack.cc.
References TrajectoryStateTransform::initialFreeState(), and initialFTS.
: GsfTrack(tk), tkr_(), theField(field), initialTSOSAvailable(false), initialTSCPAvailable(false), blStateAvailable(false), theTrackingGeometry(tg), theTIPExtrapolator(AnalyticalPropagator(field, alongMomentum)) { TrajectoryStateTransform theTransform; initialFTS = theTransform.initialFreeState(tk, field); }
GsfTransientTrack::GsfTransientTrack | ( | const GsfTransientTrack & | tt | ) |
Definition at line 63 of file GsfTransientTrack.cc.
References impactPointState(), impactPointTSCP(), initialTSCP, initialTSCPAvailable, initialTSOS, and initialTSOSAvailable.
: GsfTrack(tt), tkr_(tt.persistentTrackRef()), theField(tt.field()), initialFTS(tt.initialFreeState()), initialTSOSAvailable(false), initialTSCPAvailable(false), theTIPExtrapolator(AnalyticalPropagator(tt.field(), alongMomentum)) { if (tt.initialTSOSAvailable) { initialTSOS= tt.impactPointState(); initialTSOSAvailable = true; } if (tt.initialTSCPAvailable) { initialTSCP= tt.impactPointTSCP(); initialTSCPAvailable = true; } }
void GsfTransientTrack::calculateTSOSAtVertex | ( | ) | const [private] |
Definition at line 128 of file GsfTransientTrack.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::GsfTransientTrack::charge | ( | void | ) | const [inline, virtual] |
Implements reco::BasicTransientTrack.
Definition at line 82 of file GsfTransientTrack.h.
{return GsfTrack::charge();}
const MagneticField* reco::GsfTransientTrack::field | ( | ) | const [inline, virtual] |
Implements reco::BasicTransientTrack.
Definition at line 84 of file GsfTransientTrack.h.
References theField.
{return theField;}
TrajectoryStateOnSurface GsfTransientTrack::impactPointState | ( | ) | const [virtual] |
The TSOS at the initial state, made from the stored singl-component state.
Implements reco::BasicTransientTrack.
Definition at line 101 of file GsfTransientTrack.cc.
References calculateTSOSAtVertex(), initialTSOS, and initialTSOSAvailable.
Referenced by GsfTransientTrack().
{ if (!initialTSOSAvailable) calculateTSOSAtVertex(); return initialTSOS; }
bool reco::GsfTransientTrack::impactPointStateAvailable | ( | ) | const [inline, virtual] |
Implements reco::BasicTransientTrack.
Definition at line 73 of file GsfTransientTrack.h.
References initialTSOSAvailable.
{return initialTSOSAvailable;}
TrajectoryStateClosestToPoint GsfTransientTrack::impactPointTSCP | ( | ) | const [virtual] |
The TrajectoryStateClosestToPoint at the initial state, made from the stored singl-component state.
Implements reco::BasicTransientTrack.
Definition at line 107 of file GsfTransientTrack.cc.
References builder, initialFTS, initialTSCP, initialTSCPAvailable, and FreeTrajectoryState::position().
Referenced by GsfTransientTrack().
{ if (!initialTSCPAvailable) { initialTSCP = builder(initialFTS, initialFTS.position()); initialTSCPAvailable = true; } return initialTSCP; }
void reco::GsfTransientTrack::init | ( | ) | [private] |
FreeTrajectoryState reco::GsfTransientTrack::initialFreeState | ( | ) | const [inline, virtual] |
Implements reco::BasicTransientTrack.
Definition at line 41 of file GsfTransientTrack.h.
References initialFTS.
{return initialFTS;}
TrajectoryStateOnSurface GsfTransientTrack::innermostMeasurementState | ( | ) | const [virtual] |
Implements reco::BasicTransientTrack.
Definition at line 122 of file GsfTransientTrack.cc.
References MultiTrajectoryStateTransform::innerStateOnSurface(), theField, and theTrackingGeometry.
Referenced by stateOnSurface().
{ MultiTrajectoryStateTransform theTransform; return theTransform.innerStateOnSurface((*this),*theTrackingGeometry,theField); }
GsfTransientTrack& reco::GsfTransientTrack::operator= | ( | const GsfTransientTrack & | tt | ) |
TrajectoryStateOnSurface GsfTransientTrack::outermostMeasurementState | ( | ) | const [virtual] |
Implements reco::BasicTransientTrack.
Definition at line 116 of file GsfTransientTrack.cc.
References MultiTrajectoryStateTransform::outerStateOnSurface(), theField, and theTrackingGeometry.
{ MultiTrajectoryStateTransform theTransform; return theTransform.outerStateOnSurface((*this),*theTrackingGeometry,theField); }
GsfTrackRef reco::GsfTransientTrack::persistentTrackRef | ( | ) | const [inline] |
access to original persistent track
Definition at line 78 of file GsfTransientTrack.h.
References tkr_.
Referenced by KinematicVertex::operator reco::Vertex().
{ return tkr_; }
void GsfTransientTrack::setBeamSpot | ( | const reco::BeamSpot & | beamSpot | ) | [virtual] |
Implements reco::BasicTransientTrack.
Definition at line 94 of file GsfTransientTrack.cc.
References blStateAvailable, and theBeamSpot.
{ theBeamSpot = beamSpot; blStateAvailable = false; }
void GsfTransientTrack::setES | ( | const edm::EventSetup & | setup | ) | [virtual] |
Implements reco::BasicTransientTrack.
Definition at line 82 of file GsfTransientTrack.cc.
References edm::EventSetup::get(), and theTrackingGeometry.
{ setup.get<GlobalTrackingGeometryRecord>().get(theTrackingGeometry); }
void GsfTransientTrack::setTrackingGeometry | ( | const edm::ESHandle< GlobalTrackingGeometry > & | tg | ) | [virtual] |
Implements reco::BasicTransientTrack.
Definition at line 88 of file GsfTransientTrack.cc.
References theTrackingGeometry.
{ theTrackingGeometry = tg; }
TrajectoryStateClosestToBeamLine GsfTransientTrack::stateAtBeamLine | ( | ) | const [virtual] |
Implements reco::BasicTransientTrack.
Definition at line 148 of file GsfTransientTrack.cc.
References blStateAvailable, initialFTS, theBeamSpot, and trajectoryStateClosestToBeamLine.
{ if (!blStateAvailable) { TSCBLBuilderNoMaterial blsBuilder; trajectoryStateClosestToBeamLine = blsBuilder(initialFTS, theBeamSpot); blStateAvailable = true; } return trajectoryStateClosestToBeamLine; }
TrajectoryStateOnSurface GsfTransientTrack::stateOnSurface | ( | const GlobalPoint & | point | ) | const [virtual] |
The TSOS at any point. The inner-most multi-state state will be used for the propagation. The TSOS will therefore have multiple components.
Implements reco::BasicTransientTrack.
Definition at line 136 of file GsfTransientTrack.cc.
References TransverseImpactPointExtrapolator::extrapolate(), innermostMeasurementState(), and theTIPExtrapolator.
Referenced by trajectoryStateClosestToPoint().
{ return theTIPExtrapolator.extrapolate(innermostMeasurementState(), point); }
const Track& reco::GsfTransientTrack::track | ( | void | ) | const [inline, virtual] |
Implements reco::BasicTransientTrack.
Definition at line 86 of file GsfTransientTrack.h.
{return *this;}
TrackBaseRef reco::GsfTransientTrack::trackBaseRef | ( | ) | const [inline, virtual] |
Implements reco::BasicTransientTrack.
Definition at line 80 of file GsfTransientTrack.h.
References tkr_.
{return TrackBaseRef(tkr_);}
TrajectoryStateClosestToPoint GsfTransientTrack::trajectoryStateClosestToPoint | ( | const GlobalPoint & | point | ) | const [virtual] |
The TrajectoryStateClosestToPoint at any point. The inner-most multi-state state will be used for the propagation. The TSCP will be built out of the collapsed mult-component TSOS.
Implements reco::BasicTransientTrack.
Definition at line 143 of file GsfTransientTrack.cc.
References builder, and stateOnSurface().
{ return builder(stateOnSurface(point), point); }
bool reco::GsfTransientTrack::blStateAvailable [mutable, private] |
Definition at line 99 of file GsfTransientTrack.h.
Referenced by setBeamSpot(), and stateAtBeamLine().
Definition at line 102 of file GsfTransientTrack.h.
Referenced by impactPointTSCP(), and trajectoryStateClosestToPoint().
Definition at line 98 of file GsfTransientTrack.h.
Referenced by calculateTSOSAtVertex(), GsfTransientTrack(), impactPointTSCP(), initialFreeState(), and stateAtBeamLine().
TrajectoryStateClosestToPoint reco::GsfTransientTrack::initialTSCP [mutable, private] |
Definition at line 101 of file GsfTransientTrack.h.
Referenced by GsfTransientTrack(), and impactPointTSCP().
bool reco::GsfTransientTrack::initialTSCPAvailable [mutable, private] |
Definition at line 99 of file GsfTransientTrack.h.
Referenced by GsfTransientTrack(), and impactPointTSCP().
TrajectoryStateOnSurface reco::GsfTransientTrack::initialTSOS [mutable, private] |
Definition at line 100 of file GsfTransientTrack.h.
Referenced by calculateTSOSAtVertex(), GsfTransientTrack(), and impactPointState().
bool reco::GsfTransientTrack::initialTSOSAvailable [mutable, private] |
Definition at line 99 of file GsfTransientTrack.h.
Referenced by calculateTSOSAtVertex(), GsfTransientTrack(), impactPointState(), and impactPointStateAvailable().
Definition at line 104 of file GsfTransientTrack.h.
Referenced by setBeamSpot(), and stateAtBeamLine().
const MagneticField* reco::GsfTransientTrack::theField [private] |
Definition at line 96 of file GsfTransientTrack.h.
Referenced by calculateTSOSAtVertex(), field(), innermostMeasurementState(), and outermostMeasurementState().
Definition at line 107 of file GsfTransientTrack.h.
Referenced by stateOnSurface().
Definition at line 103 of file GsfTransientTrack.h.
Referenced by innermostMeasurementState(), outermostMeasurementState(), setES(), and setTrackingGeometry().
GsfTrackRef reco::GsfTransientTrack::tkr_ [private] |
Definition at line 95 of file GsfTransientTrack.h.
Referenced by persistentTrackRef(), and trackBaseRef().
TrajectoryStateClosestToBeamLine reco::GsfTransientTrack::trajectoryStateClosestToBeamLine [mutable, private] |
Definition at line 105 of file GsfTransientTrack.h.
Referenced by stateAtBeamLine().