#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) | |
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, const std::vector< 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, const 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 |
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 |
|
private |
Definition at line 232 of file TrajectorySegmentBuilder.cc.
References gather_cfg::cout, cmsutils::bqueue< T >::empty(), TempTrajectory::empty(), TempTrajectory::measurements(), run_regression::ret, cmsutils::bqueue< T >::size(), lumiQTWidget::t, and unlikely.
|
private |
clean a set of candidates
Definition at line 556 of file TrajectorySegmentBuilder.cc.
References TrackingRecHit::all, newFWLiteAna::found, i, getHLTprescales::index, j, lessByFoundHits(), cmsutils::bqueue< T >::rbegin(), cmsutils::bqueue< T >::rend(), and python.multivaluedict::sort().
|
private |
mark a hit as used
Definition at line 547 of file TrajectorySegmentBuilder.cc.
References TrajectoryMeasurement::recHit().
|
private |
retrieve compatible hits from a DetGroup
Definition at line 375 of file TrajectorySegmentBuilder.cc.
References tracking::TempMeasurements::clear(), gather_cfg::cout, tracking::TempMeasurements::distances, tracking::TempMeasurements::hits, i, GeomDetCompatibilityChecker::isCompatible(), TempTrajectory::lastMeasurement(), MeasurementDetWithData::measurements(), query::result, tracking::TempMeasurements::size(), python.multivaluedict::sort(), unlikely, and TrajectoryMeasurement::updatedState().
TrajectorySegmentBuilder::TempTrajectoryContainer TrajectorySegmentBuilder::segments | ( | const TSOS | startingState | ) |
new segments within layer
Definition at line 70 of file TrajectorySegmentBuilder.cc.
References constexpr, gather_cfg::cout, likely, TrajectoryStateOnSurface::localError(), m, LocalTrajectoryError::matrix(), mergeVDriftHistosByStation::name, and unlikely.
|
private |
get list of unused hits
Definition at line 520 of file TrajectorySegmentBuilder.cc.
References TrackingRecHit::all, newFWLiteAna::found, h, likely, m, query::result, and unlikely.
|
private |
creation of new candidates from a segment and a collection of hits
Definition at line 311 of file TrajectorySegmentBuilder.cc.
|
private |
creation of a new candidate from a segment and the best hit out of a collection
Definition at line 333 of file TrajectorySegmentBuilder.cc.
References gather_cfg::cout, and unlikely.
|
private |
update of a trajectory with a hit
Definition at line 202 of file TrajectorySegmentBuilder.cc.
References TempTrajectory::emplace(), TrajectoryMeasurement::estimate(), TrajectoryMeasurement::layer(), TrajectoryMeasurement::predictedState(), TrajectoryMeasurement::recHit(), and TrajectoryStateOnSurface::update().
|
private |
Definition at line 416 of file TrajectorySegmentBuilder.cc.
References gather_cfg::cout, newFWLiteAna::found, align_cfg::iteration, likely, TrackingRecHit::missing, unlikely, and TrackingRecHit::valid.
|
private |
Definition at line 117 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 120 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 118 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 116 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 111 of file TrajectorySegmentBuilder.h.