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


Member Typedef Documentation

Definition at line 29 of file TrajectoryMeasurement.h.

Definition at line 28 of file TrajectoryMeasurement.h.


Constructor & Destructor Documentation

TrajectoryMeasurement::TrajectoryMeasurement ( ) [inline]

Definition at line 31 of file TrajectoryMeasurement.h.

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

Constructor with forward predicted state, const TrackingRecHit*.

Definition at line 34 of file TrajectoryMeasurement.h.

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

Constructor with forward predicted state, RecHit, estimate.

Definition at line 42 of file TrajectoryMeasurement.h.

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

Definition at line 48 of file TrajectoryMeasurement.h.

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

Constructor with forward predicted & updated state, RecHit.

Definition at line 57 of file TrajectoryMeasurement.h.

                                                    :
    theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
    theUpdatedState(uTrajectoryStateOnSurface),
    theRecHit(aRecHit),
    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 66 of file TrajectoryMeasurement.h.

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

Definition at line 73 of file TrajectoryMeasurement.h.

                                               :
    theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
    theUpdatedState(uTrajectoryStateOnSurface),
    theRecHit(aRecHit),
    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 85 of file TrajectoryMeasurement.h.

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

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

Definition at line 107 of file TrajectoryMeasurement.h.

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

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 166 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(), MeasurementByLayerGrouper::getDetLayer(), SimpleMTFHitCollector::getMeasurements(), NuclearTrackCorrector::getNewTrackExtra(), CRackTrajectoryBuilder::innerState(), TransientInitialStateEstimator::innerState(), TrajectorySegmentBuilder::lockMeasurement(), MuonBestMeasurementFinder::lookAtSubRecHits(), MuonResidualsFromTrack::MuonResidualsFromTrack(), CkfDebugger::nextCorrectHits(), RecHitIsInvalid::operator()(), PFGsfHelper::PFGsfHelper(), TempTrajectory::pop(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), TkAlCaOverlapTagger::produce(), ShallowTrackClustersProducer::produce(), AlignmentMuonHIPTrajectorySelector::produce(), TrackerToMuonPropagator::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(), SimpleMTFHitCollector::TSOSfinder(), 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 174 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 162 of file TrajectoryMeasurement.h.

References theUpdatedState.

Referenced by CRackTrajectoryBuilder::AddHit(), CkfDebugger::analyseCompatibleMeasurements(), CkfDebugger::analyseRecHitNotFound(), GroupedCkfTrajectoryBuilder::backwardFit(), CosmicMuonTrajectoryBuilder::build(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), DAFTrackProducerAlgorithm::buildTrack(), MTFTrackProducerAlgorithm::buildTrack(), 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(), 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 178 of file TrajectoryMeasurement.h.

Referenced by backwardPredictedState().

Definition at line 181 of file TrajectoryMeasurement.h.

Referenced by estimate().

Definition at line 177 of file TrajectoryMeasurement.h.

Referenced by forwardPredictedState(), and predictedState().

Definition at line 182 of file TrajectoryMeasurement.h.

Referenced by layer(), and setLayer().

Definition at line 180 of file TrajectoryMeasurement.h.

Referenced by recHit().

Definition at line 179 of file TrajectoryMeasurement.h.

Referenced by updatedState().