CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

reco::TransientTrackFromFTS Class Reference

#include <TransientTrackFromFTS.h>

Inheritance diagram for reco::TransientTrackFromFTS:
reco::BasicTransientTrack 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
TransientTrackFromFTSoperator= (const TransientTrackFromFTS &tt)
TrajectoryStateOnSurface outermostMeasurementState () 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
 TransientTrackFromFTS (const FreeTrajectoryState &fts, const edm::ESHandle< GlobalTrackingGeometry > &trackingGeometry)
 TransientTrackFromFTS ()
 TransientTrackFromFTS (const FreeTrajectoryState &fts)
 TransientTrackFromFTS (const TransientTrackFromFTS &tt)

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
Track theTrack
edm::ESHandle
< GlobalTrackingGeometry
theTrackingGeometry
bool trackAvailable
TrajectoryStateClosestToBeamLine trajectoryStateClosestToBeamLine

Detailed Description

Definition at line 16 of file TransientTrackFromFTS.h.


Constructor & Destructor Documentation

TransientTrackFromFTS::TransientTrackFromFTS ( )

Definition at line 11 of file TransientTrackFromFTS.cc.

TransientTrackFromFTS::TransientTrackFromFTS ( const FreeTrajectoryState fts)
TransientTrackFromFTS::TransientTrackFromFTS ( const FreeTrajectoryState fts,
const edm::ESHandle< GlobalTrackingGeometry > &  trackingGeometry 
)
TransientTrackFromFTS::TransientTrackFromFTS ( const TransientTrackFromFTS tt)

Member Function Documentation

void TransientTrackFromFTS::calculateTSOSAtVertex ( ) const [private]
TrackCharge reco::TransientTrackFromFTS::charge ( void  ) const [inline, virtual]

Implements reco::BasicTransientTrack.

Definition at line 56 of file TransientTrackFromFTS.h.

References FreeTrajectoryState::charge(), and initialFTS.

{return initialFTS.charge();}
const MagneticField* reco::TransientTrackFromFTS::field ( ) const [inline, virtual]

Implements reco::BasicTransientTrack.

Definition at line 58 of file TransientTrackFromFTS.h.

References theField.

{return theField;}
TrajectoryStateOnSurface TransientTrackFromFTS::impactPointState ( ) const [virtual]
bool reco::TransientTrackFromFTS::impactPointStateAvailable ( ) const [inline, virtual]

Implements reco::BasicTransientTrack.

Definition at line 54 of file TransientTrackFromFTS.h.

References initialTSOSAvailable.

TrajectoryStateClosestToPoint TransientTrackFromFTS::impactPointTSCP ( ) const [virtual]
FreeTrajectoryState reco::TransientTrackFromFTS::initialFreeState ( ) const [inline, virtual]

Implements reco::BasicTransientTrack.

Definition at line 35 of file TransientTrackFromFTS.h.

References initialFTS.

{return initialFTS;}
TrajectoryStateOnSurface TransientTrackFromFTS::innermostMeasurementState ( ) const [virtual]

Implements reco::BasicTransientTrack.

Definition at line 86 of file TransientTrackFromFTS.cc.

References Exception.

{
  throw cms::Exception("LogicError") << 
    "TransientTrack built from a FreeTrajectoryState (TransientTrackFromFTS) can not have an innermostMeasurementState";
}
TransientTrackFromFTS& reco::TransientTrackFromFTS::operator= ( const TransientTrackFromFTS tt)
TrajectoryStateOnSurface TransientTrackFromFTS::outermostMeasurementState ( ) const [virtual]

Implements reco::BasicTransientTrack.

Definition at line 80 of file TransientTrackFromFTS.cc.

References Exception.

{
  throw cms::Exception("LogicError") << 
    "TransientTrack built from a FreeTrajectoryState (TransientTrackFromFTS) can not have an outermostMeasurementState";
}
void TransientTrackFromFTS::setBeamSpot ( const reco::BeamSpot beamSpot) [virtual]

Implements reco::BasicTransientTrack.

Definition at line 58 of file TransientTrackFromFTS.cc.

References blStateAvailable, and theBeamSpot.

{
  theBeamSpot = beamSpot;
  blStateAvailable = false;
}
void TransientTrackFromFTS::setES ( const edm::EventSetup setup) [virtual]

Implements reco::BasicTransientTrack.

Definition at line 49 of file DTParametrizedDriftAlgo.cc.

References edm::EventSetup::get().

                                                           {
  theSync->setES(setup);
  // Access the magnetic field
  ESHandle<MagneticField> magneticField;
  setup.get<IdealMagneticFieldRecord>().get(magneticField);
  magField = &*magneticField;
}
void TransientTrackFromFTS::setTrackingGeometry ( const edm::ESHandle< GlobalTrackingGeometry > &  tg) [virtual]

Implements reco::BasicTransientTrack.

Definition at line 53 of file TransientTrackFromFTS.cc.

References theTrackingGeometry.

TrajectoryStateClosestToBeamLine TransientTrackFromFTS::stateAtBeamLine ( ) const [virtual]
TrajectoryStateOnSurface TransientTrackFromFTS::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 108 of file TransientTrackFromFTS.cc.

References TransverseImpactPointExtrapolator::extrapolate(), initialFTS, and theField.

{
  TransverseImpactPointExtrapolator tipe(theField);
  return tipe.extrapolate(initialFTS, point);
}
const Track & TransientTrackFromFTS::track ( void  ) const [virtual]
TrackBaseRef TransientTrackFromFTS::trackBaseRef ( ) const [virtual]

Implements reco::BasicTransientTrack.

Definition at line 93 of file TransientTrackFromFTS.cc.

References Exception.

{
  throw cms::Exception("LogicError") << 
    "TransientTrack built from a FreeTrajectoryState (TransientTrackFromFTS) can not have an TrackBaseRef";
}
TrajectoryStateClosestToPoint reco::TransientTrackFromFTS::trajectoryStateClosestToPoint ( const GlobalPoint point) const [inline, virtual]

Implements reco::BasicTransientTrack.

Definition at line 42 of file TransientTrackFromFTS.h.

References builder, and initialFTS.

      {return builder(initialFTS, point);}

Member Data Documentation

Definition at line 72 of file TransientTrackFromFTS.h.

Referenced by setBeamSpot(), and stateAtBeamLine().

Definition at line 76 of file TransientTrackFromFTS.h.

Referenced by impactPointTSCP(), and trajectoryStateClosestToPoint().

Definition at line 74 of file TransientTrackFromFTS.h.

Referenced by impactPointTSCP(), and TransientTrackFromFTS().

Definition at line 72 of file TransientTrackFromFTS.h.

Referenced by impactPointTSCP(), and TransientTrackFromFTS().

Definition at line 78 of file TransientTrackFromFTS.h.

Referenced by setBeamSpot(), and stateAtBeamLine().

Definition at line 71 of file TransientTrackFromFTS.h.

Referenced by calculateTSOSAtVertex(), field(), and stateOnSurface().

Definition at line 75 of file TransientTrackFromFTS.h.

Referenced by track().

Definition at line 77 of file TransientTrackFromFTS.h.

Referenced by setTrackingGeometry().

Definition at line 72 of file TransientTrackFromFTS.h.

Referenced by track().

Definition at line 79 of file TransientTrackFromFTS.h.

Referenced by stateAtBeamLine().