#include <Trajectory.h>
Public Types | |
using | ConstRecHitContainer = TrackingRecHit::ConstRecHitContainer |
typedef std::vector< TrajectoryMeasurement > | DataContainer |
using | RecHitContainer = ConstRecHitContainer |
Static Public Member Functions | |
static bool | inactive () |
static bool | isBad (const TrackingRecHit &hit) |
static bool | lost (const TrackingRecHit &hit) |
static bool | pixel (const TrackingRecHit &hit) |
Private Member Functions | |
bool | badForCCC (const TrajectoryMeasurement &tm) |
void | check () const |
void | pushAux (double chi2Increment) |
void | updateBadForCCC (float ccc_threshold) |
Private Attributes | |
edm::RefToBase< TrajectorySeed > | seedRef_ |
StopReason | stopReason_ = StopReason::UNINITIALIZED |
float | theCCCThreshold_ =std::numeric_limits<float>::max() |
float | theChiSquared =0 |
float | theChiSquaredBad =0 |
DataContainer | theData |
PropagationDirection | theDirection =anyDirection |
bool | theDirectionValidity =false |
float | theDPhiCache =0 |
signed char | theNLoops =0 |
signed short | theNumberOfCCCBadHits_ =0 |
signed short | theNumberOfFoundHits =0 |
signed short | theNumberOfFoundPixelHits =0 |
signed short | theNumberOfLostHits =0 |
signed short | theNumberOfTrailingFoundHits =0 |
boost::shared_ptr< const TrajectorySeed > | theSeed |
bool | theValid =false |
A class for detailed particle trajectory representation. It is used during trajectory building to "grow" a trajectory. The trajectory is represented as an ordered sequence of TrajectoryMeasurement objects with a stack-like interface. The measurements are added to the Trajectory in the order of increasing precision: each new TrajectoryMeasurement is assumed to improve the precision of the last one, normally by adding a constraint from a new RecHit. However the Trajectory class does not have the means to verify that measurements are added in the correct order, and thus cannot guarantee the order, which is the responsibility of the TrajectoryBuilder. The Trajectory provides some security by allowing to add or remove measurements only on one of it's ends, with push(TM) and pop() methods. The last measurement in a Trajectory can thus be either the innermost (closest to the interaction point) or the outermost, depending on the way the Trajectory was built. The direction of building is represented as a PropagationDirection, which has two possible values: alongMomentum (outwards) and oppositeToMomentum (inwards), and is accessed with the direction() method.
Definition at line 40 of file Trajectory.h.
Definition at line 45 of file Trajectory.h.
typedef std::vector<TrajectoryMeasurement> Trajectory::DataContainer |
Definition at line 44 of file Trajectory.h.
Definition at line 46 of file Trajectory.h.
|
inline |
Default constructor of an empty trajectory with undefined seed and undefined direction. This constructor is necessary in order to transiently copy vector<Trajectory> in the edm::Event
Definition at line 53 of file Trajectory.h.
Referenced by Trajectory().
|
inlineexplicit |
Constructor of an empty trajectory with undefined direction. The direction will be defined at the moment of the push of a second measurement, from the relative radii of the first and second measurements.
Definition at line 62 of file Trajectory.h.
|
inline |
Constructor of an empty trajectory with defined direction. No check is made in the push method that measurements are added in the correct direction.
Definition at line 71 of file Trajectory.h.
|
inline |
Constructor of an empty trajectory with defined direction. No check is made in the push method that measurements are added in the correct direction.
Definition at line 82 of file Trajectory.h.
|
inlineexplicit |
Constructor of an empty trajectory with defined direction. No check is made in the push method that measurements are added in the correct direction.
Definition at line 93 of file Trajectory.h.
References operator=(), and Trajectory().
|
default |
|
inline |
Definition at line 103 of file Trajectory.h.
|
private |
Definition at line 184 of file Trajectory.cc.
References siStripClusterTools::chargePerCM(), trackerHitRTTI::isFast(), trackerHitRTTI::isUndef(), TrajectoryStateOnSurface::isValid(), TrajectoryStateOnSurface::localParameters(), TrajectoryMeasurement::recHit(), and TrajectoryMeasurement::updatedState().
Referenced by stopReason().
|
inline |
Number of hits that are not compatible with the CCC used during patter recognition. Used mainly as a criteria for abandoning a trajectory candidate during trajectory building.
Definition at line 247 of file Trajectory.h.
References theNumberOfCCCBadHits_.
|
inline |
|
private |
Definition at line 145 of file Trajectory.cc.
Referenced by firstMeasurement(), lastLayer(), and lastMeasurement().
|
inline |
Definition at line 262 of file Trajectory.h.
References direction(), ndof(), theChiSquared, theChiSquaredBad, and theNumberOfFoundHits.
Referenced by CosmicTrajectoryBuilder::AddHit(), CRackTrajectoryBuilder::AddHit(), SiStripGainFromData::algoAnalyze(), analyzer::SiPixelLorentzAngle::analyze(), DAFTrackProducerAlgorithm::buildTrack(), MuonTrackLoader::buildTrackAtPCA(), GlobalTrackerMuonAlignment::debugTrajectory(), AlignmentMonitorTracksFromTrajectories::event(), cms::CompareTrajLay::operator()(), cms::CompareTrajChi::operator()(), ConversionTrackFinder::ExtractChi2::operator()(), GoodSeedProducer::produce(), GlobalTrackQualityProducer::trackProbability(), GlobalTrajectoryBuilderBase::trackProbability(), and CosmicMuonTrajectoryBuilder::trajectories().
TrajectoryMeasurement const & Trajectory::closestMeasurement | ( | GlobalPoint | point | ) | const |
Definition at line 257 of file Trajectory.cc.
References begin, trackerTree::check(), and end.
Referenced by ConversionSeedFilter::getTSOS(), and setSeedRef().
|
inline |
obsolete name, use measurements() instead.
Definition at line 200 of file Trajectory.h.
References measurements().
PropagationDirection const & Trajectory::direction | ( | ) | const |
Direction of "growing" of the trajectory. Possible values are alongMomentum (outwards) and oppositeToMomentum (inwards).
Definition at line 140 of file Trajectory.cc.
References Exception.
Referenced by PFTrackTransformer::addPoints(), PFTrackTransformer::addPointsAndBrems(), CkfDebugger::analyseRecHitNotFound(), GroupedCkfTrajectoryBuilder::backwardFit(), FWTrackProxyBuilderFullFramework::buildTrack(), DAFTrackProducerAlgorithm::buildTrack(), MuonTrackLoader::buildTrackExtra(), chiSquared(), GlobalTrackerMuonAlignment::debugTrajectory(), KFSplittingFitter::fitOne(), NuclearTrackCorrector::getNewTrackExtra(), TransientInitialStateEstimator::innerState(), CRackTrajectoryBuilder::innerState(), Traj2TrackHits::operator()(), TrajectoryFactoryBase::orderedTrajectoryMeasurements(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), GroupedDAFHitCollector::recHits(), CosmicMuonTrajectoryBuilder::reverseTrajectoryPropagationDirection(), NuclearInteractionFinder::run(), DAFTrackProducerAlgorithm::runWithCandidate(), TrajAnnealing::TrajAnnealing(), CosmicMuonTrajectoryBuilder::trajectories(), GsfTrajectorySmoother::trajectory(), KFTrajectorySmoother::trajectory(), and trajectoryToResiduals().
|
inline |
accessor to the delta phi angle betweem the directions of the two measurements on the last two layers crossed by the trajectory
Definition at line 338 of file Trajectory.h.
References theDPhiCache.
|
inline |
True if trajectory has no measurements.
Definition at line 254 of file Trajectory.h.
References theData.
Referenced by BaseCkfTrajectoryBuilder::addToResult(), CosmicMuonTrajectoryBuilder::build(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), CosmicMuonSmoother::fit(), GsfTrajectoryFitter::fitOne(), KFSplittingFitter::fitOne(), KFTrajectoryFitter::fitOne(), CosmicMuonSmoother::initialState(), CosmicMuonTrajectoryBuilder::reverseTrajectoryPropagationDirection(), NuclearInteractionFinder::run(), CosmicMuonTrajectoryBuilder::selfDuplicate(), CosmicMuonSmoother::smooth(), StandAloneMuonTrajectoryBuilder::trajectories(), CosmicMuonTrajectoryBuilder::trajectories(), GsfTrajectorySmoother::trajectory(), and KFTrajectorySmoother::trajectory().
|
inline |
Access to the first measurement. It is the least precise one in a trajectory before smoothing. It is precise in a smoothed trajectory. It's the innermost measurement if direction() == alongMomentum, the outermost one if direction() == oppositeToMomentum.
Definition at line 187 of file Trajectory.h.
References check(), Exception, and theData.
Referenced by CosmicTrajectoryBuilder::AddHit(), CkfDebugger::analyseCompatibleMeasurements(), GroupedCkfTrajectoryBuilder::backwardFit(), CosmicMuonTrajectoryBuilder::build(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), DAFTrackProducerAlgorithm::buildTrack(), MuonTrackLoader::buildTrackExtra(), GlobalTrackerMuonAlignment::debugTrajectory(), CosmicMuonTrajectoryBuilder::estimateDirection(), GsfTrajectoryFitter::fitOne(), KFSplittingFitter::fitOne(), KFTrajectoryFitter::fitOne(), NuclearTrackCorrector::getNewTrackExtra(), CosmicMuonSmoother::initialState(), TransientInitialStateEstimator::innerState(), TrackerToMuonPropagator::produce(), GoodSeedProducer::produce(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), CosmicMuonTrajectoryBuilder::reverseTrajectory(), CRackTrajectoryBuilder::run(), and CosmicMuonTrajectoryBuilder::trajectories().
|
inline |
Number of valid RecHits used to determine the trajectory. Can be less than the number of measurements in data() since detector layers crossed without using RecHits from them are also stored as measurements.
Definition at line 225 of file Trajectory.h.
References theNumberOfFoundHits.
Referenced by CosmicTrajectoryBuilder::AddHit(), BaseCkfTrajectoryBuilder::addToResult(), SiStripGainFromData::algoAnalyze(), DAFTrackProducerAlgorithm::countingGoodHits(), GlobalTrackerMuonAlignment::debugTrajectory(), GsfTrajectoryFitter::fitOne(), CRackTrajectoryBuilder::innerState(), lessByFoundHits(), TrajectoryLessByFoundHits::operator()(), cms::CompareTrajLay::operator()(), cms::CompareTrajChi::operator()(), ConversionTrackFinder::ExtractNumOfHits::operator()(), cms::CkfTrackCandidateMakerBase::produceBase(), ThresholdPtTrajectoryFilter::qualityFilter(), MinPtTrajectoryFilter::qualityFilter(), CosmicTrajectoryBuilder::qualityFilter(), CRackTrajectoryBuilder::qualityFilter(), NuclearInteractionFinder::run(), CRackTrajectoryBuilder::run(), DAFTrackProducerAlgorithm::runWithCandidate(), ThresholdPtTrajectoryFilter::toBeContinued(), MinPtTrajectoryFilter::toBeContinued(), and StandAloneMuonTrajectoryBuilder::trajectories().
|
inline |
Number of valid pixel RecHits used to determine the trajectory.
Definition at line 229 of file Trajectory.h.
References theNumberOfFoundPixelHits.
TrajectoryStateOnSurface Trajectory::geometricalInnermostState | ( | ) | const |
Definition at line 220 of file Trajectory.cc.
References trackerTree::check(), dot(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), mag(), mag2(), perp(), point, TrackInfoProducer_cfi::updatedState, and TrajectoryMeasurement::updatedState().
Referenced by MuonTrackLoader::buildTrackAtPCA(), and setSeedRef().
|
inlinestatic |
Definition of inactive Det from the Trajectory point of view.
Definition at line 290 of file Trajectory.h.
|
inline |
|
inline |
Method to invalidate a trajectory. Useful during ambiguity resolution.
Definition at line 282 of file Trajectory.h.
References theValid.
Referenced by TrajectoryCleanerBySharedHits::clean().
|
static |
Returns true if the hit type is TrackingRecHit::bad Used in stand-alone trajectory construction
Definition at line 166 of file Trajectory.cc.
References TrackingRecHit::bad, TrackingRecHit::geographicalId(), TrackingRecHit::getType(), TrackingRecHit::isValid(), and DetId::rawId().
Referenced by inactive().
|
inline |
|
inline |
Returns true if the Trajectory is valid. Trajectories are invalidated e.g. during ambiguity resolution.
Definition at line 279 of file Trajectory.h.
References theValid.
Referenced by ntupleDataFormat._Object::_checkIsValid(), GroupedCkfTrajectoryBuilder::backwardFit(), DAFTrackProducerAlgorithm::buildTrack(), TrackProducerAlgorithm< reco::Track >::buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >::buildTrack(), DAFTrackProducerAlgorithm::calculateNdof(), GlobalTrackerMuonAlignment::debugTrajectory(), DAFTrackProducerAlgorithm::fit(), TransientInitialStateEstimator::innerState(), GoodSeedProducer::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), ChargeSignificanceTrajectoryFilter::qualityFilter(), core.AutoHandle.AutoHandle::ReallyLoad(), NuclearInteractionFinder::run(), DAFTrackProducerAlgorithm::runWithCandidate(), TrajectorySmoother::trajectories(), and CosmicMuonTrajectoryBuilder::trajectories().
|
inline |
Redundant method, returns the layer of lastMeasurement() .
Definition at line 309 of file Trajectory.h.
References check(), Exception, and theData.
Referenced by CkfDebugger::analyseRecHitNotFound().
|
inline |
Access to the last measurement. It's the most precise one in a trajectory before smoothing. It's the outermost measurement if direction() == alongMomentum, the innermost one if direction() == oppositeToMomentum.
Definition at line 174 of file Trajectory.h.
References check(), Exception, and theData.
Referenced by CosmicTrajectoryBuilder::AddHit(), CRackTrajectoryBuilder::AddHit(), BaseCkfTrajectoryBuilder::addToResult(), CkfDebugger::analyseCompatibleMeasurements(), CkfDebugger::analyseRecHitNotFound(), CosmicMuonTrajectoryBuilder::build(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), DAFTrackProducerAlgorithm::buildTrack(), MuonTrackLoader::buildTrackExtra(), GlobalTrackerMuonAlignment::debugTrajectory(), CosmicMuonTrajectoryBuilder::estimateDirection(), CosmicMuonTrajectoryBuilder::flipTrajectory(), NuclearTrackCorrector::getNewTrackExtra(), CosmicMuonSmoother::initialState(), TransientInitialStateEstimator::innerState(), CkfDebugger::nextCorrectHits(), GoodSeedProducer::produce(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), ThresholdPtTrajectoryFilter::qualityFilter(), MinPtTrajectoryFilter::qualityFilter(), CosmicMuonTrajectoryBuilder::reverseTrajectory(), StandAloneMuonRefitter::singleRefit(), CRackTrajectoryBuilder::SortHits(), ThresholdPtTrajectoryFilter::toBeContinued(), MinPtTrajectoryFilter::toBeContinued(), StandAloneMuonTrajectoryBuilder::trajectories(), and CosmicMuonTrajectoryBuilder::trajectories().
|
static |
Definition of what it means for a hit to be "lost". This definition is also used by the TrajectoryBuilder.
Definition at line 150 of file Trajectory.cc.
References TrackingRecHit::geographicalId(), TrackingRecHit::getType(), TrackingRecHit::isValid(), TrackingRecHit::missing, and DetId::rawId().
Referenced by inactive(), and MaxConsecLostHitsTrajectoryFilter::TBC().
|
inline |
Number of detector layers crossed without valid RecHits. Used mainly as a criteria for abandoning a trajectory candidate during trajectory building.
Definition at line 236 of file Trajectory.h.
References theNumberOfLostHits.
Referenced by BaseCkfTrajectoryBuilder::addToResult().
|
inline |
Return all measurements in a container.
Definition at line 196 of file Trajectory.h.
References theData.
Referenced by PFTrackTransformer::addPoints(), PFTrackTransformer::addPointsAndBrems(), BaseCkfTrajectoryBuilder::addToResult(), DeDxDiscriminatorLearner::algoAnalyze(), SiStripGainFromData::algoAnalyze(), CkfDebugger::analyseCompatibleMeasurements(), analyzer::SiPixelLorentzAngle::analyze(), GroupedCkfTrajectoryBuilder::backwardFit(), FWTrackProxyBuilderFullFramework::buildTrack(), DAFTrackProducerAlgorithm::calculateNdof(), DAFTrackProducerAlgorithm::checkHits(), MuonTrackResidualAnalyzer::computeResolution(), DAFTrackProducerAlgorithm::countingGoodHits(), StandAloneMuonFilter::createDefaultTrajectory(), data(), AlignmentMonitorTemplate::event(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorTracksFromTrajectories::event(), TrackerValidationVariables::fillHitQuantities(), ApeEstimator::fillTrackVariables(), MuonKinkFinder::fillTrkKink(), DynamicTruncation::filter(), SiStripFineDelayTLA::findtrackangle(), TransientInitialStateEstimator::innerState(), CRackTrajectoryBuilder::innerState(), GlobalTrackQualityProducer::kink(), MuonResidualsFromTrack::MuonResidualsFromTrack(), GlobalTrackQualityProducer::newChi2(), Traj2TrackHits::operator()(), TrajectoryFactoryBase::orderedTrajectoryMeasurements(), ShallowTrackClustersProducer::produce(), TkAlCaOverlapTagger::produce(), HLTTrackClusterRemoverNew::produce(), ShallowGainCalibration::produce(), reco::modules::CosmicTrackSplitter::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrajectory(), GsfTrackProducerBase::putInEvt(), StripSubClusterShapeTrajectoryFilter::qualityFilter(), GroupedDAFHitCollector::recHits(), SimpleDAFHitCollector::recHits(), CosmicMuonTrajectoryBuilder::reverseTrajectory(), CosmicMuonTrajectoryBuilder::reverseTrajectoryPropagationDirection(), MuonMillepedeAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), HIPAlignmentAlgorithm::run(), CSCOverlapsAlignmentAlgorithm::run(), NuclearInteractionFinder::run(), GlobalMuonRefitter::selectMuonHits(), CosmicMuonSmoother::smooth(), ClusterShapeTrajectoryFilter::toBeContinued(), TrajAnnealing::TrajAnnealing(), CosmicMuonTrajectoryBuilder::trajectories(), GlobalCosmicMuonTrajectoryBuilder::trajectories(), GsfTrajectorySmoother::trajectory(), KFTrajectorySmoother::trajectory(), trajectoryToResiduals(), and DAFTrackProducerAlgorithm::updateHits().
|
inline |
int Trajectory::ndof | ( | bool | bon = true | ) | const |
Number of dof of the trajectory. The method accepts a bool in order to properly take into account the presence of magnetic field in the dof computation. By default the MF is considered ON.
Definition at line 102 of file Trajectory.cc.
References pat::helper::ParametrizationHelper::dimension(), SiStripPI::max, and DetId::Muon.
Referenced by analyzer::SiPixelLorentzAngle::analyze(), MuonTrackLoader::buildTrackAtPCA(), chiSquared(), GlobalTrackQualityProducer::trackProbability(), and GlobalTrajectoryBuilderBase::trackProbability().
|
inline |
Definition at line 347 of file Trajectory.h.
References theNLoops.
Referenced by GroupedCkfTrajectoryBuilder::backwardFit(), and TransientInitialStateEstimator::innerState().
int Trajectory::numberOfCCCBadHits | ( | float | ccc_threshold | ) |
Definition at line 215 of file Trajectory.cc.
Referenced by stopReason(), and TempTrajectory::toTrajectory().
|
default |
Referenced by Trajectory().
|
inline |
Definition at line 123 of file Trajectory.h.
References seedRef_, stopReason_, edm::swap(), std::swap(), theCCCThreshold_, theChiSquared, theChiSquaredBad, theData, theDirection, theDirectionValidity, theDPhiCache, theNLoops, theNumberOfCCCBadHits_, theNumberOfFoundHits, theNumberOfFoundPixelHits, theNumberOfLostHits, theNumberOfTrailingFoundHits, theSeed, and theValid.
|
static |
Returns true if the hit type is TrackingRecHit::bad Used in trajectory filtering
Definition at line 177 of file Trajectory.cc.
References TrackingRecHit::hit(), BaseTrackerRecHit::isPixel(), and trackerHitRTTI::isUndef().
Referenced by inactive(), SeedExtensionTrajectoryFilter::looseTBC(), TempTrajectory::pop(), and TempTrajectory::pushAux().
void Trajectory::pop | ( | ) |
Remove the last measurement from the trajectory.
Definition at line 29 of file Trajectory.cc.
References relativeConstraints::empty, DetId::Muon, and digitizers_cfi::pixel.
Referenced by BaseCkfTrajectoryBuilder::addToResult(), cms::CkfTrackCandidateMakerBase::produceBase(), reserve(), CosmicMuonTrajectoryBuilder::reverseTrajectoryPropagationDirection(), and CosmicMuonTrajectoryBuilder::trajectories().
void Trajectory::push | ( | const TrajectoryMeasurement & | tm | ) |
Add a new measurement to a Trajectory. The Chi2 of the trajectory is incremented by the value of tm.estimate() .
Definition at line 50 of file Trajectory.cc.
References TrajectoryMeasurement::estimate().
Referenced by CosmicTrajectoryBuilder::AddHit(), CRackTrajectoryBuilder::AddHit(), GroupedCkfTrajectoryBuilder::backwardFit(), StandAloneMuonFilter::createDefaultTrajectory(), GsfTrajectoryFitter::fitOne(), NuclearTrackCorrector::newTrajNeeded(), MuonMillepedeTrackRefitter::produce(), TrackerToMuonPropagator::produce(), CSCOverlapsTrackPreparation::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), reserve(), TempTrajectory::toTrajectory(), TrackTransformer::transform(), and MuonTrajectoryUpdator::update().
void Trajectory::push | ( | const TrajectoryMeasurement & | tm, |
double | chi2Increment | ||
) |
same as the one-argument push, but the trajectory Chi2 is incremented by chi2Increment. Useful e.g. in trajectory smoothing.
Definition at line 61 of file Trajectory.cc.
void Trajectory::push | ( | TrajectoryMeasurement && | tm | ) |
Definition at line 55 of file Trajectory.cc.
void Trajectory::push | ( | TrajectoryMeasurement && | tm, |
double | chi2Increment | ||
) |
Definition at line 65 of file Trajectory.cc.
|
private |
Definition at line 70 of file Trajectory.cc.
References alongMomentum, DetId::Muon, oppositeToMomentum, digitizers_cfi::pixel, TrajectoryMeasurement::recHit(), and TrackInfoProducer_cfi::updatedState.
Referenced by stopReason().
|
inline |
Return all RecHits in a container.
Definition at line 204 of file Trajectory.h.
References hfClusterShapes_cfi::hits, theData, and validRecHits().
Referenced by SiStripGainFromData::algoAnalyze(), GroupedCkfTrajectoryBuilder::backwardFit(), MuonTrackLoader::buildTrackExtra(), CkfDebugger::correctTrajectory(), CosmicMuonTrajectoryBuilder::estimateDirection(), CosmicMuonSmoother::fit(), GsfTrajectoryFitter::fitOne(), KFSplittingFitter::fitOne(), KFTrajectoryFitter::fitOne(), CosmicMuonTrajectoryBuilder::flipTrajectory(), CosmicMuonTrajectoryBuilder::getDirectionByTime(), CosmicMuonUtilities::isTraversing(), cms::CompareTrajLay::operator()(), CosmicTrajectoryBuilder::qualityFilter(), CRackTrajectoryBuilder::qualityFilter(), StandAloneMuonRefitter::refit(), CRackTrajectoryBuilder::run(), CosmicMuonTrajectoryBuilder::selfDuplicate(), and StandAloneMuonRefitter::singleRefit().
|
inline |
Reserves space in the vector to avoid lots of allocations when push_back-ing measurements
Definition at line 150 of file Trajectory.h.
References pop(), push(), and theData.
Referenced by StandAloneMuonFilter::createDefaultTrajectory(), KFTrajectoryFitter::fitOne(), cms::CkfTrackCandidateMakerBase::produceBase(), TempTrajectory::toTrajectory(), and KFTrajectorySmoother::trajectory().
void Trajectory::reverse | ( | ) |
Reverse the propagation direction and the order of the trajectory measurements. It doesn't reverse the forward and backward predicted states within each trajectory measurement
Definition at line 264 of file Trajectory.cc.
References alongMomentum, oppositeToMomentum, and groupFilesInBlocks::reverse.
Referenced by setSeedRef().
|
inline |
Access to the seed used to reconstruct the Trajectory.
Definition at line 285 of file Trajectory.h.
References theSeed.
Referenced by CosmicTrajectoryBuilder::AddHit(), CosmicMuonTrajectoryBuilder::estimateDirection(), CosmicMuonSmoother::fit(), DAFTrackProducerAlgorithm::fit(), GsfTrajectoryFitter::fitOne(), KFSplittingFitter::fitOne(), KFTrajectoryFitter::fitOne(), CosmicMuonTrajectoryBuilder::flipTrajectory(), NuclearTrackCorrector::getTrackFromTrajectory(), CosmicMuonTrajectoryBuilder::reverseTrajectory(), CosmicMuonTrajectoryBuilder::reverseTrajectoryPropagationDirection(), CRackTrajectoryBuilder::run(), DAFTrackProducerAlgorithm::runWithCandidate(), seedNHits(), setSharedSeed(), StandAloneMuonRefitter::singleRefit(), CosmicMuonSmoother::smooth(), GsfTrajectorySmoother::trajectory(), and KFTrajectorySmoother::trajectory().
|
inline |
Definition at line 250 of file Trajectory.h.
References TrajectorySeed::nHits(), and seed().
|
inline |
return the Reference to the trajectory seed in the original seeds collection. If the collection has been dropped from the Event, the reference may be invalid. Its validity should be tested, before the reference is actually used.
Definition at line 321 of file Trajectory.h.
References seedRef_.
Referenced by MuonTrackLoader::buildTrackExtra(), cms::CkfTrackCandidateMakerBase::produceBase(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), setSeedRef(), and MuonTrackLoader::~MuonTrackLoader().
|
inline |
method to set the delta phi angle betweem the directions of the two measurements on the last two layers crossed by the trajectory
Definition at line 344 of file Trajectory.h.
References theDPhiCache.
|
inline |
Definition at line 349 of file Trajectory.h.
References theNLoops, and relativeConstraints::value.
Referenced by GroupedCkfTrajectoryBuilder::backwardFit(), cms::CkfTrackCandidateMakerBase::produceBase(), and TempTrajectory::toTrajectory().
|
inline |
Definition at line 323 of file Trajectory.h.
References closestMeasurement(), geometricalInnermostState(), reverse(), seedRef(), and seedRef_.
Referenced by GlobalTrajectoryBuilderBase::build(), MuonTrackLoader::loadTracks(), cms::CkfTrackCandidateMakerBase::produceBase(), and MuonTrackLoader::~MuonTrackLoader().
|
inline |
Definition at line 334 of file Trajectory.h.
References seed(), and theSeed.
Referenced by BaseCkfTrajectoryBuilder::addToResult().
|
inline |
Definition at line 352 of file Trajectory.h.
References alignCSCRings::s, and stopReason_.
Referenced by cms::CkfTrackCandidateMakerBase::produceBase(), MinPtTrajectoryFilter::toBeContinued(), and TempTrajectory::toTrajectory().
|
inline |
|
inline |
Definition at line 353 of file Trajectory.h.
References badForCCC(), numberOfCCCBadHits(), pushAux(), stopReason_, and updateBadForCCC().
|
inline |
Number of valid RecHits at the end of the trajectory after last lost hit.
Definition at line 240 of file Trajectory.h.
References theNumberOfTrailingFoundHits.
|
private |
Definition at line 200 of file Trajectory.cc.
References h.
Referenced by stopReason().
void Trajectory::validRecHits | ( | ConstRecHitContainer & | cont | ) | const |
Just valid hits..
Definition at line 133 of file Trajectory.cc.
Referenced by NuclearTrackCorrector::getTrackFromTrajectory(), and recHits().
|
private |
Definition at line 364 of file Trajectory.h.
Referenced by operator=(), seedRef(), and setSeedRef().
|
private |
Definition at line 383 of file Trajectory.h.
Referenced by operator=(), setStopReason(), and stopReason().
|
private |
Definition at line 381 of file Trajectory.h.
Referenced by cccThreshold(), and operator=().
|
private |
Definition at line 367 of file Trajectory.h.
Referenced by chiSquared(), and operator=().
|
private |
Definition at line 368 of file Trajectory.h.
Referenced by chiSquared(), and operator=().
|
private |
Definition at line 366 of file Trajectory.h.
Referenced by empty(), firstMeasurement(), lastLayer(), lastMeasurement(), measurements(), operator=(), recHits(), and reserve().
|
private |
Definition at line 376 of file Trajectory.h.
Referenced by operator=().
|
private |
Definition at line 377 of file Trajectory.h.
Referenced by operator=().
|
private |
Definition at line 380 of file Trajectory.h.
Referenced by dPhiCacheForLoopersReconstruction(), operator=(), and setDPhiCacheForLoopersReconstruction().
|
private |
Definition at line 382 of file Trajectory.h.
Referenced by incrementLoops(), isLooper(), nLoops(), operator=(), and setNLoops().
|
private |
Definition at line 374 of file Trajectory.h.
Referenced by cccBadHits(), and operator=().
|
private |
Definition at line 370 of file Trajectory.h.
Referenced by chiSquared(), foundHits(), and operator=().
|
private |
Definition at line 371 of file Trajectory.h.
Referenced by foundPixelHits(), and operator=().
|
private |
Definition at line 372 of file Trajectory.h.
Referenced by lostHits(), and operator=().
|
private |
Definition at line 373 of file Trajectory.h.
Referenced by operator=(), and trailingFoundHits().
|
private |
Definition at line 363 of file Trajectory.h.
Referenced by operator=(), seed(), setSharedSeed(), and sharedSeed().
|
private |
Definition at line 378 of file Trajectory.h.
Referenced by invalidate(), isValid(), and operator=().