#include <TrajectorySegmentBuilder.h>
Public Member Functions | |
TempTrajectoryContainer | segments (const TSOS startingState) |
new segments within layer More... | |
TrajectorySegmentBuilder (const LayerMeasurements *theInputLayerMeasurements, const DetLayer &layer, const Propagator &propagator, const TrajectoryStateUpdator &updator, const MeasurementEstimator &estimator, bool lockHits, bool bestHitOnly, int maxCand) | |
constructor from layer and helper objects More... | |
~TrajectorySegmentBuilder () | |
destructor More... | |
Private Types | |
typedef TransientTrackingRecHit::ConstRecHitContainer | ConstRecHitContainer |
typedef TransientTrackingRecHit::ConstRecHitPointer | ConstRecHitPointer |
typedef FreeTrajectoryState | FTS |
typedef std::vector< TempTrajectory > | TempTrajectoryContainer |
typedef TrajectoryMeasurement | TM |
typedef TrajectoryMeasurementGroup | TMG |
typedef std::vector< Trajectory > | TrajectoryContainer |
typedef TrajectoryStateOnSurface | TSOS |
Private Member Functions | |
std::vector< TempTrajectory > | addGroup (TempTrajectory const &traj, std::vector< TrajectoryMeasurementGroup >::const_iterator begin, std::vector< TrajectoryMeasurementGroup >::const_iterator end) |
void | cleanCandidates (std::vector< TempTrajectory > &candidates) const |
clean a set of candidates More... | |
void | lockMeasurement (const TM &measurement) |
mark a hit as used More... | |
std::vector< TrajectoryMeasurement > | redoMeasurements (const TempTrajectory &traj, const DetGroup &detGroup) const |
retrieve compatible hits from a DetGroup More... | |
std::vector< TrajectoryMeasurement > | unlockedMeasurements (const std::vector< TM > &measurements) const |
get list of unused hits More... | |
void | updateCandidates (TempTrajectory const &traj, const std::vector< TM > &measurements, TempTrajectoryContainer &candidates) |
creation of new candidates from a segment and a collection of hits More... | |
void | updateCandidatesWithBestHit (TempTrajectory const &traj, TM measurements, TempTrajectoryContainer &candidates) |
creation of a new candidate from a segment and the best hit out of a collection More... | |
void | updateTrajectory (TempTrajectory &traj, TM tm) const |
update of a trajectory with a hit More... | |
void | updateWithInvalidHit (TempTrajectory &traj, const std::vector< TMG > &groups, TempTrajectoryContainer &candidates) const |
Private Attributes | |
bool | theBestHitOnly |
bool | theDbgFlg |
const MeasurementEstimator & | theEstimator |
const Propagator & | theFullPropagator |
const Propagator & | theGeomPropagator |
const DetLayer & | theLayer |
const LayerMeasurements * | theLayerMeasurements |
ConstRecHitContainer | theLockedHits |
bool | theLockHits |
int | theMaxCand |
const TrajectoryStateUpdator & | theUpdator |
Definition at line 31 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 40 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 41 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 34 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 39 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 36 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 37 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 38 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 35 of file TrajectorySegmentBuilder.h.
|
inline |
constructor from layer and helper objects
Definition at line 45 of file TrajectorySegmentBuilder.h.
|
inline |
|
private |
Definition at line 215 of file TrajectorySegmentBuilder.cc.
References gather_cfg::cout, cmsutils::bqueue< T >::empty(), TempTrajectory::empty(), TempTrajectory::measurements(), eostools::move(), runTheMatrix::ret, cmsutils::bqueue< T >::size(), submitPVValidationJobs::t, and UNLIKELY.
|
private |
clean a set of candidates
Definition at line 472 of file TrajectorySegmentBuilder.cc.
References TrackingRecHit::all, HLT_2023v12_cff::candidates, newFWLiteAna::found, mps_fire::i, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, dqmiolumiharvest::j, lessByFoundHits(), cmsutils::bqueue< T >::rbegin(), cmsutils::bqueue< T >::rend(), and jetUpdater_cfi::sort.
|
private |
mark a hit as used
Definition at line 469 of file TrajectorySegmentBuilder.cc.
References TrajectoryMeasurement::recHit().
|
private |
retrieve compatible hits from a DetGroup
Definition at line 332 of file TrajectorySegmentBuilder.cc.
References tracking::TempMeasurements::clear(), gather_cfg::cout, tracking::TempMeasurements::distances, tracking::TempMeasurements::hits, mps_fire::i, GeomDetCompatibilityChecker::isCompatible(), TempTrajectory::lastMeasurement(), MeasurementDetWithData::measurements(), eostools::move(), mps_fire::result, tracking::TempMeasurements::size(), jetUpdater_cfi::sort, UNLIKELY, and TrajectoryMeasurement::updatedState().
TrajectorySegmentBuilder::TempTrajectoryContainer TrajectorySegmentBuilder::segments | ( | const TSOS | startingState | ) |
new segments within layer
Definition at line 65 of file TrajectorySegmentBuilder.cc.
References HLT_2023v12_cff::candidates, gather_cfg::cout, LIKELY, TrajectoryStateOnSurface::localError(), visualization-live-secondInstance_cfg::m, LocalTrajectoryError::matrix(), Skims_PA_cff::name, gpuPixelDoublets::ntot, HLT_2023v12_cff::truncate, and UNLIKELY.
|
private |
get list of unused hits
Definition at line 442 of file TrajectorySegmentBuilder.cc.
References TrackingRecHit::all, newFWLiteAna::found, h, LIKELY, visualization-live-secondInstance_cfg::m, mps_fire::result, and UNLIKELY.
|
private |
creation of new candidates from a segment and a collection of hits
Definition at line 304 of file TrajectorySegmentBuilder.cc.
References HLT_2023v12_cff::candidates.
|
private |
creation of a new candidate from a segment and the best hit out of a collection
Definition at line 320 of file TrajectorySegmentBuilder.cc.
References HLT_2023v12_cff::candidates, and eostools::move().
|
private |
update of a trajectory with a hit
Definition at line 190 of file TrajectorySegmentBuilder.cc.
References TempTrajectory::emplace(), TrajectoryMeasurement::estimate(), TrajectoryMeasurement::layer(), eostools::move(), TrajectoryMeasurement::predictedState(), and TrajectoryMeasurement::recHit().
|
private |
Definition at line 372 of file TrajectorySegmentBuilder.cc.
References HLT_2023v12_cff::candidates, gather_cfg::cout, align_cfg::iteration, LIKELY, TrackingRecHit::missing, UNLIKELY, and TrackingRecHit::valid.
|
private |
Definition at line 116 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 120 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 111 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 109 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 113 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 108 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 107 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 118 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 115 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 117 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 110 of file TrajectorySegmentBuilder.h.