#include <TrajectorySegmentBuilder.h>
Public Member Functions | |
TempTrajectoryContainer | segments (const TSOS startingState) |
new segments within layer More... | |
TrajectorySegmentBuilder (const MeasurementTracker *theInputMeasurementTracker, const LayerMeasurements *theInputLayerMeasurements, const DetLayer &layer, const Propagator &propagator, const TrajectoryStateUpdator &updator, const MeasurementEstimator &estimator, bool lockHits, bool bestHitOnly, int maxSegments) | |
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 &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 &traj, const std::vector< TM > &measurements, TempTrajectoryContainer &candidates) |
creation of new candidates from a segment and a collection of hits More... | |
void | updateCandidatesWithBestHit (TempTrajectory &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 |
int | theMaxSegments |
const MeasurementTracker * | theMeasurementTracker |
const TrajectoryStateUpdator & | theUpdator |
Definition at line 31 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 41 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 42 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 35 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 40 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 39 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 36 of file TrajectorySegmentBuilder.h.
|
inline |
constructor from layer and helper objects
Definition at line 47 of file TrajectorySegmentBuilder.h.
|
inline |
|
private |
Definition at line 187 of file TrajectorySegmentBuilder.cc.
References gather_cfg::cout, cmsutils::bqueue< T >::empty(), TempTrajectory::empty(), TempTrajectory::measurements(), run_regression::ret, and cmsutils::bqueue< T >::size().
|
private |
clean a set of candidates
Definition at line 518 of file TrajectorySegmentBuilder.cc.
References TrackingRecHit::all, gather_cfg::cout, newFWLiteAna::found, TempTrajectory::isValid(), cmsutils::bqueue< T >::rbegin(), cmsutils::bqueue< T >::rend(), and python.multivaluedict::sort().
|
private |
mark a hit as used
Definition at line 509 of file TrajectorySegmentBuilder.cc.
References TrajectoryMeasurement::recHit().
|
private |
retrieve compatible hits from a DetGroup
Definition at line 320 of file TrajectorySegmentBuilder.cc.
References gather_cfg::cout, MeasurementDet::fastMeasurements(), GeomDetCompatibilityChecker::isCompatible(), TempTrajectory::lastMeasurement(), query::result, tmp, and TrajectoryMeasurement::updatedState().
TrajectorySegmentBuilder::TempTrajectoryContainer TrajectorySegmentBuilder::segments | ( | const TSOS | startingState | ) |
new segments within layer
Definition at line 61 of file TrajectorySegmentBuilder.cc.
References gather_cfg::cout, TrajectoryStateOnSurface::localError(), LocalTrajectoryError::matrix(), and mergeVDriftHistosByStation::name.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer().
|
private |
get list of unused hits
Definition at line 477 of file TrajectorySegmentBuilder.cc.
References TrackingRecHit::all, newFWLiteAna::found, and query::result.
|
private |
creation of new candidates from a segment and a collection of hits
Definition at line 261 of file TrajectorySegmentBuilder.cc.
|
private |
creation of a new candidate from a segment and the best hit out of a collection
Definition at line 283 of file TrajectorySegmentBuilder.cc.
References gather_cfg::cout.
|
private |
update of a trajectory with a hit
Definition at line 157 of file TrajectorySegmentBuilder.cc.
References TrajectoryMeasurement::estimate(), TrajectoryMeasurement::layer(), TrajectoryMeasurement::predictedState(), TempTrajectory::push(), TrajectoryMeasurement::recHit(), and TrajectoryStateOnSurface::update().
|
private |
Definition at line 373 of file TrajectorySegmentBuilder.cc.
References gather_cfg::cout, newFWLiteAna::found, align_cfg::iteration, TrackingRecHit::missing, and TrackingRecHit::valid.
|
private |
Definition at line 120 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 125 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 115 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 113 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 117 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 112 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 111 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 121 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 119 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 123 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 110 of file TrajectorySegmentBuilder.h.
|
private |
Definition at line 114 of file TrajectorySegmentBuilder.h.