CMS 3D CMS Logo

TrajectoryMeasurement Class Reference

The TrajectoryMeasurement contains the full information about the measurement of a trajectory by a Det, namely
More...

#include <TrackingTools/PatternTools/interface/TrajectoryMeasurement.h>

List of all members.

Public Types

typedef
TransientTrackingRecHit::ConstRecHitPointer 
ConstRecHitPointer
typedef
TransientTrackingRecHit::RecHitPointer 
RecHitPointer

Public Member Functions

TrajectoryStateOnSurface backwardPredictedState () const
 Access to backward predicted state (from smoother).
float estimate () const
TrajectoryStateOnSurface forwardPredictedState () const
 Access to forward predicted state (from fitter or builder).
const DetLayerlayer () const
TrajectoryStateOnSurface predictedState () const
 Access to forward predicted state (from fitter or builder).
ConstRecHitPointer recHit () const
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface bwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate, const DetLayer *layer)
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface bwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate)
 Constructor with forward predicted, backward predicted & updated state, RecHit, estimate.
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface bwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit)
 Constructor with forward predicted, backward predicted & updated state, RecHit.
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate, const DetLayer *layer)
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate)
 Constructor with forward predicted & updated state, RecHit, estimate.
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit)
 Constructor with forward predicted & updated state, RecHit.
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate, const DetLayer *layer)
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate)
 Constructor with forward predicted state, RecHit, estimate.
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdTrajectoryStateOnSurface, ConstRecHitPointer aRecHit)
 Constructor with forward predicted state, const TrackingRecHit*.
 TrajectoryMeasurement ()
TrajectoryStateOnSurface updatedState () const
 Access to updated state (combination of forward predicted state and hit for fitter, + backward predicted state for smoother).
 ~TrajectoryMeasurement ()

Private Attributes

TrajectoryStateOnSurface theBwdPredictedState
float theEstimate
TrajectoryStateOnSurface theFwdPredictedState
const DetLayertheLayer
ConstRecHitPointer theRecHit
TrajectoryStateOnSurface theUpdatedState


Detailed Description

The TrajectoryMeasurement contains the full information about the measurement of a trajectory by a Det, namely


A container of TrajectoryMeasurements is the result of querying a Det for measurements compatible with a TrajectoryState. A reconstructed track also consists of an ordered collection of TrajectoryMeasurements.

Definition at line 24 of file TrajectoryMeasurement.h.


Member Typedef Documentation

typedef TransientTrackingRecHit::ConstRecHitPointer TrajectoryMeasurement::ConstRecHitPointer

Definition at line 28 of file TrajectoryMeasurement.h.

typedef TransientTrackingRecHit::RecHitPointer TrajectoryMeasurement::RecHitPointer

Definition at line 27 of file TrajectoryMeasurement.h.


Constructor & Destructor Documentation

TrajectoryMeasurement::TrajectoryMeasurement (  )  [inline]

Definition at line 30 of file TrajectoryMeasurement.h.

00030 {}

TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit 
) [inline]

Constructor with forward predicted state, const TrackingRecHit*.

Definition at line 33 of file TrajectoryMeasurement.h.

00034                                                     :
00035     theFwdPredictedState(fwdTrajectoryStateOnSurface),
00036     theUpdatedState(fwdTrajectoryStateOnSurface),
00037     theRecHit(aRecHit),
00038     theEstimate(0), theLayer(0) {}

TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit,
float  aEstimate 
) [inline]

Constructor with forward predicted state, RecHit, estimate.

Definition at line 41 of file TrajectoryMeasurement.h.

00042                                                                      :
00043     theFwdPredictedState(fwdTrajectoryStateOnSurface),
00044     theUpdatedState(fwdTrajectoryStateOnSurface),
00045     theRecHit(aRecHit),
00046     theEstimate(aEstimate), theLayer(0) {}
  TrajectoryMeasurement(TrajectoryStateOnSurface fwdTrajectoryStateOnSurface,

TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit,
float  aEstimate,
const DetLayer layer 
) [inline]

Definition at line 47 of file TrajectoryMeasurement.h.

00049                                                :
00050     theFwdPredictedState(fwdTrajectoryStateOnSurface),
00051     theUpdatedState(fwdTrajectoryStateOnSurface),
00052     theRecHit(aRecHit),
00053     theEstimate(aEstimate), theLayer(layer) {}

TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  uTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit 
) [inline]

Constructor with forward predicted & updated state, RecHit.

Definition at line 56 of file TrajectoryMeasurement.h.

00058                                                     :
00059     theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
00060     theUpdatedState(uTrajectoryStateOnSurface),
00061     theRecHit(aRecHit),
00062     theEstimate(0), theLayer(0) {}

TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  uTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit,
float  aEstimate 
) [inline]

Constructor with forward predicted & updated state, RecHit, estimate.

Definition at line 65 of file TrajectoryMeasurement.h.

00067                                                                      :
00068     theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
00069     theUpdatedState(uTrajectoryStateOnSurface),
00070     theRecHit(aRecHit),
00071     theEstimate(aEstimate), theLayer(0) {}
  TrajectoryMeasurement(TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface,

TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  uTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit,
float  aEstimate,
const DetLayer layer 
) [inline]

Definition at line 72 of file TrajectoryMeasurement.h.

00075                                                :
00076     theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
00077     theUpdatedState(uTrajectoryStateOnSurface),
00078     theRecHit(aRecHit),
00079     theEstimate(aEstimate), theLayer(layer) {}

TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  bwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  uTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit 
) [inline]

Constructor with forward predicted, backward predicted & updated state, RecHit.

Definition at line 84 of file TrajectoryMeasurement.h.

00087                                                     :
00088     theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
00089     theBwdPredictedState(bwdPredTrajectoryStateOnSurface),
00090     theUpdatedState(uTrajectoryStateOnSurface),
00091     theRecHit(aRecHit),
00092     theEstimate(0), theLayer(0) {}

TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  bwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  uTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit,
float  aEstimate 
) [inline]

Constructor with forward predicted, backward predicted & updated state, RecHit, estimate.

Definition at line 97 of file TrajectoryMeasurement.h.

00100                                                                      :
00101     theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
00102     theBwdPredictedState(bwdPredTrajectoryStateOnSurface),
00103     theUpdatedState(uTrajectoryStateOnSurface),
00104     theRecHit(aRecHit),
00105     theEstimate(aEstimate), theLayer(0) {}
  TrajectoryMeasurement(TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface,

TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  bwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  uTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit,
float  aEstimate,
const DetLayer layer 
) [inline]

Definition at line 106 of file TrajectoryMeasurement.h.

00110                                                :
00111     theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
00112     theBwdPredictedState(bwdPredTrajectoryStateOnSurface),
00113     theUpdatedState(uTrajectoryStateOnSurface),
00114     theRecHit(aRecHit),
00115     theEstimate(aEstimate), theLayer(layer) {}

TrajectoryMeasurement::~TrajectoryMeasurement (  )  [inline]

Definition at line 117 of file TrajectoryMeasurement.h.

00117                            {
00118     //
00119     // NO! it crashes!!!
00120     //
00121     //    delete theRecHit;
00122   }


Member Function Documentation

TrajectoryStateOnSurface TrajectoryMeasurement::backwardPredictedState (  )  const [inline]

Access to backward predicted state (from smoother).

Definition at line 136 of file TrajectoryMeasurement.h.

References theBwdPredictedState.

Referenced by AlignmentMonitorTracksFromTrajectories::event(), AlignmentMonitorMuonHIP::event(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), CollinearFitAtTM::fit(), PFGsfHelper::PFGsfHelper(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), AlignmentMuonHIPTrajectorySelector::produce(), HIPAlignmentAlgorithm::run(), and trajectoryToResiduals().

00136                                                           {
00137     return theBwdPredictedState;
00138   }

float TrajectoryMeasurement::estimate (  )  const [inline]

Definition at line 151 of file TrajectoryMeasurement.h.

References theEstimate.

Referenced by OutInConversionSeedFinder::createSeed(), InOutConversionSeedFinder::createSeed(), dumpMeasurement(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), HICTrajectoryBuilder::findCompatibleMeasurements(), TrajMeasLessEstim::operator()(), TSGFromPropagation::increasingEstimate::operator()(), Trajectory::push(), TempTrajectory::push(), GsfTrajectorySmoother::trajectories(), CkfTrajectoryBuilder::updateTrajectory(), HICTrajectoryBuilder::updateTrajectory(), and TrajectorySegmentBuilder::updateTrajectory().

00151 { return theEstimate;}

TrajectoryStateOnSurface TrajectoryMeasurement::forwardPredictedState (  )  const [inline]

Access to forward predicted state (from fitter or builder).

Definition at line 132 of file TrajectoryMeasurement.h.

References theFwdPredictedState.

Referenced by cms::DiMuonSeedGeneratorHIC::barrelUpdateSeed(), dumpMeasurement(), AlignmentMonitorMuonHIP::event(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), CollinearFitAtTM::fit(), cms::DiMuonSeedGeneratorHIC::forwardUpdateSeed(), PFGsfHelper::PFGsfHelper(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), MuonHIPAlignmentRefitter::produce(), AlignmentMuonHIPTrajectorySelector::produce(), TrackerToMuonPropagator::produce(), HIPAlignmentAlgorithm::run(), and trajectoryToResiduals().

00132                                                          {
00133     return theFwdPredictedState;
00134   }

const DetLayer* TrajectoryMeasurement::layer (  )  const [inline]

Definition at line 153 of file TrajectoryMeasurement.h.

References theLayer.

Referenced by cms::DiMuonSeedGeneratorHIC::barrelUpdateSeed(), OutInConversionSeedFinder::createSeed(), InOutConversionSeedFinder::createSeed(), dumpMeasurement(), HICTrajectoryBuilder::findCompatibleMeasurements(), OutInConversionSeedFinder::fixPointRadius(), cms::DiMuonSeedGeneratorHIC::forwardUpdateSeed(), MeasurementByLayerGrouper::getDetLayer(), CosmicMuonTrajectoryBuilder::trajectories(), HICMuonUpdator::update(), MuonTrajectoryUpdator::update(), CkfTrajectoryBuilder::updateTrajectory(), HICTrajectoryBuilder::updateTrajectory(), and TrajectorySegmentBuilder::updateTrajectory().

00153 { return theLayer;}

TrajectoryStateOnSurface TrajectoryMeasurement::predictedState (  )  const [inline]

Access to forward predicted state (from fitter or builder).

To be replaced by forwardPredictedState.

Definition at line 127 of file TrajectoryMeasurement.h.

References theFwdPredictedState.

Referenced by CosmicMuonTrajectoryBuilder::buildSecondHalf(), InOutConversionSeedFinder::createSeed(), OutInConversionSeedFinder::createSeedFTS(), HICTrajectoryBuilder::findCompatibleMeasurements(), KFSplittingFitter::fit(), MuonBestMeasurementFinder::lookAtSubRecHits(), MuonTrajectoryUpdator::propagateState(), BaseCkfTrajectoryBuilder::toBeContinued(), trajectorymeasurementOrder(), MuonTrajectoryUpdator::update(), CkfTrajectoryBuilder::updateTrajectory(), HICTrajectoryBuilder::updateTrajectory(), and TrajectorySegmentBuilder::updateTrajectory().

00127                                                   {
00128     return theFwdPredictedState;
00129   }

ConstRecHitPointer TrajectoryMeasurement::recHit (  )  const [inline]

Definition at line 147 of file TrajectoryMeasurement.h.

References theRecHit.

Referenced by BaseCkfTrajectoryBuilder::addToResult(), CkfDebugger::analyseCompatibleMeasurements(), cms::DiMuonSeedGeneratorHIC::barrelUpdateSeed(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), MuonTrackLoader::buildTrackExtra(), InOutConversionSeedFinder::completeSeed(), OutInConversionSeedFinder::completeSeed(), CkfDebugger::correctMeas(), OutInConversionSeedFinder::createSeed(), InOutConversionSeedFinder::createSeed(), dumpMeasurement(), AlignmentMonitorTracksFromTrajectories::event(), AlignmentMonitorMuonHIP::event(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), InOutConversionSeedFinder::fillClusterSeeds(), NuclearInteractionFinder::fillSeeds(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), HICTrajectoryBuilder::findCompatibleMeasurements(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), NuclearInteractionFinder::findCompatibleMeasurements(), CollinearFitAtTM::fit(), OutInConversionSeedFinder::fixPointRadius(), cms::DiMuonSeedGeneratorHIC::forwardUpdateSeed(), MeasurementByLayerGrouper::getDetLayer(), NuclearTrackCorrector::getNewTrackExtra(), CRackTrajectoryBuilder::innerState(), TransientInitialStateEstimator::innerState(), TrajectorySegmentBuilder::lockMeasurement(), MuonBestMeasurementFinder::lookAtSubRecHits(), CkfDebugger::nextCorrectHits(), RecHitIsInvalid::operator()(), PFGsfHelper::PFGsfHelper(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), GoodSeedProducer::produce(), TrackerToMuonPropagator::produce(), AlignmentMuonHIPTrajectorySelector::produce(), MuonTrajectoryUpdator::propagateState(), Trajectory::push(), TempTrajectory::push(), GsfTrackProducerBase::putInEvt(), KfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), CosmicMuonTrajectoryBuilder::reverseTrajectory(), HIPAlignmentAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), OutInConversionSeedFinder::startSeed(), StandAloneMuonTrajectoryBuilder::trajectories(), trajectoryToResiduals(), CosmicMuonTrajectoryBuilder::unusedHits(), HICMuonUpdator::update(), MuonTrajectoryUpdator::update(), CkfTrajectoryBuilder::updateTrajectory(), HICTrajectoryBuilder::updateTrajectory(), and TrajectorySegmentBuilder::updateTrajectory().

00147                                     {
00148     return theRecHit;
00149   }

TrajectoryStateOnSurface TrajectoryMeasurement::updatedState (  )  const [inline]

Access to updated state (combination of forward predicted state and hit for fitter, + backward predicted state for smoother).

Definition at line 143 of file TrajectoryMeasurement.h.

References theUpdatedState.

Referenced by CkfDebugger::analyseCompatibleMeasurements(), CkfDebugger::analyseRecHitNotFound(), GroupedCkfTrajectoryBuilder::backwardFit(), CosmicMuonTrajectoryBuilder::build(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), DAFTrackProducerAlgorithm::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), MuonTrackLoader::buildTrackExtra(), dumpCandidates(), CosmicMuonTrajectoryBuilder::estimateDirection(), InOutConversionSeedFinder::fillClusterSeeds(), NuclearInteractionFinder::fillSeeds(), HICTrajectoryBuilder::findCompatibleMeasurements(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), NuclearInteractionFinder::findCompatibleMeasurements(), TrackLocalAngle::findPixelParameters(), BaseCkfTrajectoryBuilder::findStateAndLayers(), KFTrajectoryFitter::fit(), CollinearFitAtTM::fit(), GsfTrajectoryFitter::fit(), CosmicMuonTrajectoryBuilder::flipTrajectory(), Trajectory::geometricalInnermostState(), NuclearTrackCorrector::getNewTrackExtra(), CosmicMuonSmoother::initialState(), CRackTrajectoryBuilder::innerState(), TransientInitialStateEstimator::innerState(), Trajectory::LessMag::operator()(), PFGsfHelper::PFGsfHelper(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), GoodSeedProducer::produce(), GsfTrackProducerBase::putInEvt(), KfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), HICTrajectoryBuilder::qualityFilter(), TrajectorySegmentBuilder::redoMeasurements(), StandAloneMuonRefitter::refit(), GlobalTrajectoryBuilderBase::refitTrajectory(), RoadSearchTrackCandidateMakerAlgorithm::run(), CRackTrajectoryBuilder::SortHits(), MinPtTrajectoryFilter::test(), ThresholdPtTrajectoryFilter::test(), and CosmicMuonTrajectoryBuilder::trajectories().

00143                                                 {
00144     return theUpdatedState;
00145   }


Member Data Documentation

TrajectoryStateOnSurface TrajectoryMeasurement::theBwdPredictedState [private]

Definition at line 157 of file TrajectoryMeasurement.h.

Referenced by backwardPredictedState().

float TrajectoryMeasurement::theEstimate [private]

Definition at line 160 of file TrajectoryMeasurement.h.

Referenced by estimate().

TrajectoryStateOnSurface TrajectoryMeasurement::theFwdPredictedState [private]

Definition at line 156 of file TrajectoryMeasurement.h.

Referenced by forwardPredictedState(), and predictedState().

const DetLayer* TrajectoryMeasurement::theLayer [private]

Definition at line 161 of file TrajectoryMeasurement.h.

Referenced by layer().

ConstRecHitPointer TrajectoryMeasurement::theRecHit [private]

Definition at line 159 of file TrajectoryMeasurement.h.

Referenced by recHit().

TrajectoryStateOnSurface TrajectoryMeasurement::theUpdatedState [private]

Definition at line 158 of file TrajectoryMeasurement.h.

Referenced by updatedState().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:34:22 2009 for CMSSW by  doxygen 1.5.4