Go to the documentation of this file.
13 template <
typename DataContainer>
14 unsigned short countTrailingValidHits(DataContainer
const& meas) {
16 for (
auto it = meas.rbegin(); it != meas.rend(); --it) {
19 if ((*it).recHit()->isValid())
28 theNumberOfFoundHits(0),
29 theNumberOfFoundPixelHits(0),
30 theNumberOfLostHits(0),
31 theNumberOfCCCBadHits_(0),
32 theDirection(traj.direction()),
33 theValid(traj.isValid()),
34 theNHseed(traj.seedNHits()),
35 theNLoops(traj.nLoops()),
36 theDPhiCache(traj.dPhiCacheForLoopersReconstruction()),
37 theCCCThreshold_(traj.cccThreshold()),
38 stopReason_(traj.stopReason()) {
39 for (
auto& it : traj.measurements()) {
62 if (tm.
recHit()->isValid()) {
123 "Trajectory::check() - information requested from empty Trajectory");
135 if (
hit.geographicalId().rawId() == 0) {
144 auto const* thit = static_cast<const BaseTrackerRecHit*>(tm.
recHit()->hit());
147 if (thit->isPixel() || thit->isPhase2())
152 thit->firstClusterRef().stripCluster(),
PropagationDirection direction() const
void push(const TrajectoryMeasurement &tm)
void join(TempTrajectory &segment)
TrajectoryStateOnSurface const & updatedState() const
void reserve(unsigned int n)
void setStopReason(StopReason s)
signed short theNumberOfCCCBadHits_
static bool lost(const TrackingRecHit &hit)
const DataContainer & measurements() const
signed short theNumberOfLostHits
void updateBadForCCC(float ccc_threshold)
const_iterator rbegin() const
const LocalTrajectoryParameters & localParameters() const
void join(bqueue< T > &other)
Trajectory toTrajectory() const
Convert to a standard Trajectory.
void push_back(const T &val)
bool isFromDet(TrackingRecHit const &hit)
void push(const TrajectoryMeasurement &tm)
signed short theNumberOfTrailingFoundHits
ConstRecHitPointer const & recHit() const
bool badForCCC(const TrajectoryMeasurement &tm)
const_iterator rend() const
int numberOfCCCBadHits(float ccc_threshold)
int numberOfCCCBadHits(float ccc_threshold)
void setNLoops(signed char value)
signed short theNumberOfFoundPixelHits
signed short theNumberOfFoundHits
static bool pixel(const TrackingRecHit &hit)
void pushAux(double chi2Increment)
bool empty() const
True if trajectory has no measurements.