#include <Trajectory.h>
Public Types | |
using | ConstRecHitContainer = TrackingRecHit::ConstRecHitContainer |
typedef std::vector< TrajectoryMeasurement > | DataContainer |
using | RecHitContainer = ConstRecHitContainer |
Public Member Functions | |
int | cccBadHits () const |
float | cccThreshold () const |
float | chiSquared () const |
TrajectoryMeasurement const & | closestMeasurement (GlobalPoint) const |
DataContainer const & | data () const |
obsolete name, use measurements() instead. More... | |
PropagationDirection const & | direction () const |
float | dPhiCacheForLoopersReconstruction () const |
bool | empty () const |
True if trajectory has no measurements. More... | |
TrajectoryMeasurement const & | firstMeasurement () const |
int | foundHits () const |
int | foundPixelHits () const |
TrajectoryStateOnSurface | geometricalInnermostState () const |
void | incrementLoops () |
void | invalidate () |
Method to invalidate a trajectory. Useful during ambiguity resolution. More... | |
bool | isLooper () const |
bool | isValid () const |
const DetLayer * | lastLayer () const |
Redundant method, returns the layer of lastMeasurement() . More... | |
TrajectoryMeasurement const & | lastMeasurement () const |
int | lostHits () const |
DataContainer const & | measurements () const |
DataContainer & | measurements () |
int | ndof (bool bon=true) const |
signed char | nLoops () const |
int | numberOfCCCBadHits (float ccc_threshold) |
Trajectory & | operator= (Trajectory const &rh)=default |
Trajectory & | operator= (Trajectory &&rh) |
void | pop () |
void | push (const TrajectoryMeasurement &tm) |
void | push (const TrajectoryMeasurement &tm, double chi2Increment) |
void | push (TrajectoryMeasurement &&tm) |
void | push (TrajectoryMeasurement &&tm, double chi2Increment) |
ConstRecHitContainer | recHits () const |
void | reserve (unsigned int n) |
void | reverse () |
TrajectorySeed const & | seed () const |
Access to the seed used to reconstruct the Trajectory. More... | |
unsigned int | seedNHits () const |
edm::RefToBase< TrajectorySeed > | seedRef (void) const |
void | setDPhiCacheForLoopersReconstruction (float dphi) |
void | setNLoops (signed char value) |
void | setSeedRef (const edm::RefToBase< TrajectorySeed > &seedRef) |
void | setSharedSeed (const std::shared_ptr< const TrajectorySeed > &seed) |
void | setStopReason (StopReason s) |
const std::shared_ptr< const TrajectorySeed > & | sharedSeed () const |
StopReason | stopReason () const |
int | trailingFoundHits () const |
Trajectory () | |
Trajectory (const TrajectorySeed &seed) | |
Trajectory (const TrajectorySeed &seed, PropagationDirection dir) | |
Trajectory (const std::shared_ptr< const TrajectorySeed > &seed, PropagationDirection dir) | |
Trajectory (PropagationDirection dir) | |
Trajectory (Trajectory const &rh)=default | |
Trajectory (Trajectory &&rh) | |
void | validRecHits (ConstRecHitContainer &cont) const |
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 |
std::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 38 of file Trajectory.h.
Definition at line 41 of file Trajectory.h.
typedef std::vector<TrajectoryMeasurement> Trajectory::DataContainer |
Definition at line 40 of file Trajectory.h.
Definition at line 42 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 49 of file Trajectory.h.
|
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 57 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 63 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 70 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 77 of file Trajectory.h.
|
default |
|
inline |
Definition at line 82 of file Trajectory.h.
|
private |
Definition at line 182 of file Trajectory.cc.
References siStripClusterTools::chargePerCM(), trackerHitRTTI::isFromDet(), TrajectoryStateOnSurface::isValid(), TrajectoryStateOnSurface::localParameters(), TrajectoryMeasurement::recHit(), and TrajectoryMeasurement::updatedState().
|
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 227 of file Trajectory.h.
References theNumberOfCCCBadHits_.
|
inline |
|
private |
Definition at line 140 of file Trajectory.cc.
Referenced by firstMeasurement(), lastLayer(), and lastMeasurement().
|
inline |
Definition at line 241 of file Trajectory.h.
References theChiSquared, theChiSquaredBad, and theNumberOfFoundHits.
Referenced by CosmicTrajectoryBuilder::AddHit(), CRackTrajectoryBuilder::AddHit(), SiStripGainFromData::algoAnalyze(), analyzer::SiPixelLorentzAngle::analyze(), SiPixelLorentzAnglePCLWorker::analyze(), OverlapValidation::analyzeTrajectory(), DAFTrackProducerAlgorithm::buildTrack(), TrackExtenderWithMTDT< TrackCollection >::buildTrack(), MuonTrackLoader::buildTrackAtPCA(), GlobalTrackerMuonAlignment::debugTrajectory(), AlignmentMonitorTracksFromTrajectories::event(), LowPtGsfElectronSeedProducer::lightGsfTracking(), GoodSeedProducer::produce(), and CosmicMuonTrajectoryBuilder::trajectories().
TrajectoryMeasurement const & Trajectory::closestMeasurement | ( | GlobalPoint | point | ) | const |
Definition at line 256 of file Trajectory.cc.
References RPCNoise_example::check, and point.
Referenced by ConversionSeedFilter::getTSOS().
|
inline |
obsolete name, use measurements() instead.
Definition at line 182 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 133 of file Trajectory.cc.
References Exception.
Referenced by PFTrackTransformer::addPoints(), PFTrackTransformer::addPointsAndBrems(), CkfDebugger::analyseRecHitNotFound(), GroupedCkfTrajectoryBuilder::backwardFit(), FWTrackProxyBuilderFullFramework::buildTrack(), DAFTrackProducerAlgorithm::buildTrack(), MuonTrackLoader::buildTrackExtra(), TrackExtenderWithMTDT< TrackCollection >::buildTrackExtra(), 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 320 of file Trajectory.h.
References theDPhiCache.
|
inline |
True if trajectory has no measurements.
Definition at line 233 of file Trajectory.h.
References theData.
Referenced by BaseCkfTrajectoryBuilder::addToResult(), CosmicMuonTrajectoryBuilder::build(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), GsfTrajectoryFitter::fitOne(), KFSplittingFitter::fitOne(), KFTrajectoryFitter::fitOne(), CosmicMuonTrajectoryBuilder::reverseTrajectoryPropagationDirection(), NuclearInteractionFinder::run(), CosmicMuonTrajectoryBuilder::selfDuplicate(), 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 166 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(), TrackExtenderWithMTDT< TrackCollection >::buildTrackExtra(), GlobalTrackerMuonAlignment::debugTrajectory(), CosmicMuonTrajectoryBuilder::estimateDirection(), GsfTrajectoryFitter::fitOne(), KFSplittingFitter::fitOne(), KFTrajectoryFitter::fitOne(), NuclearTrackCorrector::getNewTrackExtra(), TransientInitialStateEstimator::innerState(), LowPtGsfElectronSeedProducer::lightGsfTracking(), 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 206 of file Trajectory.h.
References theNumberOfFoundHits.
Referenced by CosmicTrajectoryBuilder::AddHit(), BaseCkfTrajectoryBuilder::addToResult(), SiStripGainFromData::algoAnalyze(), OverlapValidation::analyzeTrajectory(), DAFTrackProducerAlgorithm::countingGoodHits(), GlobalTrackerMuonAlignment::debugTrajectory(), GsfTrajectoryFitter::fitOne(), CRackTrajectoryBuilder::innerState(), 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 210 of file Trajectory.h.
References theNumberOfFoundPixelHits.
TrajectoryStateOnSurface Trajectory::geometricalInnermostState | ( | ) | const |
Definition at line 217 of file Trajectory.cc.
References RPCNoise_example::check, dot(), mag(), and perp().
Referenced by MuonTrackLoader::buildTrackAtPCA().
|
inlinestatic |
Definition of inactive Det from the Trajectory point of view.
Definition at line 267 of file Trajectory.h.
|
inline |
|
inline |
Method to invalidate a trajectory. Useful during ambiguity resolution.
Definition at line 260 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 163 of file Trajectory.cc.
References TrackingRecHit::bad.
|
inline |
|
inline |
Returns true if the Trajectory is valid. Trajectories are invalidated e.g. during ambiguity resolution.
Definition at line 257 of file Trajectory.h.
References theValid.
Referenced by ntupleDataFormat._Object::_checkIsValid(), MkFitOutputConverter::backwardFit(), GroupedCkfTrajectoryBuilder::backwardFit(), DAFTrackProducerAlgorithm::buildTrack(), DAFTrackProducerAlgorithm::calculateNdof(), GlobalTrackerMuonAlignment::debugTrajectory(), DAFTrackProducerAlgorithm::fit(), TransientInitialStateEstimator::innerState(), LowPtGsfElectronSeedProducer::lightGsfTracking(), GoodSeedProducer::produce(), TrackExtenderWithMTDT< TrackCollection >::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), ChargeSignificanceTrajectoryFilter::qualityFilter(), core.AutoHandle.AutoHandle::ReallyLoad(), NuclearInteractionFinder::run(), DAFTrackProducerAlgorithm::runWithCandidate(), and CosmicMuonTrajectoryBuilder::trajectories().
|
inline |
Redundant method, returns the layer of lastMeasurement() .
Definition at line 288 of file Trajectory.h.
References check(), Exception, phase1PixelTopology::layer, 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 150 of file Trajectory.h.
References check(), Exception, and theData.
Referenced by CosmicTrajectoryBuilder::AddHit(), CRackTrajectoryBuilder::AddHit(), BaseCkfTrajectoryBuilder::addToResult(), CkfDebugger::analyseCompatibleMeasurements(), CkfDebugger::analyseRecHitNotFound(), MkFitOutputConverter::backwardFit(), CosmicMuonTrajectoryBuilder::build(), CosmicMuonTrajectoryBuilder::buildSecondHalf(), DAFTrackProducerAlgorithm::buildTrack(), MuonTrackLoader::buildTrackExtra(), TrackExtenderWithMTDT< TrackCollection >::buildTrackExtra(), GlobalTrackerMuonAlignment::debugTrajectory(), CosmicMuonTrajectoryBuilder::estimateDirection(), CosmicMuonTrajectoryBuilder::flipTrajectory(), NuclearTrackCorrector::getNewTrackExtra(), TransientInitialStateEstimator::innerState(), LowPtGsfElectronSeedProducer::lightGsfTracking(), 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 146 of file Trajectory.cc.
References TrackingRecHit::missing.
Referenced by 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 217 of file Trajectory.h.
References theNumberOfLostHits.
Referenced by BaseCkfTrajectoryBuilder::addToResult(), and OverlapValidation::analyzeTrajectory().
|
inline |
Return all measurements in a container.
Definition at line 178 of file Trajectory.h.
References theData.
Referenced by PFTrackTransformer::addPoints(), PFTrackTransformer::addPointsAndBrems(), BaseCkfTrajectoryBuilder::addToResult(), DeDxDiscriminatorLearner::algoAnalyze(), SiStripGainFromData::algoAnalyze(), CkfDebugger::analyseCompatibleMeasurements(), analyzer::SiPixelLorentzAngle::analyze(), SiPixelLorentzAnglePCLWorker::analyze(), OverlapValidation::analyzeTrajectory(), GroupedCkfTrajectoryBuilder::backwardFit(), FWTrackProxyBuilderFullFramework::buildTrack(), TrackExtenderWithMTDT< TrackCollection >::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(), CosmicMuonSmoother::fit(), TransientInitialStateEstimator::innerState(), CRackTrajectoryBuilder::innerState(), MuonResidualsFromTrack::MuonResidualsFromTrack(), 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(), HIPAlignmentAlgorithm::run(), CSCOverlapsAlignmentAlgorithm::run(), NuclearInteractionFinder::run(), GlobalMuonRefitter::selectMuonHits(), ClusterShapeTrajectoryFilter::toBeContinued(), TrajAnnealing::TrajAnnealing(), CosmicMuonTrajectoryBuilder::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 97 of file Trajectory.cc.
References pat::helper::ParametrizationHelper::dimension(), sistrip::SpyUtilities::isValid(), SiStripPI::max, DetId::Muon, and FastTrackerRecHitMaskProducer_cfi::recHits.
Referenced by analyzer::SiPixelLorentzAngle::analyze(), SiPixelLorentzAnglePCLWorker::analyze(), OverlapValidation::analyzeTrajectory(), TrackExtenderWithMTDT< TrackCollection >::buildTrack(), and MuonTrackLoader::buildTrackAtPCA().
|
inline |
Definition at line 329 of file Trajectory.h.
References theNLoops.
Referenced by GroupedCkfTrajectoryBuilder::backwardFit(), and TransientInitialStateEstimator::innerState().
int Trajectory::numberOfCCCBadHits | ( | float | ccc_threshold | ) |
|
default |
|
inline |
Definition at line 101 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 175 of file Trajectory.cc.
References trackerHitRTTI::isFromDetOrFast(), and BaseTrackerRecHit::isPixel().
Referenced by SeedExtensionTrajectoryFilter::looseTBC(), TempTrajectory::pop(), and TempTrajectory::pushAux().
void Trajectory::pop | ( | ) |
Remove the last measurement from the trajectory.
Definition at line 30 of file Trajectory.cc.
References relativeConstraints::empty, DetId::Muon, and muonClassificationByHits_cfi::pixel.
Referenced by SequenceTypes.Schedule::_replaceIfHeldDirectly(), BaseCkfTrajectoryBuilder::addToResult(), cms::CkfTrackCandidateMakerBase::produceBase(), 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(), CosmicMuonSmoother::fit(), GsfTrajectoryFitter::fitOne(), NuclearTrackCorrector::newTrajNeeded(), TrackerToMuonPropagator::produce(), CSCOverlapsTrackPreparation::produce(), 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 54 of file Trajectory.cc.
void Trajectory::push | ( | TrajectoryMeasurement && | tm | ) |
Definition at line 52 of file Trajectory.cc.
void Trajectory::push | ( | TrajectoryMeasurement && | tm, |
double | chi2Increment | ||
) |
Definition at line 59 of file Trajectory.cc.
|
private |
Definition at line 64 of file Trajectory.cc.
References alongMomentum, DetId::Muon, oppositeToMomentum, muonClassificationByHits_cfi::pixel, and TrajectoryMeasurement::recHit().
|
inline |
Return all RecHits in a container.
Definition at line 186 of file Trajectory.h.
References hfClusterShapes_cfi::hits, and theData.
Referenced by SiStripGainFromData::algoAnalyze(), GroupedCkfTrajectoryBuilder::backwardFit(), MuonTrackLoader::buildTrackExtra(), TrackExtenderWithMTDT< TrackCollection >::buildTrackExtra(), CkfDebugger::correctTrajectory(), CosmicMuonTrajectoryBuilder::estimateDirection(), GsfTrajectoryFitter::fitOne(), KFSplittingFitter::fitOne(), KFTrajectoryFitter::fitOne(), CosmicMuonTrajectoryBuilder::flipTrajectory(), CosmicMuonTrajectoryBuilder::getDirectionByTime(), 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 126 of file Trajectory.h.
References dqmiodumpmetadata::n, and theData.
Referenced by StandAloneMuonFilter::createDefaultTrajectory(), and TempTrajectory::toTrajectory().
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.
|
inline |
Access to the seed used to reconstruct the Trajectory.
Definition at line 263 of file Trajectory.h.
References theSeed.
Referenced by CosmicTrajectoryBuilder::AddHit(), CosmicMuonTrajectoryBuilder::estimateDirection(), DAFTrackProducerAlgorithm::fit(), GsfTrajectoryFitter::fitOne(), KFSplittingFitter::fitOne(), KFTrajectoryFitter::fitOne(), CosmicMuonTrajectoryBuilder::flipTrajectory(), NuclearTrackCorrector::getTrackFromTrajectory(), CosmicMuonTrajectoryBuilder::reverseTrajectory(), CosmicMuonTrajectoryBuilder::reverseTrajectoryPropagationDirection(), CRackTrajectoryBuilder::run(), DAFTrackProducerAlgorithm::runWithCandidate(), seedNHits(), setSharedSeed(), StandAloneMuonRefitter::singleRefit(), GsfTrajectorySmoother::trajectory(), and KFTrajectorySmoother::trajectory().
|
inline |
Definition at line 230 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 303 of file Trajectory.h.
References seedRef_.
Referenced by MuonTrackLoader::buildTrackExtra(), TrackExtenderWithMTDT< TrackCollection >::buildTrackExtra(), GsfTrackProducerBase::putInEvt(), TrackProducerWithSCAssociation::putInEvt(), and setSeedRef().
|
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 326 of file Trajectory.h.
References theDPhiCache.
|
inline |
Definition at line 331 of file Trajectory.h.
References theNLoops, and relativeConstraints::value.
Referenced by GroupedCkfTrajectoryBuilder::backwardFit(), cms::CkfTrackCandidateMakerBase::produceBase(), and TempTrajectory::toTrajectory().
|
inline |
|
inline |
Definition at line 316 of file Trajectory.h.
References seed(), and theSeed.
Referenced by BaseCkfTrajectoryBuilder::addToResult().
|
inline |
Definition at line 334 of file Trajectory.h.
References alignCSCRings::s, and stopReason_.
Referenced by MinPtTrajectoryFilter::toBeContinued(), and TempTrajectory::toTrajectory().
|
inline |
|
inline |
|
inline |
Number of valid RecHits at the end of the trajectory after last lost hit.
Definition at line 221 of file Trajectory.h.
References theNumberOfTrailingFoundHits.
|
private |
Definition at line 197 of file Trajectory.cc.
References h.
void Trajectory::validRecHits | ( | ConstRecHitContainer & | cont | ) | const |
Just valid hits..
Definition at line 126 of file Trajectory.cc.
References hfClusterShapes_cfi::hits.
Referenced by NuclearTrackCorrector::getTrackFromTrajectory().
|
private |
Definition at line 345 of file Trajectory.h.
Referenced by operator=(), seedRef(), and setSeedRef().
|
private |
Definition at line 364 of file Trajectory.h.
Referenced by operator=(), setStopReason(), and stopReason().
|
private |
Definition at line 362 of file Trajectory.h.
Referenced by cccThreshold(), and operator=().
|
private |
Definition at line 348 of file Trajectory.h.
Referenced by chiSquared(), and operator=().
|
private |
Definition at line 349 of file Trajectory.h.
Referenced by chiSquared(), and operator=().
|
private |
Definition at line 347 of file Trajectory.h.
Referenced by empty(), firstMeasurement(), lastLayer(), lastMeasurement(), measurements(), operator=(), recHits(), and reserve().
|
private |
Definition at line 357 of file Trajectory.h.
Referenced by operator=().
|
private |
Definition at line 358 of file Trajectory.h.
Referenced by operator=().
|
private |
Definition at line 361 of file Trajectory.h.
Referenced by dPhiCacheForLoopersReconstruction(), operator=(), and setDPhiCacheForLoopersReconstruction().
|
private |
Definition at line 363 of file Trajectory.h.
Referenced by incrementLoops(), isLooper(), nLoops(), operator=(), and setNLoops().
|
private |
Definition at line 355 of file Trajectory.h.
Referenced by cccBadHits(), and operator=().
|
private |
Definition at line 351 of file Trajectory.h.
Referenced by chiSquared(), foundHits(), and operator=().
|
private |
Definition at line 352 of file Trajectory.h.
Referenced by foundPixelHits(), and operator=().
|
private |
Definition at line 353 of file Trajectory.h.
Referenced by lostHits(), and operator=().
|
private |
Definition at line 354 of file Trajectory.h.
Referenced by operator=(), and trailingFoundHits().
|
private |
Definition at line 344 of file Trajectory.h.
Referenced by operator=(), seed(), setSharedSeed(), and sharedSeed().
|
private |
Definition at line 359 of file Trajectory.h.
Referenced by invalidate(), isValid(), and operator=().