#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 56 of file BaseCkfTrajectoryBuilder.h.
Definition at line 174 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 59 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 62 of file BaseCkfTrajectoryBuilder.h.
typedef std::vector<TempTrajectory> BaseCkfTrajectoryBuilder::TempTrajectoryContainer |
Definition at line 66 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 61 of file BaseCkfTrajectoryBuilder.h.
typedef std::vector<Trajectory> BaseCkfTrajectoryBuilder::TrajectoryContainer |
Definition at line 65 of file BaseCkfTrajectoryBuilder.h.
typedef TrajectoryContainer::iterator BaseCkfTrajectoryBuilder::TrajectoryIterator |
Definition at line 67 of file BaseCkfTrajectoryBuilder.h.
|
protected |
Definition at line 60 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(), mps_fire::result, fileCollector::seed, 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(), mps_fire::result, and cmsutils::bqueue< T >::size().
|
inlineprotectedvirtual |
Reimplemented in CkfDebugTrajectoryBuilder.
Definition at line 119 of file BaseCkfTrajectoryBuilder.h.
Referenced by CkfTrajectoryBuilder::limitedCandidates().
|
inlineprotectedvirtual |
Reimplemented in CkfDebugTrajectoryBuilder.
Definition at line 127 of file BaseCkfTrajectoryBuilder.h.
|
inlineprotected |
Definition at line 169 of file BaseCkfTrajectoryBuilder.h.
References alongMomentum, fileCollector::seed, thePropagatorAlong, and thePropagatorOpposite.
Referenced by GroupedCkfTrajectoryBuilder::rebuildSeedingRegion(), and seedMeasurements().
|
inlinevirtual |
Reimplemented in CkfTrajectoryBuilder, and GroupedCkfTrajectoryBuilder.
Definition at line 81 of file BaseCkfTrajectoryBuilder.h.
References cms::cuda::assert().
|
protected |
Definition at line 112 of file BaseCkfTrajectoryBuilder.cc.
References PrintoutHelper::dumpCandidate(), LogDebug, mps_fire::result, fileCollector::seed, seedMeasurements(), and theSeedAs5DHit.
Referenced by GroupedCkfTrajectoryBuilder::buildTrajectories(), CkfTrajectoryBuilder::buildTrajectories(), and GroupedCkfTrajectoryBuilder::rebuildSeedingRegion().
|
staticprotected |
Definition at line 55 of file BaseCkfTrajectoryBuilder.cc.
References get, muonDTDigis_cfi::pset, 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 135 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(), l1ctLayer2EG_cff::id, TrackerGeometry::idToDet(), TempTrajectory::lastLayer(), TempTrajectory::lastMeasurement(), HLT_2023v12_cff::magneticField, NavigationSchool::nextLayers(), fileCollector::seed, theMeasurementTracker, theNavigationSchool, trajectoryStateTransform::transientState(), and TrajectoryMeasurement::updatedState().
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), and CkfTrajectoryBuilder::findCompatibleMeasurements().
|
inlineprotected |
Definition at line 166 of file BaseCkfTrajectoryBuilder.h.
References alongMomentum, fileCollector::seed, 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 110 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(), qualityFilter(), and mps_fire::result.
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 89 of file BaseCkfTrajectoryBuilder.h.
References cms::cuda::assert().
|
private |
Definition at line 61 of file BaseCkfTrajectoryBuilder.cc.
References backwardPropagator(), GeometricSearchTracker::detLayer(), forwardPropagator(), MeasurementTrackerEvent::geometricSearchTracker(), MeasurementTrackerEvent::geomTracker(), TrackerGeometry::idToDet(), TrajectoryStateOnSurface::isValid(), Propagator::magneticField(), Propagator::propagate(), rpcPointValidation_cfi::recHit, mps_fire::result, fileCollector::seed, 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 |
Reimplemented in CkfDebugTrajectoryBuilder.
Definition at line 102 of file BaseCkfTrajectoryBuilder.h.
|
overridevirtual |
Implements TrajectoryBuilder.
Definition at line 227 of file BaseCkfTrajectoryBuilder.cc.
References DMR_cfg::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 data, edm::EventSetup::getData(), iEvent, 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 95 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 DMR_cfg::cerr, and theMeasurementTracker.
|
protected |
Definition at line 179 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 194 of file BaseCkfTrajectoryBuilder.h.
Referenced by setEvent().
|
private |
Definition at line 187 of file BaseCkfTrajectoryBuilder.h.
Referenced by qualityFilter(), setEvent(), and toBeContinued().
|
private |
Filter used at end of complete tracking
Definition at line 188 of file BaseCkfTrajectoryBuilder.h.
Referenced by qualityFilter(), setEvent(), and toBeContinued().
|
protected |
Definition at line 181 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 182 of file BaseCkfTrajectoryBuilder.h.
Referenced by MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), findStateAndLayers(), and setNavigationSchool().
|
protected |
Definition at line 177 of file BaseCkfTrajectoryBuilder.h.
Referenced by backwardPropagator(), forwardPropagator(), and setEvent().
|
private |
Definition at line 192 of file BaseCkfTrajectoryBuilder.h.
Referenced by setEvent().
|
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().
|
private |
Definition at line 195 of file BaseCkfTrajectoryBuilder.h.
Referenced by setEvent().
|
private |
Definition at line 185 of file BaseCkfTrajectoryBuilder.h.
Referenced by createStartingTrajectory().
|
protected |
Definition at line 180 of file BaseCkfTrajectoryBuilder.h.
Referenced by CkfDebugTrajectoryBuilder::analyzeMeasurementsDebugger(), hitBuilder(), CkfTrajectoryBuilder::limitedCandidates(), and setEvent().
|
protected |
Definition at line 176 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 191 of file BaseCkfTrajectoryBuilder.h.
Referenced by setEvent().