1 #ifndef CommonDet_Trajectory_H 2 #define CommonDet_Trajectory_H 15 #include <boost/shared_ptr.hpp> 178 else throw cms::Exception(
"TrajectoryMeasurement::lastMeasurement - Too few measurements in trajectory");
191 else throw cms::Exception(
"TrajectoryMeasurement::firstMeasurement - Too few measurements in trajectory");
207 for (Trajectory::DataContainer::const_iterator itm
209 hits.push_back((*itm).recHit());
267 int ndof(
bool bon =
true)
const;
311 if (
theData.back().recHit()->hit()!=0)
return theData.back().layer();
313 else throw cms::Exception(
"TrajectoryMeasurement::lastMeasurement - Too few measurements in trajectory");
359 void pushAux(
double chi2Increment);
363 boost::shared_ptr<const TrajectorySeed>
theSeed;
float dPhiCacheForLoopersReconstruction() const
signed short theNumberOfTrailingFoundHits
bool empty() const
True if trajectory has no measurements.
Trajectory(const TrajectorySeed &seed, PropagationDirection dir)
signed short theNumberOfFoundHits
bool theDirectionValidity
int trailingFoundHits() const
TrajectorySeed const & seed() const
Access to the seed used to reconstruct the Trajectory.
signed short theNumberOfFoundPixelHits
signed short theNumberOfLostHits
float cccThreshold() const
void pushAux(double chi2Increment)
Trajectory & operator=(Trajectory const &rh)=default
void setStopReason(StopReason s)
void setNLoops(signed char value)
void invalidate()
Method to invalidate a trajectory. Useful during ambiguity resolution.
ConstRecHitContainer recHits() const
bool badForCCC(const TrajectoryMeasurement &tm)
void reserve(unsigned int n)
const boost::shared_ptr< const TrajectorySeed > & sharedSeed() const
TrajectoryMeasurement const & closestMeasurement(GlobalPoint) const
TrajectoryStateOnSurface geometricalInnermostState() const
void swap(Association< C > &lhs, Association< C > &rhs)
signed char nLoops() const
PropagationDirection const & direction() const
DataContainer const & measurements() const
void updateBadForCCC(float ccc_threshold)
std::vector< TrajectoryMeasurement > DataContainer
StopReason stopReason() const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
TrajectoryMeasurement const & lastMeasurement() const
void validRecHits(ConstRecHitContainer &cont) const
int foundPixelHits() const
static bool pixel(const TrackingRecHit &hit)
edm::RefToBase< TrajectorySeed > seedRef(void) const
DataContainer & measurements()
Trajectory(const TrajectorySeed &seed)
Trajectory(PropagationDirection dir)
PropagationDirection theDirection
void setSharedSeed(const boost::shared_ptr< const TrajectorySeed > &seed)
std::vector< ConstRecHitPointer > ConstRecHitContainer
boost::shared_ptr< const TrajectorySeed > theSeed
int ndof(bool bon=true) const
TrajectoryMeasurement const & firstMeasurement() const
ConstRecHitContainer RecHitContainer
unsigned int seedNHits() const
static bool isBad(const TrackingRecHit &hit)
Trajectory(const boost::shared_ptr< const TrajectorySeed > &seed, PropagationDirection dir)
void setSeedRef(const edm::RefToBase< TrajectorySeed > &seedRef)
edm::RefToBase< TrajectorySeed > seedRef_
void setDPhiCacheForLoopersReconstruction(float dphi)
TrackingRecHit::ConstRecHitContainer ConstRecHitContainer
int numberOfCCCBadHits(float ccc_threshold)
unsigned int nHits() const
DataContainer const & data() const
obsolete name, use measurements() instead.
Trajectory(Trajectory &&rh)
Trajectory & operator=(Trajectory &&rh)
const DetLayer * lastLayer() const
Redundant method, returns the layer of lastMeasurement() .
void push(const TrajectoryMeasurement &tm)
signed short theNumberOfCCCBadHits_
static bool lost(const TrackingRecHit &hit)