8 theNumberOfFoundHits(0), theNumberOfLostHits(0),
9 theDirection(traj.direction()), theDirectionValidity(
true),
10 theValid(traj.isValid()),
11 theNLoops(traj.nLoops()),
12 theDPhiCache(traj.dPhiCacheForLoopersReconstruction()) {
14 Trajectory::DataContainer::const_iterator
begin=traj.measurements().begin();
15 Trajectory::DataContainer::const_iterator
end=traj.measurements().end();
17 for(Trajectory::DataContainer::const_iterator it=begin; it!=
end; ++it){
37 if ( tm.
recHit()->isValid()) {
92 else throw cms::Exception(
"TrackingTools/PatternTools",
"Trajectory::direction() requested but not set");
97 throw cms::Exception(
"TrackingTools/PatternTools",
"Trajectory::check() - information requested from empty Trajectory");
124 while(i!=0) 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 DataContainer & measurements() const
void setNLoops(signed char value)
GlobalPoint globalPosition() const
static bool lost(const TrackingRecHit &hit)
void reserve(unsigned int n)
uint32_t rawId() const
get the raw id
PropagationDirection direction() const
Trajectory toTrajectory() const
Convert to a standard Trajectory.
signed short theNumberOfLostHits
const_iterator rbegin() const
bool theDirectionValidity
std::vector< std::vector< double > > tmp
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)