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()),
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()) {
42 traj.measurements().clear();
63 if (tm.
recHit()->isValid()) {
124 "Trajectory::check() - information requested from empty Trajectory");
136 if (
hit.geographicalId().rawId() == 0) {
148 if (thit->isPixel() || thit->isPhase2())
153 thit->firstClusterRef().stripCluster(),
signed short theNumberOfFoundHits
PropagationDirection direction() const
const_iterator rbegin() const
void join(TempTrajectory &segment)
const bool isValid(const Frame &aFrame, const FrameQuality &aQuality, const uint16_t aExpectedPos)
bool isFromDet(TrackingRecHit const &hit)
void setStopReason(StopReason s)
signed short theNumberOfCCCBadHits_
void setNLoops(signed char value)
const LocalTrajectoryParameters & localParameters() const
static bool lost(const TrackingRecHit &hit)
void reserve(unsigned int n)
const DataContainer & measurements() const
signed short theNumberOfLostHits
void updateBadForCCC(float ccc_threshold)
static bool pixel(const TrackingRecHit &hit)
Trajectory toTrajectory() const
Convert to a standard Trajectory.
int numberOfCCCBadHits(float ccc_threshold)
signed short theNumberOfFoundPixelHits
bool badForCCC(const TrajectoryMeasurement &tm)
TrajectoryStateOnSurface const & updatedState() const
int numberOfCCCBadHits(float ccc_threshold)
signed short theNumberOfTrailingFoundHits
const_iterator rend() const
void join(bqueue< T > &other)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
void push(const TrajectoryMeasurement &tm)
void push_back(const T &val)
ConstRecHitPointer const & recHit() const
void pushAux(double chi2Increment)
bool empty() const
True if trajectory has no measurements.
void push(const TrajectoryMeasurement &tm)