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())
31 thePayload->theDPhiCache = traj.dPhiCacheForLoopersReconstruction();
32 thePayload->theCCCThreshold_ = traj.cccThreshold();
34 for (
auto&
it : traj.measurements()) {
37 traj.measurements().clear();
58 if (tm.
recHit()->isValid()) {
119 "Trajectory::check() - information requested from empty Trajectory");
131 if (
hit.geographicalId().rawId() == 0) {
143 if (thit->isPixel() || thit->isPhase2())
148 thit->firstClusterRef().stripCluster(),
156 if (ccc_threshold ==
thePayload->theCCCThreshold_)
PropagationDirection direction() const
const_iterator rbegin() const
void join(TempTrajectory &segment)
bool isFromDet(TrackingRecHit const &hit)
void setStopReason(StopReason s)
const LocalTrajectoryParameters & localParameters() const
static bool lost(const TrackingRecHit &hit)
void reserve(unsigned int n)
const DataContainer & measurements() const
void updateBadForCCC(float ccc_threshold)
static bool pixel(const TrackingRecHit &hit)
Trajectory toTrajectory() const
Convert to a standard Trajectory.
int numberOfCCCBadHits(float ccc_threshold)
void setNLoops(int8_t value)
bool badForCCC(const TrajectoryMeasurement &tm)
TrajectoryStateOnSurface const & updatedState() const
int numberOfCCCBadHits(float ccc_threshold)
std::unique_ptr< Payload > thePayload
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.
if(threadIdxLocalY==0 &&threadIdxLocalX==0)
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)