12 template <
typename DataContainer>
13 unsigned short countTrailingValidHits(DataContainer
const& meas) {
15 for (
auto it = meas.rbegin(); it != meas.rend(); --it) {
18 if ((*it).recHit()->isValid())
27 theNumberOfFoundHits(0),
28 theNumberOfFoundPixelHits(0),
29 theNumberOfLostHits(0),
30 theNumberOfCCCBadHits_(0),
31 theDirection(traj.direction()),
32 theValid(traj.isValid()),
33 theNHseed(traj.seedNHits()),
34 theNLoops(traj.nLoops()),
35 theDPhiCache(traj.dPhiCacheForLoopersReconstruction()),
36 theCCCThreshold_(traj.cccThreshold()),
37 stopReason_(traj.stopReason()) {
38 for (
auto& it : traj.measurements()) {
61 if (tm.
recHit()->isValid()) {
122 "Trajectory::check() - information requested from empty Trajectory");
146 if (thit->isPixel() || thit->isPhase2())
151 thit->firstClusterRef().stripCluster(),
188 traj.
push(*tmp[--i]);
signed short theNumberOfFoundHits
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
const_iterator rend() const
ConstRecHitPointer const & recHit() const
void join(TempTrajectory &segment)
bool empty() const
True if trajectory has no measurements.
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
void push(const TrajectoryMeasurement &tm)
void push_back(const T &val)
void pushAux(double chi2Increment)
void push(const TrajectoryMeasurement &tm)