#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 32 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 42 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 43 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 36 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 41 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 38 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 39 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 40 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 37 of file TrajectorySegmentBuilder.h.
|
inline |
constructor from layer and helper objects
Definition at line 48 of file TrajectorySegmentBuilder.h.
|
inline |
destructor
Definition at line 65 of file TrajectorySegmentBuilder.h.
References begin, objects.IsoTrackAnalyzer::candidates, and end.
|
private |
Definition at line 230 of file TrajectorySegmentBuilder.cc.
References gather_cfg::cout, cmsutils::bqueue< T >::empty(), TempTrajectory::empty(), TempTrajectory::measurements(), eostools::move(), cmsutils::bqueue< T >::size(), lumiQTWidget::t, and UNLIKELY.
|
private |
clean a set of candidates
Definition at line 497 of file TrajectorySegmentBuilder.cc.
References TrackingRecHit::all, runEdmFileComparison::found, mps_fire::i, lessByFoundHits(), cmsutils::bqueue< T >::rbegin(), and cmsutils::bqueue< T >::rend().
|
private |
mark a hit as used
Definition at line 488 of file TrajectorySegmentBuilder.cc.
References TrajectoryMeasurement::recHit().
|
private |
retrieve compatible hits from a DetGroup
Definition at line 349 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(), UNLIKELY, and TrajectoryMeasurement::updatedState().
TrajectorySegmentBuilder::TempTrajectoryContainer TrajectorySegmentBuilder::segments | ( | const TSOS | startingState | ) |
new segments within layer
Definition at line 72 of file TrajectorySegmentBuilder.cc.
References objects.IsoTrackAnalyzer::candidates, constexpr, gather_cfg::cout, LIKELY, TrajectoryStateOnSurface::localError(), funct::m, LocalTrajectoryError::matrix(), dataset::name, and UNLIKELY.
|
private |
get list of unused hits
Definition at line 461 of file TrajectorySegmentBuilder.cc.
References TrackingRecHit::all, runEdmFileComparison::found, h, LIKELY, funct::m, mps_fire::result, and UNLIKELY.
|
private |
creation of new candidates from a segment and a collection of hits
Definition at line 318 of file TrajectorySegmentBuilder.cc.
|
private |
creation of a new candidate from a segment and the best hit out of a collection
Definition at line 336 of file TrajectorySegmentBuilder.cc.
References eostools::move().
|
private |
update of a trajectory with a hit
Definition at line 200 of file TrajectorySegmentBuilder.cc.
References TempTrajectory::emplace(), TrajectoryMeasurement::estimate(), TrajectoryMeasurement::layer(), eostools::move(), TrajectoryMeasurement::predictedState(), and TrajectoryMeasurement::recHit().
|
private |
Definition at line 390 of file TrajectorySegmentBuilder.cc.
References gather_cfg::cout, align_cfg::iteration, LIKELY, TrackingRecHit::missing, UNLIKELY, and TrackingRecHit::valid.
|
private |
Definition at line 117 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 121 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 112 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 110 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 114 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 109 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 108 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 119 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 116 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 118 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 111 of file TrajectorySegmentBuilder.h.