#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 |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &iDesc) |
Protected Types | |
typedef TrackingComponentsRecord | Chi2MeasurementEstimatorRecord |
typedef FreeTrajectoryState | FTS |
typedef std::pair< TSOS, std::vector< const DetLayer * > > | StateAndLayers |
typedef TrajectoryMeasurement | TM |
typedef TrajectoryStateOnSurface | TSOS |
Static Protected Member Functions | |
static std::unique_ptr < TrajectoryFilter > | createTrajectoryFilter (const edm::ParameterSet &pset, edm::ConsumesCollector &iC) |
Protected Attributes | |
const Chi2MeasurementEstimatorBase * | theEstimator = nullptr |
const MeasurementTrackerEvent * | theMeasurementTracker = nullptr |
const NavigationSchool * | theNavigationSchool = nullptr |
const Propagator * | thePropagatorAlong = nullptr |
const Propagator * | thePropagatorOpposite = nullptr |
const TransientTrackingRecHitBuilder * | theTTRHBuilder = nullptr |
const TrajectoryStateUpdator * | theUpdator = nullptr |
Private Member Functions | |
void | seedMeasurements (const TrajectorySeed &seed, TempTrajectory &result, bool as5D) const |
Private Attributes | |
const edm::ESGetToken < Chi2MeasurementEstimatorBase, TrackingComponentsRecord > | theEstimatorToken |
std::unique_ptr< TrajectoryFilter > | theFilter |
std::unique_ptr< TrajectoryFilter > | theInOutFilter |
const edm::ESGetToken < Propagator, TrackingComponentsRecord > | thePropagatorAlongToken |
const edm::ESGetToken < Propagator, TrackingComponentsRecord > | thePropagatorOppositeToken |
const edm::ESGetToken < TransientTrackingRecHitBuilder, TransientRecHitRecord > | theRecHitBuilderToken |
bool | theSeedAs5DHit |
const edm::ESGetToken < TrajectoryStateUpdator, TrackingComponentsRecord > | theUpdatorToken |
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 57 of file BaseCkfTrajectoryBuilder.h.
Definition at line 175 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 60 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 63 of file BaseCkfTrajectoryBuilder.h.
typedef std::vector<TempTrajectory> BaseCkfTrajectoryBuilder::TempTrajectoryContainer |
Definition at line 67 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 62 of file BaseCkfTrajectoryBuilder.h.
typedef std::vector<Trajectory> BaseCkfTrajectoryBuilder::TrajectoryContainer |
Definition at line 66 of file BaseCkfTrajectoryBuilder.h.
typedef TrajectoryContainer::iterator BaseCkfTrajectoryBuilder::TrajectoryIterator |
Definition at line 68 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 61 of file BaseCkfTrajectoryBuilder.h.
BaseCkfTrajectoryBuilder::BaseCkfTrajectoryBuilder | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector | iC, | ||
std::unique_ptr< TrajectoryFilter > | filter, | ||
std::unique_ptr< TrajectoryFilter > | inOutFilter = nullptr |
||
) |
Definition at line 26 of file BaseCkfTrajectoryBuilder.cc.
References edm::ParameterSet::exists().
|
delete |
|
override |
Definition at line 44 of file BaseCkfTrajectoryBuilder.cc.
|
protected |
Definition at line 152 of file BaseCkfTrajectoryBuilder.cc.
References Trajectory::empty(), Trajectory::foundHits(), Trajectory::lastMeasurement(), LogDebug, Trajectory::lostHits(), TempTrajectory::measurements(), Trajectory::measurements(), eostools::move(), 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 171 of file BaseCkfTrajectoryBuilder.cc.
References TempTrajectory::empty(), TempTrajectory::foundHits(), TempTrajectory::lastMeasurement(), LogDebug, TempTrajectory::lostHits(), TempTrajectory::measurements(), eostools::move(), TempTrajectory::pop(), qualityFilter(), TrajectoryMeasurement::recHit(), and cmsutils::bqueue< T >::size().
|
inlineprotectedvirtual |
Reimplemented in CkfDebugTrajectoryBuilder.
Definition at line 120 of file BaseCkfTrajectoryBuilder.h.
Referenced by CkfTrajectoryBuilder::limitedCandidates().
|
inlineprotectedvirtual |
Reimplemented in CkfDebugTrajectoryBuilder.
Definition at line 128 of file BaseCkfTrajectoryBuilder.h.
|
inlineprotected |
Definition at line 170 of file BaseCkfTrajectoryBuilder.h.
References alongMomentum, TrajectorySeed::direction(), thePropagatorAlong, and thePropagatorOpposite.
Referenced by GroupedCkfTrajectoryBuilder::rebuildSeedingRegion(), and seedMeasurements().
|
inlinevirtual |
Reimplemented in CkfTrajectoryBuilder, and GroupedCkfTrajectoryBuilder.
Definition at line 82 of file BaseCkfTrajectoryBuilder.h.
References cms::cuda::assert().
|
protected |
Definition at line 112 of file BaseCkfTrajectoryBuilder.cc.
References TrajectorySeed::direction(), PrintoutHelper::dumpCandidate(), LogDebug, TrajectorySeed::nHits(), mps_fire::result, seedMeasurements(), and theSeedAs5DHit.
Referenced by GroupedCkfTrajectoryBuilder::buildTrajectories(), CkfTrajectoryBuilder::buildTrajectories(), and GroupedCkfTrajectoryBuilder::rebuildSeedingRegion().
|
staticprotected |
Definition at line 55 of file BaseCkfTrajectoryBuilder.cc.
References get, edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 46 of file BaseCkfTrajectoryBuilder.cc.
References edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by GroupedCkfTrajectoryBuilder::fillPSetDescription(), and CkfTrajectoryBuilder::fillPSetDescription().
|
inlineprotectedvirtual |
Reimplemented in CkfDebugTrajectoryBuilder.
Definition at line 136 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 201 of file BaseCkfTrajectoryBuilder.cc.
References PTrajectoryStateOnDet::detId(), GeometricSearchTracker::detLayer(), TempTrajectory::direction(), TempTrajectory::empty(), forwardPropagator(), TrajectoryStateOnSurface::freeState(), g, MeasurementTrackerEvent::geometricSearchTracker(), MeasurementTrackerEvent::geomTracker(), gpuClustering::id, TrackerGeometry::idToDet(), TempTrajectory::lastLayer(), TempTrajectory::lastMeasurement(), HLT_FULL_cff::magneticField, NavigationSchool::nextLayers(), TrajectorySeed::startingState(), theMeasurementTracker, theNavigationSchool, trajectoryStateTransform::transientState(), and TrajectoryMeasurement::updatedState().
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), and CkfTrajectoryBuilder::findCompatibleMeasurements().
|
inlineprotected |
Definition at line 167 of file BaseCkfTrajectoryBuilder.h.
References alongMomentum, TrajectorySeed::direction(), thePropagatorAlong, and thePropagatorOpposite.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), GroupedCkfTrajectoryBuilder::buildTrajectories(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), CkfTrajectoryBuilder::findCompatibleMeasurements(), findStateAndLayers(), CkfTrajectoryBuilder::limitedCandidates(), and seedMeasurements().
|
inline |
Maximum number of lost hits per trajectory candidate. Maximum number of consecutive lost hits per trajectory candidate.
Definition at line 111 of file BaseCkfTrajectoryBuilder.h.
References theTTRHBuilder.
Referenced by GroupedCkfTrajectoryBuilder::rebuildSeedingRegion(), ConversionTrackFinder::setEventSetup(), InOutConversionTrackFinder::tracks(), and OutInConversionTrackFinder::tracks().
|
protected |
Definition at line 188 of file BaseCkfTrajectoryBuilder.cc.
References LogDebug, eostools::move(), and qualityFilter().
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer().
|
delete |
|
protected |
Called at end of track building, to see if track should be kept
Definition at line 141 of file BaseCkfTrajectoryBuilder.cc.
References theFilter, and theInOutFilter.
Referenced by addToResult(), and moveToResult().
|
inlinevirtual |
Reimplemented in GroupedCkfTrajectoryBuilder, and CkfTrajectoryBuilder.
Definition at line 90 of file BaseCkfTrajectoryBuilder.h.
References cms::cuda::assert().
|
private |
Definition at line 61 of file BaseCkfTrajectoryBuilder.cc.
References backwardPropagator(), edm::Range< T >::begin(), GeometricSearchTracker::detLayer(), TempTrajectory::emplace(), edm::Range< T >::end(), forwardPropagator(), MeasurementTrackerEvent::geometricSearchTracker(), MeasurementTrackerEvent::geomTracker(), TrackerGeometry::idToDet(), TrajectoryStateOnSurface::isValid(), Propagator::magneticField(), Propagator::propagate(), TrajectorySeed::recHits(), TrajectorySeed::startingState(), GeomDet::surface(), theMeasurementTracker, theUpdator, trajectoryStateTransform::transientState(), UNLIKELY, and TrajectoryStateUpdator::update().
Referenced by createStartingTrajectory().
|
protected |
Definition at line 222 of file BaseCkfTrajectoryBuilder.cc.
References data, and theMeasurementTracker.
Referenced by setEvent().
|
inlinevirtual |
Definition at line 103 of file BaseCkfTrajectoryBuilder.h.
Referenced by cms::CkfDebugTrackCandidateMaker::initDebugger().
|
overridevirtual |
Implements TrajectoryBuilder.
Definition at line 227 of file BaseCkfTrajectoryBuilder.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, and theMeasurementTracker.
void BaseCkfTrajectoryBuilder::setEvent | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
const MeasurementTrackerEvent * | data | ||
) |
Definition at line 237 of file BaseCkfTrajectoryBuilder.cc.
References edm::EventSetup::getData(), setData(), setEvent_(), theEstimator, theEstimatorToken, theFilter, theInOutFilter, thePropagatorAlong, thePropagatorAlongToken, thePropagatorOpposite, thePropagatorOppositeToken, theRecHitBuilderToken, theTTRHBuilder, theUpdator, and theUpdatorToken.
|
protectedpure virtual |
Implemented in GroupedCkfTrajectoryBuilder, CkfTrajectoryBuilder, and MuonCkfTrajectoryBuilder.
Referenced by setEvent().
|
inline |
Definition at line 96 of file BaseCkfTrajectoryBuilder.h.
References theNavigationSchool.
|
protected |
Called after each new hit is added to the trajectory, to see if building this track should be continued
Definition at line 121 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 UNLIKELY.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), and CkfTrajectoryBuilder::limitedCandidates().
|
overridevirtual |
Reimplemented from TrajectoryBuilder.
Definition at line 232 of file BaseCkfTrajectoryBuilder.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, and theMeasurementTracker.
|
protected |
Definition at line 180 of file BaseCkfTrajectoryBuilder.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), CkfDebugTrajectoryBuilder::analyzeMeasurementsDebugger(), MuonCkfTrajectoryBuilder::collectMeasurement(), GroupedCkfTrajectoryBuilder::estimator(), CkfTrajectoryBuilder::findCompatibleMeasurements(), CkfTrajectoryBuilder::limitedCandidates(), setEvent(), and MuonCkfTrajectoryBuilder::setEvent_().
|
private |
Definition at line 195 of file BaseCkfTrajectoryBuilder.h.
Referenced by setEvent().
|
private |
Definition at line 188 of file BaseCkfTrajectoryBuilder.h.
Referenced by qualityFilter(), setEvent(), and toBeContinued().
|
private |
Filter used at end of complete tracking
Definition at line 189 of file BaseCkfTrajectoryBuilder.h.
Referenced by qualityFilter(), setEvent(), and toBeContinued().
|
protected |
Definition at line 182 of file BaseCkfTrajectoryBuilder.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), CkfDebugTrajectoryBuilder::analyzeMeasurementsDebugger(), GroupedCkfTrajectoryBuilder::buildTrajectories(), CkfTrajectoryBuilder::buildTrajectories(), MuonCkfTrajectoryBuilder::collectMeasurement(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), CkfTrajectoryBuilder::findCompatibleMeasurements(), findStateAndLayers(), CkfTrajectoryBuilder::limitedCandidates(), seedMeasurements(), setData(), setEvent(), and unset().
|
protected |
Definition at line 183 of file BaseCkfTrajectoryBuilder.h.
Referenced by MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), findStateAndLayers(), and setNavigationSchool().
|
protected |
Definition at line 178 of file BaseCkfTrajectoryBuilder.h.
Referenced by backwardPropagator(), forwardPropagator(), and setEvent().
|
private |
Definition at line 193 of file BaseCkfTrajectoryBuilder.h.
Referenced by setEvent().
|
protected |
Definition at line 179 of file BaseCkfTrajectoryBuilder.h.
Referenced by backwardPropagator(), forwardPropagator(), and setEvent().
|
private |
Definition at line 194 of file BaseCkfTrajectoryBuilder.h.
Referenced by setEvent().
|
private |
Definition at line 196 of file BaseCkfTrajectoryBuilder.h.
Referenced by setEvent().
|
private |
Definition at line 186 of file BaseCkfTrajectoryBuilder.h.
Referenced by createStartingTrajectory().
|
protected |
Definition at line 181 of file BaseCkfTrajectoryBuilder.h.
Referenced by CkfDebugTrajectoryBuilder::analyzeMeasurementsDebugger(), hitBuilder(), CkfTrajectoryBuilder::limitedCandidates(), and setEvent().
|
protected |
Definition at line 177 of file BaseCkfTrajectoryBuilder.h.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), seedMeasurements(), setEvent(), CkfTrajectoryBuilder::updateTrajectory(), and GroupedCkfTrajectoryBuilder::updator().
|
private |
Filter used at end of in-out tracking
Definition at line 192 of file BaseCkfTrajectoryBuilder.h.
Referenced by setEvent().