CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

reco::GsfTransientTrack Class Reference

#include <GsfTransientTrack.h>

Inheritance diagram for reco::GsfTransientTrack:
reco::GsfTrack reco::BasicTransientTrack reco::Track ReferenceCountedPoolAllocated reco::TrackBase BlockWipedPoolAllocated

List of all members.

Public Member Functions

TrackCharge charge () const
const MagneticFieldfield () const
 GsfTransientTrack (const GsfTrackRef &tk, const MagneticField *field, const edm::ESHandle< GlobalTrackingGeometry > &trackingGeometry)
 GsfTransientTrack ()
 GsfTransientTrack (const GsfTrack &tk, const MagneticField *field, const edm::ESHandle< GlobalTrackingGeometry > &trackingGeometry)
 GsfTransientTrack (const GsfTrack &tk, const MagneticField *field)
 GsfTransientTrack (const GsfTrackRef &tk, const MagneticField *field)
 GsfTransientTrack (const GsfTransientTrack &tt)
TrajectoryStateOnSurface impactPointState () const
bool impactPointStateAvailable () const
TrajectoryStateClosestToPoint impactPointTSCP () const
FreeTrajectoryState initialFreeState () const
TrajectoryStateOnSurface innermostMeasurementState () const
GsfTransientTrackoperator= (const GsfTransientTrack &tt)
TrajectoryStateOnSurface outermostMeasurementState () const
GsfTrackRef persistentTrackRef () const
void setBeamSpot (const reco::BeamSpot &beamSpot)
void setES (const edm::EventSetup &)
void setTrackingGeometry (const edm::ESHandle< GlobalTrackingGeometry > &)
TrajectoryStateClosestToBeamLine stateAtBeamLine () const
TrajectoryStateOnSurface stateOnSurface (const GlobalPoint &point) const
const Tracktrack () const
TrackBaseRef trackBaseRef () const
TrajectoryStateClosestToPoint trajectoryStateClosestToPoint (const GlobalPoint &point) const

Private Member Functions

void calculateTSOSAtVertex () const
void init ()

Private Attributes

bool blStateAvailable
TSCPBuilderNoMaterial builder
FreeTrajectoryState initialFTS
TrajectoryStateClosestToPoint initialTSCP
bool initialTSCPAvailable
TrajectoryStateOnSurface initialTSOS
bool initialTSOSAvailable
reco::BeamSpot theBeamSpot
const MagneticFieldtheField
TransverseImpactPointExtrapolator theTIPExtrapolator
edm::ESHandle
< GlobalTrackingGeometry
theTrackingGeometry
GsfTrackRef tkr_
TrajectoryStateClosestToBeamLine trajectoryStateClosestToBeamLine

Detailed Description

Definition at line 19 of file GsfTransientTrack.h.


Constructor & Destructor Documentation

GsfTransientTrack::GsfTransientTrack ( )

Definition at line 15 of file GsfTransientTrack.cc.

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 
)
GsfTransientTrack::GsfTransientTrack ( const GsfTrackRef tk,
const MagneticField field,
const edm::ESHandle< GlobalTrackingGeometry > &  trackingGeometry 
)
GsfTransientTrack::GsfTransientTrack ( const GsfTrack tk,
const MagneticField field,
const edm::ESHandle< GlobalTrackingGeometry > &  trackingGeometry 
)
GsfTransientTrack::GsfTransientTrack ( const GsfTransientTrack tt)

Member Function Documentation

void GsfTransientTrack::calculateTSOSAtVertex ( ) const [private]
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().

bool reco::GsfTransientTrack::impactPointStateAvailable ( ) const [inline, virtual]

Implements reco::BasicTransientTrack.

Definition at line 73 of file GsfTransientTrack.h.

References 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().

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]
GsfTransientTrack& reco::GsfTransientTrack::operator= ( const GsfTransientTrack tt)
TrajectoryStateOnSurface GsfTransientTrack::outermostMeasurementState ( ) const [virtual]
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]
void GsfTransientTrack::setTrackingGeometry ( const edm::ESHandle< GlobalTrackingGeometry > &  tg) [virtual]

Implements reco::BasicTransientTrack.

Definition at line 88 of file GsfTransientTrack.cc.

References theTrackingGeometry.

TrajectoryStateClosestToBeamLine GsfTransientTrack::stateAtBeamLine ( ) const [virtual]
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().

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);
}

Member Data Documentation

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 101 of file GsfTransientTrack.h.

Referenced by GsfTransientTrack(), and impactPointTSCP().

Definition at line 99 of file GsfTransientTrack.h.

Referenced by GsfTransientTrack(), and impactPointTSCP().

Definition at line 100 of file GsfTransientTrack.h.

Referenced by calculateTSOSAtVertex(), GsfTransientTrack(), and impactPointState().

Definition at line 104 of file GsfTransientTrack.h.

Referenced by setBeamSpot(), and stateAtBeamLine().

Definition at line 107 of file GsfTransientTrack.h.

Referenced by stateOnSurface().

Definition at line 95 of file GsfTransientTrack.h.

Referenced by persistentTrackRef(), and trackBaseRef().

Definition at line 105 of file GsfTransientTrack.h.

Referenced by stateAtBeamLine().