9 result.reserve(hits.size());
10 for(RecHitContainer::const_iterator ihit = hits.begin(); ihit != hits.end();
12 if(!(**ihit).isValid()) result.push_back(*ihit);
13 else if((**ihit).transientHits().size() == 1) result.push_back(*ihit);
18 for (RecHitContainer::iterator srt = sorted.begin(); srt != sorted.end(); srt++) {
19 result.push_back(*srt);
PropagationDirection direction() const
bool empty() const
True if trajectory has no measurements.
TrajectoryStateOnSurface const & predictedState() const
TrajectorySeed const & seed() const
Access to the seed used to reconstruct the Trajectory.
RecHitContainer sortHits(const RecHitContainer &hits, const PropagationDirection &dir) const
PropagationDirection const & direction() const
void sorter(const RecHitContainer &hits, PropagationDirection dir, RecHitContainer &result) const
RecHitSplitter::RecHitContainer RecHitContainer
RecHitContainer split(const RecHitContainer &hits) const
KFTrajectoryFitter fitter
TrajectoryMeasurement const & firstMeasurement() const
Trajectory fitOne(const Trajectory &aTraj, fitType) const
Trajectory fitOne(const Trajectory &aTraj, fitType type) const