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()) {
62 if (tm.
recHit()->isValid()) {
123 "Trajectory::check() - information requested from empty Trajectory");
147 if (thit->isPixel() || thit->isPhase2())
152 thit->firstClusterRef().stripCluster(),
189 traj.
push(*tmp[--i]);
signed short theNumberOfFoundHits
const_iterator rend() const
ConstRecHitPointer const & recHit() const
void join(TempTrajectory &segment)
bool empty() const
True if trajectory has no measurements.
const bool isValid(const Frame &aFrame, const FrameQuality &aQuality, const uint16_t aExpectedPos)
const LocalTrajectoryParameters & localParameters() const
bool isFromDet(TrackingRecHit const &hit)
void setStopReason(StopReason s)
signed short theNumberOfCCCBadHits_
const DataContainer & measurements() const
void setNLoops(signed char value)
constexpr uint32_t rawId() const
get the raw id
static bool lost(const TrackingRecHit &hit)
void reserve(unsigned int n)
PropagationDirection direction() const
Trajectory toTrajectory() const
Convert to a standard Trajectory.
signed short theNumberOfLostHits
void updateBadForCCC(float ccc_threshold)
static bool pixel(const TrackingRecHit &hit)
const_iterator rbegin() const
int numberOfCCCBadHits(float ccc_threshold)
signed short theNumberOfFoundPixelHits
bool badForCCC(const TrajectoryMeasurement &tm)
int numberOfCCCBadHits(float ccc_threshold)
signed short theNumberOfTrailingFoundHits
void join(bqueue< T > &other)
TrajectoryStateOnSurface const & updatedState() const
DetId geographicalId() const
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)
void pushAux(double chi2Increment)
void push(const TrajectoryMeasurement &tm)