CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

TrajectoryMeasurement Class Reference

#include <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
ConstRecHitPointer recHit () const
void setLayer (const DetLayer *il)
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate)
 Constructor with forward predicted state, RecHit, estimate.
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit)
 Constructor with forward predicted & updated state, RecHit.
 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)
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface bwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit)
 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 fwdTrajectoryStateOnSurface, ConstRecHitPointer aRecHit)
 Constructor with forward predicted state, const TrackingRecHit*.
 TrajectoryMeasurement ()
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate, const DetLayer *layer)
TrajectoryStateOnSurface updatedState () const

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 26 of file TrajectoryMeasurement.h.


Member Typedef Documentation

Definition at line 30 of file TrajectoryMeasurement.h.

Definition at line 29 of file TrajectoryMeasurement.h.


Constructor & Destructor Documentation

TrajectoryMeasurement::TrajectoryMeasurement ( ) [inline]

Definition at line 32 of file TrajectoryMeasurement.h.

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

Constructor with forward predicted state, const TrackingRecHit*.

Definition at line 35 of file TrajectoryMeasurement.h.

                                                    :
    theFwdPredictedState(fwdTrajectoryStateOnSurface),
    theUpdatedState(fwdTrajectoryStateOnSurface),
    theRecHit(aRecHit),
    theLayer(0), theEstimate(0) {}
TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit,
float  aEstimate 
) [inline]

Constructor with forward predicted state, RecHit, estimate.

Definition at line 43 of file TrajectoryMeasurement.h.

                                                                     :
    theFwdPredictedState(fwdTrajectoryStateOnSurface),
    theUpdatedState(fwdTrajectoryStateOnSurface),
    theRecHit(aRecHit), 
    theLayer(0),
    theEstimate(aEstimate) {}
TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit,
float  aEstimate,
const DetLayer layer 
) [inline]

Definition at line 50 of file TrajectoryMeasurement.h.

                                               :
    theFwdPredictedState(fwdTrajectoryStateOnSurface),
    theUpdatedState(fwdTrajectoryStateOnSurface),
    theRecHit(aRecHit), theLayer(layer) ,
    theEstimate(aEstimate){}
TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  uTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit 
) [inline]

Constructor with forward predicted & updated state, RecHit.

Definition at line 59 of file TrajectoryMeasurement.h.

                                                    :
    theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
    theUpdatedState(uTrajectoryStateOnSurface),
    theRecHit(aRecHit), theLayer(0),
    theEstimate(0) {}
TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  uTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit,
float  aEstimate 
) [inline]

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

Definition at line 68 of file TrajectoryMeasurement.h.

                                                                     :
    theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
    theUpdatedState(uTrajectoryStateOnSurface),
    theRecHit(aRecHit), theLayer(0),
    theEstimate(aEstimate) {}
TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  uTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit,
float  aEstimate,
const DetLayer layer 
) [inline]

Definition at line 75 of file TrajectoryMeasurement.h.

                                               :
    theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
    theUpdatedState(uTrajectoryStateOnSurface),
    theRecHit(aRecHit), theLayer(layer),
    theEstimate(aEstimate) {}
TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  bwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  uTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit 
) [inline]

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

Definition at line 87 of file TrajectoryMeasurement.h.

                                                    :
    theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
    theBwdPredictedState(bwdPredTrajectoryStateOnSurface),
    theUpdatedState(uTrajectoryStateOnSurface),
    theRecHit(aRecHit),
    theLayer(0), theEstimate(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 100 of file TrajectoryMeasurement.h.

                                                                     :
    theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
    theBwdPredictedState(bwdPredTrajectoryStateOnSurface),
    theUpdatedState(uTrajectoryStateOnSurface),
    theRecHit(aRecHit),
    theLayer(0), theEstimate(aEstimate) {}
TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  bwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  uTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit,
float  aEstimate,
const DetLayer layer 
) [inline]

Definition at line 109 of file TrajectoryMeasurement.h.

                                               :
    theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
    theBwdPredictedState(bwdPredTrajectoryStateOnSurface),
    theUpdatedState(uTrajectoryStateOnSurface),
    theRecHit(aRecHit),
    theLayer(layer), theEstimate(aEstimate) {}

Member Function Documentation

TrajectoryStateOnSurface TrajectoryMeasurement::backwardPredictedState ( ) const [inline]
float TrajectoryMeasurement::estimate ( ) const [inline]
TrajectoryStateOnSurface TrajectoryMeasurement::forwardPredictedState ( ) const [inline]
const DetLayer* TrajectoryMeasurement::layer ( ) const [inline]
TrajectoryStateOnSurface TrajectoryMeasurement::predictedState ( ) const [inline]
ConstRecHitPointer TrajectoryMeasurement::recHit ( ) const [inline]

Definition at line 191 of file TrajectoryMeasurement.h.

References theRecHit.

Referenced by BaseCkfTrajectoryBuilder::addToResult(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), CkfDebugger::analyseCompatibleMeasurements(), cms::DiMuonSeedGeneratorHIC::barrelUpdateSeed(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), MuonTrackLoader::buildTrackExtra(), reco::modules::TrackerTrackHitFilter::checkHitAngle(), reco::modules::TrackerTrackHitFilter::checkPXLCorrClustCharge(), CollinearFitAtTM2::CollinearFitAtTM2(), InOutConversionSeedFinder::completeSeed(), OutInConversionSeedFinder::completeSeed(), GsfTrackProducerBase::computeModeAtTM(), CkfDebugger::correctMeas(), OutInConversionSeedFinder::createSeed(), InOutConversionSeedFinder::createSeed(), PrintoutHelper::dumpCandidate(), PrintoutHelper::dumpMeasurement(), AlignmentMonitorTracksFromTrajectories::event(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), InOutConversionSeedFinder::fillClusterSeeds(), DualKalmanTrajectory::fillKalmanPart(), NuclearInteractionFinder::fillSeeds(), DynamicTruncation::filter(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), HICTrajectoryBuilder::findCompatibleMeasurements(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), NuclearInteractionFinder::findCompatibleMeasurements(), InOutConversionSeedFinder::findSeeds(), CollinearFitAtTM::fit(), OutInConversionSeedFinder::fixPointRadius(), cms::DiMuonSeedGeneratorHIC::forwardUpdateSeed(), NuclearTrackCorrector::getNewTrackExtra(), CRackTrajectoryBuilder::innerState(), TransientInitialStateEstimator::innerState(), TrajectorySegmentBuilder::lockMeasurement(), MuonBestMeasurementFinder::lookAtSubRecHits(), MuonResidualsFromTrack::MuonResidualsFromTrack(), CkfDebugger::nextCorrectHits(), RecHitIsInvalid::operator()(), PFGsfHelper::PFGsfHelper(), TempTrajectory::pop(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), ShallowTrackClustersProducer::produce(), TkAlCaOverlapTagger::produce(), TrackerToMuonPropagator::produce(), AlignmentMuonHIPTrajectorySelector::produce(), MuonTrajectoryUpdator::propagateState(), Trajectory::push(), TempTrajectory::pushAux(), GsfTrackProducerBase::putInEvt(), KfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), CosmicMuonTrajectoryBuilder::reverseTrajectory(), HIPAlignmentAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), MuonMillepedeAlgorithm::run(), OutInConversionSeedFinder::startSeed(), StandAloneMuonTrajectoryBuilder::trajectories(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), trajectoryToResiduals(), CosmicMuonTrajectoryBuilder::unusedHits(), HICMuonUpdator::update(), MuonTrajectoryUpdator::update(), CkfTrajectoryBuilder::updateTrajectory(), HICTrajectoryBuilder::updateTrajectory(), and TrajectorySegmentBuilder::updateTrajectory().

                                    {
    return theRecHit;
  }
void TrajectoryMeasurement::setLayer ( const DetLayer il) [inline]

Definition at line 199 of file TrajectoryMeasurement.h.

References theLayer.

{ theLayer=il;}
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 187 of file TrajectoryMeasurement.h.

References theUpdatedState.

Referenced by CRackTrajectoryBuilder::AddHit(), CkfDebugger::analyseCompatibleMeasurements(), CkfDebugger::analyseRecHitNotFound(), GroupedCkfTrajectoryBuilder::backwardFit(), CosmicMuonTrajectoryBuilder::build(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), MuonTrackLoader::buildTrackExtra(), reco::modules::TrackerTrackHitFilter::checkHitAngle(), reco::modules::TrackerTrackHitFilter::checkPXLCorrClustCharge(), CollinearFitAtTM2::CollinearFitAtTM2(), GsfTrackProducerBase::computeModeAtTM(), GlobalTrackerMuonAlignment::debugTrajectory(), PrintoutHelper::dumpCandidate(), PrintoutHelper::dumpMeasurement(), CosmicMuonTrajectoryBuilder::estimateDirection(), InOutConversionSeedFinder::fillClusterSeeds(), DualKalmanTrajectory::fillMeasurementAndError2(), NuclearInteractionFinder::fillSeeds(), HICTrajectoryBuilder::findCompatibleMeasurements(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), NuclearInteractionFinder::findCompatibleMeasurements(), BaseCkfTrajectoryBuilder::findStateAndLayers(), KFTrajectoryFitter::fit(), CollinearFitAtTM::fit(), GsfTrajectoryFitter::fit(), CosmicMuonTrajectoryBuilder::flipTrajectory(), NuclearTrackCorrector::getNewTrackExtra(), ConversionSeedFilter::getTSOS(), CosmicMuonSmoother::initialState(), CRackTrajectoryBuilder::innerState(), TransientInitialStateEstimator::innerState(), TempTrajectory::join(), PFGsfHelper::PFGsfHelper(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), ShallowTrackClustersProducer::produce(), TempTrajectory::pushAux(), GsfTrackProducerBase::putInEvt(), KfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), HICTrajectoryBuilder::qualityFilter(), TrajectorySegmentBuilder::redoMeasurements(), RoadSearchTrackCandidateMakerAlgorithm::run(), StandAloneMuonRefitter::singleRefit(), CRackTrajectoryBuilder::SortHits(), MinPtTrajectoryFilter::test(), ThresholdPtTrajectoryFilter::test(), and CosmicMuonTrajectoryBuilder::trajectories().

                                                {
    return theUpdatedState;
  }

Member Data Documentation

Definition at line 203 of file TrajectoryMeasurement.h.

Referenced by backwardPredictedState().

Definition at line 207 of file TrajectoryMeasurement.h.

Referenced by estimate().

Definition at line 202 of file TrajectoryMeasurement.h.

Referenced by forwardPredictedState(), and predictedState().

Definition at line 206 of file TrajectoryMeasurement.h.

Referenced by layer(), and setLayer().

Definition at line 205 of file TrajectoryMeasurement.h.

Referenced by recHit().

Definition at line 204 of file TrajectoryMeasurement.h.

Referenced by updatedState().