CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
TrajectoryMeasurement Class Reference

#include <TrajectoryMeasurement.h>

Public Types

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

Public Member Functions

TrajectoryStateOnSurface backwardPredictedState () const
 Access to backward predicted state (from smoother) More...
 
float estimate () const
 
TrajectoryStateOnSurface forwardPredictedState () const
 Access to forward predicted state (from fitter or builder) More...
 
const DetLayerlayer () const
 
TrajectoryStateOnSurface predictedState () const
 
ConstRecHitPointer recHit () const
 
void setLayer (const DetLayer *il)
 
 TrajectoryMeasurement ()
 
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdTrajectoryStateOnSurface, ConstRecHitPointer aRecHit)
 Constructor with forward predicted state, const TrackingRecHit*. More...
 
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate)
 Constructor with forward predicted state, RecHit, estimate. More...
 
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate, const DetLayer *layer)
 
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit)
 Constructor with forward predicted & updated state, RecHit. More...
 
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate)
 Constructor with forward predicted & updated state, RecHit, estimate. More...
 
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate, const DetLayer *layer)
 
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface bwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit)
 
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface bwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, ConstRecHitPointer aRecHit, float aEstimate)
 
 TrajectoryMeasurement (TrajectoryStateOnSurface fwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface bwdPredTrajectoryStateOnSurface, TrajectoryStateOnSurface uTrajectoryStateOnSurface, 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.

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

Constructor with forward predicted state, const TrackingRecHit*.

Definition at line 35 of file TrajectoryMeasurement.h.

36  :
37  theFwdPredictedState(fwdTrajectoryStateOnSurface),
38  theUpdatedState(fwdTrajectoryStateOnSurface),
39  theRecHit(aRecHit),
40  theLayer(0), theEstimate(0) {}
TrajectoryStateOnSurface theUpdatedState
TrajectoryStateOnSurface theFwdPredictedState
ConstRecHitPointer theRecHit
TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit,
float  aEstimate 
)
inline

Constructor with forward predicted state, RecHit, estimate.

Definition at line 43 of file TrajectoryMeasurement.h.

44  :
45  theFwdPredictedState(fwdTrajectoryStateOnSurface),
46  theUpdatedState(fwdTrajectoryStateOnSurface),
47  theRecHit(aRecHit),
48  theLayer(0),
49  theEstimate(aEstimate) {}
TrajectoryStateOnSurface theUpdatedState
TrajectoryStateOnSurface theFwdPredictedState
ConstRecHitPointer theRecHit
TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit,
float  aEstimate,
const DetLayer layer 
)
inline

Definition at line 50 of file TrajectoryMeasurement.h.

52  :
53  theFwdPredictedState(fwdTrajectoryStateOnSurface),
54  theUpdatedState(fwdTrajectoryStateOnSurface),
55  theRecHit(aRecHit), theLayer(layer) ,
56  theEstimate(aEstimate){}
TrajectoryStateOnSurface theUpdatedState
TrajectoryStateOnSurface theFwdPredictedState
ConstRecHitPointer theRecHit
TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  uTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit 
)
inline

Constructor with forward predicted & updated state, RecHit.

Definition at line 59 of file TrajectoryMeasurement.h.

61  :
62  theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
63  theUpdatedState(uTrajectoryStateOnSurface),
64  theRecHit(aRecHit), theLayer(0),
65  theEstimate(0) {}
TrajectoryStateOnSurface theUpdatedState
TrajectoryStateOnSurface theFwdPredictedState
ConstRecHitPointer theRecHit
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.

70  :
71  theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
72  theUpdatedState(uTrajectoryStateOnSurface),
73  theRecHit(aRecHit), theLayer(0),
74  theEstimate(aEstimate) {}
TrajectoryStateOnSurface theUpdatedState
TrajectoryStateOnSurface theFwdPredictedState
ConstRecHitPointer theRecHit
TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  uTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit,
float  aEstimate,
const DetLayer layer 
)
inline

Definition at line 75 of file TrajectoryMeasurement.h.

78  :
79  theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
80  theUpdatedState(uTrajectoryStateOnSurface),
81  theRecHit(aRecHit), theLayer(layer),
82  theEstimate(aEstimate) {}
TrajectoryStateOnSurface theUpdatedState
TrajectoryStateOnSurface theFwdPredictedState
ConstRecHitPointer theRecHit
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.

90  :
91  theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
92  theBwdPredictedState(bwdPredTrajectoryStateOnSurface),
93  theUpdatedState(uTrajectoryStateOnSurface),
94  theRecHit(aRecHit),
95  theLayer(0), theEstimate(0) {}
TrajectoryStateOnSurface theUpdatedState
TrajectoryStateOnSurface theFwdPredictedState
TrajectoryStateOnSurface theBwdPredictedState
ConstRecHitPointer theRecHit
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.

103  :
104  theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
105  theBwdPredictedState(bwdPredTrajectoryStateOnSurface),
106  theUpdatedState(uTrajectoryStateOnSurface),
107  theRecHit(aRecHit),
108  theLayer(0), theEstimate(aEstimate) {}
TrajectoryStateOnSurface theUpdatedState
TrajectoryStateOnSurface theFwdPredictedState
TrajectoryStateOnSurface theBwdPredictedState
ConstRecHitPointer theRecHit
TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryStateOnSurface  fwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  bwdPredTrajectoryStateOnSurface,
TrajectoryStateOnSurface  uTrajectoryStateOnSurface,
ConstRecHitPointer  aRecHit,
float  aEstimate,
const DetLayer layer 
)
inline

Definition at line 109 of file TrajectoryMeasurement.h.

113  :
114  theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
115  theBwdPredictedState(bwdPredTrajectoryStateOnSurface),
116  theUpdatedState(uTrajectoryStateOnSurface),
117  theRecHit(aRecHit),
118  theLayer(layer), theEstimate(aEstimate) {}
TrajectoryStateOnSurface theUpdatedState
TrajectoryStateOnSurface theFwdPredictedState
TrajectoryStateOnSurface theBwdPredictedState
ConstRecHitPointer theRecHit

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(), OutInConversionSeedFinder::completeSeed(), InOutConversionSeedFinder::completeSeed(), GsfTrackProducerBase::computeModeAtTM(), CkfDebugger::correctMeas(), OutInConversionSeedFinder::createSeed(), InOutConversionSeedFinder::createSeed(), PrintoutHelper::dumpCandidate(), PrintoutHelper::dumpMeasurement(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorTracksFromTrajectories::event(), AlignmentMonitorGeneric::event(), InOutConversionSeedFinder::fillClusterSeeds(), DualKalmanTrajectory::fillKalmanPart(), NuclearInteractionFinder::fillSeeds(), DynamicTruncation::filter(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), NuclearInteractionFinder::findCompatibleMeasurements(), HICTrajectoryBuilder::findCompatibleMeasurements(), InOutConversionSeedFinder::findSeeds(), CollinearFitAtTM::fit(), OutInConversionSeedFinder::fixPointRadius(), cms::DiMuonSeedGeneratorHIC::forwardUpdateSeed(), NuclearTrackCorrector::getNewTrackExtra(), TransientInitialStateEstimator::innerState(), CRackTrajectoryBuilder::innerState(), TrajectorySegmentBuilder::lockMeasurement(), MuonBestMeasurementFinder::lookAtSubRecHits(), MuonResidualsFromTrack::MuonResidualsFromTrack(), CkfDebugger::nextCorrectHits(), RecHitIsInvalid::operator()(), PFGsfHelper::PFGsfHelper(), TempTrajectory::pop(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), ShallowTrackClustersProducer::produce(), TkAlCaOverlapTagger::produce(), AlignmentMuonHIPTrajectorySelector::produce(), TrackerToMuonPropagator::produce(), MuonTrajectoryUpdator::propagateState(), Trajectory::push(), TempTrajectory::pushAux(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), CosmicMuonTrajectoryBuilder::reverseTrajectory(), MuonMillepedeAlgorithm::run(), HIPAlignmentAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), RoadSearchTrackCandidateMakerAlgorithm::run(), OutInConversionSeedFinder::startSeed(), StandAloneMuonTrajectoryBuilder::trajectories(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), trajectoryToResiduals(), CosmicMuonTrajectoryBuilder::unusedHits(), HICMuonUpdator::update(), MuonTrajectoryUpdator::update(), TrajectorySegmentBuilder::updateTrajectory(), CkfTrajectoryBuilder::updateTrajectory(), and HICTrajectoryBuilder::updateTrajectory().

191  {
192  return theRecHit;
193  }
ConstRecHitPointer theRecHit
void TrajectoryMeasurement::setLayer ( const DetLayer il)
inline

Definition at line 199 of file TrajectoryMeasurement.h.

References theLayer.

199 { 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 CosmicTrajectoryBuilder::AddHit(), 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(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), NuclearInteractionFinder::findCompatibleMeasurements(), HICTrajectoryBuilder::findCompatibleMeasurements(), BaseCkfTrajectoryBuilder::findStateAndLayers(), CollinearFitAtTM::fit(), GsfTrajectoryFitter::fit(), KFTrajectoryFitter::fit(), CosmicMuonTrajectoryBuilder::flipTrajectory(), NuclearTrackCorrector::getNewTrackExtra(), ConversionSeedFilter::getTSOS(), CosmicMuonSmoother::initialState(), TransientInitialStateEstimator::innerState(), CRackTrajectoryBuilder::innerState(), TempTrajectory::join(), PFGsfHelper::PFGsfHelper(), RoadSearchTrackCandidateMakerAlgorithm::PrepareTrackCandidates(), ShallowTrackClustersProducer::produce(), TempTrajectory::pushAux(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), HICTrajectoryBuilder::qualityFilter(), TrajectorySegmentBuilder::redoMeasurements(), RoadSearchTrackCandidateMakerAlgorithm::run(), CRackTrajectoryBuilder::run(), StandAloneMuonRefitter::singleRefit(), CRackTrajectoryBuilder::SortHits(), ThresholdPtTrajectoryFilter::test(), MinPtTrajectoryFilter::test(), and CosmicMuonTrajectoryBuilder::trajectories().

187  {
188  return theUpdatedState;
189  }
TrajectoryStateOnSurface theUpdatedState

Member Data Documentation

TrajectoryStateOnSurface TrajectoryMeasurement::theBwdPredictedState
private

Definition at line 203 of file TrajectoryMeasurement.h.

Referenced by backwardPredictedState().

float TrajectoryMeasurement::theEstimate
private

Definition at line 207 of file TrajectoryMeasurement.h.

Referenced by estimate().

TrajectoryStateOnSurface TrajectoryMeasurement::theFwdPredictedState
private

Definition at line 202 of file TrajectoryMeasurement.h.

Referenced by forwardPredictedState(), and predictedState().

const DetLayer* TrajectoryMeasurement::theLayer
private

Definition at line 206 of file TrajectoryMeasurement.h.

Referenced by layer(), and setLayer().

ConstRecHitPointer TrajectoryMeasurement::theRecHit
private

Definition at line 205 of file TrajectoryMeasurement.h.

Referenced by recHit().

TrajectoryStateOnSurface TrajectoryMeasurement::theUpdatedState
private

Definition at line 204 of file TrajectoryMeasurement.h.

Referenced by updatedState().