CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

reco::TrackTransientTrack Class Reference

#include <TrackTransientTrack.h>

Inheritance diagram for reco::TrackTransientTrack:
reco::Track reco::BasicTransientTrack reco::TrackBase ReferenceCountedPoolAllocated BlockWipedPoolAllocated

List of all members.

Public Member Functions

TrackCharge charge () const
const MagneticFieldfield () const
TrajectoryStateOnSurface impactPointState () const
bool impactPointStateAvailable () const
TrajectoryStateClosestToPoint impactPointTSCP () const
FreeTrajectoryState initialFreeState () const
TrajectoryStateOnSurface innermostMeasurementState () const
TrackTransientTrackoperator= (const TrackTransientTrack &tt)
TrajectoryStateOnSurface outermostMeasurementState () const
TrackRef 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
 TrackTransientTrack (const Track &tk, const MagneticField *field, const edm::ESHandle< GlobalTrackingGeometry > &trackingGeometry)
 TrackTransientTrack (const TrackTransientTrack &tt)
 TrackTransientTrack (const Track &tk, const MagneticField *field)
 TrackTransientTrack ()
 TrackTransientTrack (const TrackRef &tk, const MagneticField *field)
 TrackTransientTrack (const TrackRef &tk, const MagneticField *field, const edm::ESHandle< GlobalTrackingGeometry > &trackingGeometry)
TrajectoryStateClosestToPoint trajectoryStateClosestToPoint (const GlobalPoint &point) const

Private Member Functions

void calculateTSOSAtVertex () const

Private Attributes

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

Detailed Description

Definition at line 16 of file TrackTransientTrack.h.


Constructor & Destructor Documentation

TrackTransientTrack::TrackTransientTrack ( )

Definition at line 10 of file TrackTransientTrack.cc.

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)

Member Function Documentation

void TrackTransientTrack::calculateTSOSAtVertex ( ) const [private]
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]
bool reco::TrackTransientTrack::impactPointStateAvailable ( ) const [inline, virtual]

Implements reco::BasicTransientTrack.

Definition at line 57 of file TrackTransientTrack.h.

References initialTSOSAvailable.

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

Implements reco::BasicTransientTrack.

Definition at line 71 of file TrackTransientTrack.cc.

References theTrackingGeometry.

TrajectoryStateClosestToBeamLine TrackTransientTrack::stateAtBeamLine ( ) const [virtual]
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);}

Member Data Documentation

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 84 of file TrackTransientTrack.h.

Referenced by impactPointTSCP(), and TrackTransientTrack().

Definition at line 82 of file TrackTransientTrack.h.

Referenced by impactPointTSCP(), and TrackTransientTrack().

Definition at line 87 of file TrackTransientTrack.h.

Referenced by setBeamSpot(), and stateAtBeamLine().

Definition at line 78 of file TrackTransientTrack.h.

Referenced by persistentTrackRef(), and trackBaseRef().

Definition at line 88 of file TrackTransientTrack.h.

Referenced by stateAtBeamLine().