#include <BaseCkfTrajectoryBuilder.h>
Public Types | |
typedef std::vector < TempTrajectory > | TempTrajectoryContainer |
typedef std::vector< Trajectory > | TrajectoryContainer |
typedef TrajectoryContainer::iterator | TrajectoryIterator |
Public Types inherited from TrajectoryBuilder | |
typedef std::vector< Trajectory > | TrajectoryContainer |
typedef TrajectoryContainer::iterator | TrajectoryIterator |
Public Member Functions | |
BaseCkfTrajectoryBuilder (const edm::ParameterSet &conf, const TrajectoryStateUpdator *updator, const Propagator *propagatorAlong, const Propagator *propagatorOpposite, const Chi2MeasurementEstimatorBase *estimator, const TransientTrackingRecHitBuilder *RecHitBuilder, const MeasurementTracker *measurementTracker, const TrajectoryFilter *filter, const TrajectoryFilter *inOutFilter=0) | |
virtual TempTrajectory | buildTrajectories (const TrajectorySeed &seed, TrajectoryContainer &ret, const TrajectoryFilter *) const |
virtual void | rebuildTrajectories (TempTrajectory const &startingTraj, const TrajectorySeed &seed, TrajectoryContainer &result) const |
virtual void | setDebugger (CkfDebugger *dbg) const |
virtual void | setEvent (const edm::Event &event) const |
virtual void | unset () const |
virtual | ~BaseCkfTrajectoryBuilder () |
Public Member Functions inherited from TrajectoryBuilder | |
virtual void | rebuildSeedingRegion (const TrajectorySeed &, TrajectoryContainer &result) const |
virtual TrajectoryContainer | trajectories (const TrajectorySeed &) const =0 |
virtual void | trajectories (const TrajectorySeed &seed, TrajectoryContainer &out) const |
virtual | ~TrajectoryBuilder () |
Protected Types | |
typedef FreeTrajectoryState | FTS |
typedef std::pair< TSOS, std::vector< const DetLayer * > > | StateAndLayers |
typedef TrajectoryMeasurement | TM |
typedef TrajectoryStateOnSurface | TSOS |
Protected Attributes | |
const Propagator * | theBackwardPropagator |
const Chi2MeasurementEstimatorBase * | theEstimator |
const Propagator * | theForwardPropagator |
const LayerMeasurements * | theLayerMeasurements |
const MeasurementTracker * | theMeasurementTracker |
const Propagator * | thePropagatorAlong |
const Propagator * | thePropagatorOpposite |
const TransientTrackingRecHitBuilder * | theTTRHBuilder |
const TrajectoryStateUpdator * | theUpdator |
Private Member Functions | |
void | seedMeasurements (const TrajectorySeed &seed, TempTrajectory &result) const |
Private Attributes | |
edm::InputTag | clustersToSkip_ |
bool | skipClusters_ |
const TrajectoryFilter * | theFilter |
const TrajectoryFilter * | theInOutFilter |
The component of track reconstruction that, strating from a seed, reconstructs all possible trajectories. The resulting trajectories may be mutually exclusive and require cleaning by a TrajectoryCleaner. The Trajectories are normally not smoothed.
Definition at line 46 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 49 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 52 of file BaseCkfTrajectoryBuilder.h.
typedef std::vector<TempTrajectory> BaseCkfTrajectoryBuilder::TempTrajectoryContainer |
Definition at line 57 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 51 of file BaseCkfTrajectoryBuilder.h.
typedef std::vector<Trajectory> BaseCkfTrajectoryBuilder::TrajectoryContainer |
Definition at line 56 of file BaseCkfTrajectoryBuilder.h.
typedef TrajectoryContainer::iterator BaseCkfTrajectoryBuilder::TrajectoryIterator |
Definition at line 58 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 50 of file BaseCkfTrajectoryBuilder.h.
BaseCkfTrajectoryBuilder::BaseCkfTrajectoryBuilder | ( | const edm::ParameterSet & | conf, |
const TrajectoryStateUpdator * | updator, | ||
const Propagator * | propagatorAlong, | ||
const Propagator * | propagatorOpposite, | ||
const Chi2MeasurementEstimatorBase * | estimator, | ||
const TransientTrackingRecHitBuilder * | RecHitBuilder, | ||
const MeasurementTracker * | measurementTracker, | ||
const TrajectoryFilter * | filter, | ||
const TrajectoryFilter * | inOutFilter = 0 |
||
) |
Definition at line 23 of file BaseCkfTrajectoryBuilder.cc.
References clustersToSkip_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), and skipClusters_.
|
virtual |
Definition at line 49 of file BaseCkfTrajectoryBuilder.cc.
References theLayerMeasurements.
|
protected |
Definition at line 160 of file BaseCkfTrajectoryBuilder.cc.
References Trajectory::empty(), Trajectory::foundHits(), Trajectory::lastMeasurement(), LogDebug, Trajectory::lostHits(), Trajectory::measurements(), TempTrajectory::measurements(), Trajectory::pop(), qualityFilter(), TrajectoryMeasurement::recHit(), Trajectory::setSharedSeed(), cmsutils::bqueue< T >::size(), and TempTrajectory::toTrajectory().
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), and CkfTrajectoryBuilder::limitedCandidates().
|
protected |
Definition at line 177 of file BaseCkfTrajectoryBuilder.cc.
References TempTrajectory::empty(), TempTrajectory::foundHits(), TempTrajectory::lastMeasurement(), LogDebug, TempTrajectory::lostHits(), TempTrajectory::measurements(), TempTrajectory::pop(), qualityFilter(), TrajectoryMeasurement::recHit(), and cmsutils::bqueue< T >::size().
|
inlineprotectedvirtual |
Maximum number of lost hits per trajectory candidate. Maximum number of consecutive lost hits per trajectory candidate.
Reimplemented in CkfDebugTrajectoryBuilder.
Definition at line 95 of file BaseCkfTrajectoryBuilder.h.
Referenced by CkfTrajectoryBuilder::limitedCandidates().
|
inlineprotectedvirtual |
Reimplemented in CkfDebugTrajectoryBuilder.
Definition at line 100 of file BaseCkfTrajectoryBuilder.h.
|
inlinevirtual |
Reimplemented in CkfTrajectoryBuilder, and GroupedCkfTrajectoryBuilder.
Definition at line 73 of file BaseCkfTrajectoryBuilder.h.
Referenced by cms::CkfTrackCandidateMakerBase::produceBase().
|
protected |
Definition at line 103 of file BaseCkfTrajectoryBuilder.cc.
References alongMomentum, TrajectorySeed::direction(), PrintoutHelper::dumpCandidate(), LogDebug, query::result, seedMeasurements(), theBackwardPropagator, and theForwardPropagator.
Referenced by CkfTrajectoryBuilder::buildTrajectories(), GroupedCkfTrajectoryBuilder::buildTrajectories(), and GroupedCkfTrajectoryBuilder::rebuildSeedingRegion().
|
inlineprotectedvirtual |
Reimplemented in CkfDebugTrajectoryBuilder.
Definition at line 105 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 208 of file BaseCkfTrajectoryBuilder.cc.
References PTrajectoryStateOnDet::detId(), GeometricSearchTracker::detLayer(), TempTrajectory::direction(), TempTrajectory::empty(), TrajectoryStateOnSurface::freeState(), g, MeasurementTracker::geometricSearchTracker(), MeasurementTracker::geomTracker(), TrackingGeometry::idToDet(), TempTrajectory::lastLayer(), TempTrajectory::lastMeasurement(), Propagator::magneticField(), DetLayer::nextLayers(), TrajectorySeed::startingState(), theForwardPropagator, theMeasurementTracker, trajectoryStateTransform::transientState(), and TrajectoryMeasurement::updatedState().
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), and CkfTrajectoryBuilder::findCompatibleMeasurements().
|
protected |
Definition at line 231 of file BaseCkfTrajectoryBuilder.cc.
References TempTrajectory::direction(), TempTrajectory::empty(), TempTrajectory::lastLayer(), TempTrajectory::lastMeasurement(), DetLayer::nextLayers(), and TrajectoryMeasurement::updatedState().
|
protected |
Definition at line 192 of file BaseCkfTrajectoryBuilder.cc.
References LogDebug, and qualityFilter().
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer().
|
protected |
Called at end of track building, to see if track should be kept
Definition at line 146 of file BaseCkfTrajectoryBuilder.cc.
References TrajectoryFilter::qualityFilter(), theFilter, and theInOutFilter.
Referenced by addToResult(), CkfTrajectoryBuilder::limitedCandidates(), and moveToResult().
|
inlinevirtual |
Reimplemented in GroupedCkfTrajectoryBuilder, and CkfTrajectoryBuilder.
Definition at line 78 of file BaseCkfTrajectoryBuilder.h.
Referenced by cms::CkfTrackCandidateMakerBase::produceBase().
|
private |
Definition at line 55 of file BaseCkfTrajectoryBuilder.cc.
References TransientTrackingRecHitBuilder::build(), GeometricSearchTracker::detLayer(), TempTrajectory::emplace(), MeasurementTracker::geometricSearchTracker(), MeasurementTracker::geomTracker(), TrackingGeometry::idToDet(), TrajectoryStateOnSurface::isValid(), Propagator::magneticField(), Propagator::propagate(), TrajectorySeed::recHits(), TrajectorySeed::startingState(), GeomDet::surface(), theBackwardPropagator, theForwardPropagator, theMeasurementTracker, theTTRHBuilder, theUpdator, trajectoryStateTransform::transientState(), and TrajectoryStateUpdator::update().
Referenced by createStartingTrajectory().
|
inlinevirtual |
Reimplemented in CkfDebugTrajectoryBuilder.
Definition at line 85 of file BaseCkfTrajectoryBuilder.h.
|
virtual |
Implements TrajectoryBuilder.
Definition at line 240 of file BaseCkfTrajectoryBuilder.cc.
References clustersToSkip_, MeasurementTracker::setClusterToSkip(), skipClusters_, theMeasurementTracker, and MeasurementTracker::update().
Referenced by cms::CkfTrackCandidateMakerBase::produceBase().
|
protected |
Called after each new hit is added to the trajectory, to see if building this track should be continued
Definition at line 124 of file BaseCkfTrajectoryBuilder.cc.
References TempTrajectory::foundHits(), TempTrajectory::lastLayer(), TempTrajectory::lastMeasurement(), LogTrace, TempTrajectory::lostHits(), TempTrajectory::measurements(), TrajectoryMeasurement::predictedState(), cmsutils::bqueue< T >::size(), DetLayer::subDetector(), theFilter, theInOutFilter, and TrajectoryFilter::toBeContinued().
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), and CkfTrajectoryBuilder::limitedCandidates().
|
virtual |
Reimplemented from TrajectoryBuilder.
Definition at line 247 of file BaseCkfTrajectoryBuilder.cc.
References skipClusters_, theMeasurementTracker, and MeasurementTracker::unsetClusterToSkip().
Referenced by cms::CkfTrackCandidateMakerBase::produceBase().
|
private |
Definition at line 158 of file BaseCkfTrajectoryBuilder.h.
Referenced by BaseCkfTrajectoryBuilder(), and setEvent().
|
private |
Filter used at end of in-out tracking
Definition at line 157 of file BaseCkfTrajectoryBuilder.h.
Referenced by BaseCkfTrajectoryBuilder(), setEvent(), and unset().
|
mutableprotected |
Definition at line 143 of file BaseCkfTrajectoryBuilder.h.
Referenced by createStartingTrajectory(), GroupedCkfTrajectoryBuilder::rebuildSeedingRegion(), and seedMeasurements().
|
protected |
Definition at line 136 of file BaseCkfTrajectoryBuilder.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), CkfDebugTrajectoryBuilder::analyzeMeasurementsDebugger(), MuonCkfTrajectoryBuilder::collectMeasurement(), GroupedCkfTrajectoryBuilder::estimator(), CkfTrajectoryBuilder::findCompatibleMeasurements(), CkfTrajectoryBuilder::limitedCandidates(), and MuonCkfTrajectoryBuilder::MuonCkfTrajectoryBuilder().
|
private |
Definition at line 154 of file BaseCkfTrajectoryBuilder.h.
Referenced by qualityFilter(), and toBeContinued().
|
mutableprotected |
Definition at line 142 of file BaseCkfTrajectoryBuilder.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), CkfDebugTrajectoryBuilder::analyzeMeasurementsDebugger(), GroupedCkfTrajectoryBuilder::buildTrajectories(), createStartingTrajectory(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), CkfTrajectoryBuilder::findCompatibleMeasurements(), findStateAndLayers(), CkfTrajectoryBuilder::limitedCandidates(), and seedMeasurements().
|
private |
Filter used at end of complete tracking
Definition at line 155 of file BaseCkfTrajectoryBuilder.h.
Referenced by qualityFilter(), and toBeContinued().
|
protected |
Definition at line 139 of file BaseCkfTrajectoryBuilder.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), MuonCkfTrajectoryBuilder::collectMeasurement(), CkfTrajectoryBuilder::findCompatibleMeasurements(), and ~BaseCkfTrajectoryBuilder().
|
protected |
Definition at line 138 of file BaseCkfTrajectoryBuilder.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), CkfDebugTrajectoryBuilder::analyzeMeasurementsDebugger(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), findStateAndLayers(), CkfTrajectoryBuilder::limitedCandidates(), seedMeasurements(), setEvent(), and unset().
|
protected |
Definition at line 134 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 135 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 137 of file BaseCkfTrajectoryBuilder.h.
Referenced by CkfDebugTrajectoryBuilder::analyzeMeasurementsDebugger(), CkfTrajectoryBuilder::limitedCandidates(), and seedMeasurements().
|
protected |
Definition at line 133 of file BaseCkfTrajectoryBuilder.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), seedMeasurements(), CkfTrajectoryBuilder::updateTrajectory(), and GroupedCkfTrajectoryBuilder::updator().