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
TrackingRecHit::ConstRecHitPointer 
ConstRecHitPointer
 
typedef
TrackingRecHit::RecHitPointer 
RecHitPointer
 

Public Member Functions

TrajectoryStateOnSurface const & backwardPredictedState () const
 Access to backward predicted state (from smoother) More...
 
float estimate () const
 
TrajectoryStateOnSurface const & forwardPredictedState () const
 Access to forward predicted state (from fitter or builder) More...
 
const DetLayerlayer () const
 
TrajectoryMeasurementoperator= (TrajectoryMeasurement const &rh)
 
TrajectoryStateOnSurface const & predictedState () const
 
ConstRecHitPointer const & recHit () const
 
ConstRecHitPointer const & recHitP () const
 
TrackingRecHit const & recHitR () const
 
 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 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)
 
 TrajectoryMeasurement (TrajectoryMeasurement const &rh)
 
TrajectoryStateOnSurface const & updatedState () const
 

Private Attributes

TrajectoryStateOnSurface theBwdPredictedState
 
float theEstimate
 
TrajectoryStateOnSurface theFwdPredictedState
 
DetLayer const * theLayer
 
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 34 of file TrajectoryMeasurement.h.

Definition at line 33 of file TrajectoryMeasurement.h.

Constructor & Destructor Documentation

TrajectoryMeasurement::TrajectoryMeasurement ( )
inline

Definition at line 37 of file TrajectoryMeasurement.h.

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

Constructor with forward predicted state, const TrackingRecHit*.

Definition at line 40 of file TrajectoryMeasurement.h.

41  :
42  theFwdPredictedState(fwdTrajectoryStateOnSurface),
43  theUpdatedState(fwdTrajectoryStateOnSurface),
44  theRecHit(aRecHit),
45  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 48 of file TrajectoryMeasurement.h.

49  :
50  theFwdPredictedState(fwdTrajectoryStateOnSurface),
51  theUpdatedState(fwdTrajectoryStateOnSurface),
52  theRecHit(aRecHit),
53  theLayer(0),
54  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 93 of file TrajectoryMeasurement.h.

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

109  :
110  theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
111  theBwdPredictedState(bwdPredTrajectoryStateOnSurface),
112  theUpdatedState(uTrajectoryStateOnSurface),
113  theRecHit(aRecHit),
114  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 116 of file TrajectoryMeasurement.h.

120  :
121  theFwdPredictedState(fwdPredTrajectoryStateOnSurface),
122  theBwdPredictedState(bwdPredTrajectoryStateOnSurface),
123  theUpdatedState(uTrajectoryStateOnSurface),
124  theRecHit(aRecHit),
125  theLayer(layer), theEstimate(aEstimate) {}
TrajectoryStateOnSurface theUpdatedState
TrajectoryStateOnSurface theFwdPredictedState
TrajectoryStateOnSurface theBwdPredictedState
ConstRecHitPointer theRecHit
TrajectoryMeasurement::TrajectoryMeasurement ( TrajectoryMeasurement const &  rh)
inline

Definition at line 128 of file TrajectoryMeasurement.h.

128  :
129  theFwdPredictedState(rh.theFwdPredictedState),
130  theBwdPredictedState(rh.theBwdPredictedState),
131  theUpdatedState(rh.theUpdatedState),
132  theRecHit(rh.theRecHit), theLayer(rh.theLayer),
133  theEstimate(rh.theEstimate) {}
TrajectoryStateOnSurface theUpdatedState
TrajectoryStateOnSurface theFwdPredictedState
TrajectoryStateOnSurface theBwdPredictedState
ConstRecHitPointer theRecHit

Member Function Documentation

TrajectoryStateOnSurface const& TrajectoryMeasurement::backwardPredictedState ( ) const
inline
float TrajectoryMeasurement::estimate ( ) const
inline
TrajectoryStateOnSurface const& TrajectoryMeasurement::forwardPredictedState ( ) const
inline
const DetLayer* TrajectoryMeasurement::layer ( ) const
inline
TrajectoryMeasurement& TrajectoryMeasurement::operator= ( TrajectoryMeasurement const &  rh)
inline

Definition at line 135 of file TrajectoryMeasurement.h.

References theBwdPredictedState, theEstimate, theFwdPredictedState, theLayer, theRecHit, and theUpdatedState.

135  {
136  theFwdPredictedState = rh.theFwdPredictedState;
137  theBwdPredictedState = rh.theBwdPredictedState;
138  theUpdatedState = rh.theUpdatedState;
139  theRecHit = rh.theRecHit;
140  theEstimate=rh.theEstimate;
141  theLayer=rh.theLayer;
142 
143  return *this;
144 
145  }
TrajectoryStateOnSurface theUpdatedState
TrajectoryStateOnSurface theFwdPredictedState
TrajectoryStateOnSurface theBwdPredictedState
ConstRecHitPointer theRecHit
TrajectoryStateOnSurface const& TrajectoryMeasurement::predictedState ( ) const
inline
ConstRecHitPointer const& TrajectoryMeasurement::recHit ( ) const
inline

Definition at line 209 of file TrajectoryMeasurement.h.

References recHitP().

Referenced by BaseCkfTrajectoryBuilder::addToResult(), CkfDebugger::analyseCompatibleMeasurements(), SiPixelHitEfficiencySource::analyze(), HitEff::analyze(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), MuonTrackLoader::buildTrackExtra(), reco::modules::TrackerTrackHitFilter::checkHitAngle(), DAFTrackProducerAlgorithm::checkHits(), 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(), AlignmentMonitorGeneric::event(), AlignmentMonitorTracksFromTrajectories::event(), InOutConversionSeedFinder::fillClusterSeeds(), ApeEstimator::fillHitVariables(), NuclearInteractionFinder::fillSeeds(), ApeEstimator::fillTrackVariables(), DynamicTruncation::filter(), MuonBestMeasurementFinder::findBestMeasurement(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), NuclearInteractionFinder::findCompatibleMeasurements(), InOutConversionSeedFinder::findSeeds(), CollinearFitAtTM::fit(), OutInConversionSeedFinder::fixPointRadius(), MeasurementByLayerGrouper::getDetLayer(), NuclearTrackCorrector::getNewTrackExtra(), TransientInitialStateEstimator::innerState(), CRackTrajectoryBuilder::innerState(), TrajectorySegmentBuilder::lockMeasurement(), MuonBestMeasurementFinder::lookAtSubRecHits(), MuonResidualsFromTrack::MuonResidualsFromTrack(), CkfDebugger::nextCorrectHits(), RecHitIsInvalid::operator()(), PFGsfHelper::PFGsfHelper(), TempTrajectory::pop(), ShallowTrackClustersProducer::produce(), TkAlCaOverlapTagger::produce(), MuonReSeeder::produce(), AlignmentMuonHIPTrajectorySelector::produce(), TrackerToMuonPropagator::produce(), MuonTrajectoryUpdator::propagateState(), TempTrajectory::pushAux(), Trajectory::pushAux(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), CosmicMuonTrajectoryBuilder::reverseTrajectory(), MuonMillepedeAlgorithm::run(), HIPAlignmentAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), OutInConversionSeedFinder::startSeed(), StripSubClusterShapeTrajectoryFilter::testLastHit(), StandAloneMuonTrajectoryBuilder::trajectories(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), trajectoryToResiduals(), CosmicMuonTrajectoryBuilder::unusedHits(), MuonTrajectoryUpdator::update(), and TrajectorySegmentBuilder::updateTrajectory().

209  {
210  return recHitP();
211  }
ConstRecHitPointer const & recHitP() const
ConstRecHitPointer const& TrajectoryMeasurement::recHitP ( ) const
inline

Definition at line 205 of file TrajectoryMeasurement.h.

References theRecHit.

Referenced by recHit().

205  {
206  return theRecHit;
207  }
ConstRecHitPointer theRecHit
TrackingRecHit const& TrajectoryMeasurement::recHitR ( ) const
inline

Definition at line 199 of file TrajectoryMeasurement.h.

References theRecHit.

Referenced by KFFittingSmoother::fitOne(), and GroupedCkfTrajectoryBuilder::groupedIntermediaryClean().

199  {
200  return *theRecHit;
201  }
ConstRecHitPointer theRecHit
TrajectoryStateOnSurface const& 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 190 of file TrajectoryMeasurement.h.

References theUpdatedState.

Referenced by CosmicTrajectoryBuilder::AddHit(), CRackTrajectoryBuilder::AddHit(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), CkfDebugger::analyseCompatibleMeasurements(), CkfDebugger::analyseRecHitNotFound(), GroupedCkfTrajectoryBuilder::backwardFit(), CosmicMuonTrajectoryBuilder::build(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), DAFTrackProducerAlgorithm::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(), NuclearInteractionFinder::fillSeeds(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), NuclearInteractionFinder::findCompatibleMeasurements(), BaseCkfTrajectoryBuilder::findStateAndLayers(), CollinearFitAtTM::fit(), GsfTrajectoryFitter::fitOne(), KFTrajectoryFitter::fitOne(), CosmicMuonTrajectoryBuilder::flipTrajectory(), NuclearTrackCorrector::getNewTrackExtra(), ConversionSeedFilter::getTSOS(), CosmicMuonSmoother::initialState(), TransientInitialStateEstimator::innerState(), CRackTrajectoryBuilder::innerState(), PFGsfHelper::PFGsfHelper(), ShallowTrackClustersProducer::produce(), MuonReSeeder::produce(), TempTrajectory::pushAux(), KfTrackProducerBase::putInEvt(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), TrajectorySegmentBuilder::redoMeasurements(), CRackTrajectoryBuilder::run(), StandAloneMuonRefitter::singleRefit(), CRackTrajectoryBuilder::SortHits(), Traj2TrackHits::split(), ThresholdPtTrajectoryFilter::test(), MinPtTrajectoryFilter::test(), StripSubClusterShapeTrajectoryFilter::testLastHit(), and CosmicMuonTrajectoryBuilder::trajectories().

190  {
191  return theUpdatedState;
192  }
TrajectoryStateOnSurface theUpdatedState

Member Data Documentation

TrajectoryStateOnSurface TrajectoryMeasurement::theBwdPredictedState
private

Definition at line 221 of file TrajectoryMeasurement.h.

Referenced by backwardPredictedState(), and operator=().

float TrajectoryMeasurement::theEstimate
private

Definition at line 225 of file TrajectoryMeasurement.h.

Referenced by estimate(), and operator=().

TrajectoryStateOnSurface TrajectoryMeasurement::theFwdPredictedState
private

Definition at line 220 of file TrajectoryMeasurement.h.

Referenced by forwardPredictedState(), operator=(), and predictedState().

DetLayer const* TrajectoryMeasurement::theLayer
mutableprivate

Definition at line 224 of file TrajectoryMeasurement.h.

Referenced by layer(), and operator=().

ConstRecHitPointer TrajectoryMeasurement::theRecHit
private

Definition at line 223 of file TrajectoryMeasurement.h.

Referenced by operator=(), recHitP(), and recHitR().

TrajectoryStateOnSurface TrajectoryMeasurement::theUpdatedState
private

Definition at line 222 of file TrajectoryMeasurement.h.

Referenced by operator=(), and updatedState().