#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 void | setDebugger (CkfDebugger *dbg) const |
virtual void | setEvent (const edm::Event &event) const |
virtual TrajectoryContainer | trajectories (const TrajectorySeed &) const =0 |
virtual void | unset () const |
virtual | ~BaseCkfTrajectoryBuilder () |
Public Member Functions inherited from TrajectoryBuilder | |
virtual void | rebuildSeedingRegion (const TrajectorySeed &, TrajectoryContainer &result) const |
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, std::vector< TrajectoryMeasurement > &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 43 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 46 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 49 of file BaseCkfTrajectoryBuilder.h.
typedef std::vector<TempTrajectory> BaseCkfTrajectoryBuilder::TempTrajectoryContainer |
Definition at line 54 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 48 of file BaseCkfTrajectoryBuilder.h.
typedef std::vector<Trajectory> BaseCkfTrajectoryBuilder::TrajectoryContainer |
Definition at line 53 of file BaseCkfTrajectoryBuilder.h.
typedef TrajectoryContainer::iterator BaseCkfTrajectoryBuilder::TrajectoryIterator |
Definition at line 55 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 47 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 24 of file BaseCkfTrajectoryBuilder.cc.
References clustersToSkip_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), and skipClusters_.
|
virtual |
Definition at line 50 of file BaseCkfTrajectoryBuilder.cc.
References theLayerMeasurements.
|
protected |
Definition at line 166 of file BaseCkfTrajectoryBuilder.cc.
References Trajectory::empty(), Trajectory::foundHits(), Trajectory::lastMeasurement(), LogDebug, Trajectory::lostHits(), Trajectory::measurements(), TempTrajectory::measurements(), Trajectory::pop(), qualityFilter(), TrajectoryMeasurement::recHit(), cmsutils::bqueue< T >::size(), and TempTrajectory::toTrajectory().
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), and CkfTrajectoryBuilder::limitedCandidates().
|
protected |
Definition at line 180 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 84 of file BaseCkfTrajectoryBuilder.h.
Referenced by CkfTrajectoryBuilder::limitedCandidates().
|
inlineprotectedvirtual |
Reimplemented in CkfDebugTrajectoryBuilder.
Definition at line 89 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 106 of file BaseCkfTrajectoryBuilder.cc.
References alongMomentum, TrajectorySeed::direction(), PrintoutHelper::dumpCandidate(), i, LogDebug, query::result, seedMeasurements(), theBackwardPropagator, and theForwardPropagator.
Referenced by GroupedCkfTrajectoryBuilder::buildTrajectories(), GroupedCkfTrajectoryBuilder::rebuildSeedingRegion(), and CkfTrajectoryBuilder::trajectories().
|
inlineprotectedvirtual |
Reimplemented in CkfDebugTrajectoryBuilder.
Definition at line 94 of file BaseCkfTrajectoryBuilder.h.
Referenced by seedMeasurements().
|
protected |
Definition at line 197 of file BaseCkfTrajectoryBuilder.cc.
References PTrajectoryStateOnDet::detId(), GeometricSearchTracker::detLayer(), TempTrajectory::direction(), TempTrajectory::empty(), TrajectoryStateOnSurface::freeState(), g, MeasurementTracker::geometricSearchTracker(), MeasurementTracker::geomTracker(), errorMatrix2Lands_multiChannel::id, TrackingGeometry::idToDet(), TempTrajectory::lastLayer(), TempTrajectory::lastMeasurement(), Propagator::magneticField(), DetLayer::nextLayers(), TempTrajectory::seed(), TrajectorySeed::startingState(), theForwardPropagator, theMeasurementTracker, trajectoryStateTransform::transientState(), and TrajectoryMeasurement::updatedState().
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), and CkfTrajectoryBuilder::findCompatibleMeasurements().
|
protected |
Called at end of track building, to see if track should be kept
Definition at line 152 of file BaseCkfTrajectoryBuilder.cc.
References TrajectoryFilter::qualityFilter(), theFilter, and theInOutFilter.
Referenced by addToResult(), and CkfTrajectoryBuilder::limitedCandidates().
|
private |
Definition at line 56 of file BaseCkfTrajectoryBuilder.cc.
References TransientTrackingRecHitBuilder::build(), GeometricSearchTracker::detLayer(), fillSeedHistoDebugger(), MeasurementTracker::geometricSearchTracker(), MeasurementTracker::geomTracker(), TrackingGeometry::idToDet(), 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 74 of file BaseCkfTrajectoryBuilder.h.
|
virtual |
Implements TrajectoryBuilder.
Reimplemented in HICTrajectoryBuilder.
Definition at line 219 of file BaseCkfTrajectoryBuilder.cc.
References clustersToSkip_, MeasurementTracker::setClusterToSkip(), skipClusters_, theMeasurementTracker, and MeasurementTracker::update().
|
protected |
Called after each new hit is added to the trajectory, to see if building this track should be continued
Definition at line 130 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().
|
pure virtual |
Implements TrajectoryBuilder.
Implemented in HICTrajectoryBuilder, CkfTrajectoryBuilder, and GroupedCkfTrajectoryBuilder.
|
virtual |
Reimplemented from TrajectoryBuilder.
Definition at line 226 of file BaseCkfTrajectoryBuilder.cc.
References skipClusters_, theMeasurementTracker, and MeasurementTracker::unsetClusterToSkip().
|
private |
Definition at line 145 of file BaseCkfTrajectoryBuilder.h.
Referenced by BaseCkfTrajectoryBuilder(), and setEvent().
|
private |
Filter used at end of in-out tracking
Definition at line 144 of file BaseCkfTrajectoryBuilder.h.
Referenced by BaseCkfTrajectoryBuilder(), setEvent(), and unset().
|
mutableprotected |
Definition at line 130 of file BaseCkfTrajectoryBuilder.h.
Referenced by createStartingTrajectory(), GroupedCkfTrajectoryBuilder::rebuildSeedingRegion(), and seedMeasurements().
|
protected |
Definition at line 123 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 141 of file BaseCkfTrajectoryBuilder.h.
Referenced by qualityFilter(), and toBeContinued().
|
mutableprotected |
Definition at line 129 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 142 of file BaseCkfTrajectoryBuilder.h.
Referenced by qualityFilter(), and toBeContinued().
|
protected |
Definition at line 126 of file BaseCkfTrajectoryBuilder.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), MuonCkfTrajectoryBuilder::collectMeasurement(), CkfTrajectoryBuilder::findCompatibleMeasurements(), and ~BaseCkfTrajectoryBuilder().
|
protected |
Definition at line 125 of file BaseCkfTrajectoryBuilder.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), CkfDebugTrajectoryBuilder::analyzeMeasurementsDebugger(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), findStateAndLayers(), CkfTrajectoryBuilder::limitedCandidates(), seedMeasurements(), setEvent(), and unset().
|
protected |
Definition at line 121 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 122 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 124 of file BaseCkfTrajectoryBuilder.h.
Referenced by CkfDebugTrajectoryBuilder::analyzeMeasurementsDebugger(), CkfTrajectoryBuilder::limitedCandidates(), and seedMeasurements().
|
protected |
Definition at line 120 of file BaseCkfTrajectoryBuilder.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), seedMeasurements(), CkfTrajectoryBuilder::updateTrajectory(), and GroupedCkfTrajectoryBuilder::updator().