1 #ifndef RecHitsSortedInPhi_H
2 #define RecHitsSortedInPhi_H
33 typedef std::vector<HitWithPhi>::const_iterator
HitIter;
34 typedef std::pair<HitIter,HitIter>
Range;
65 std::vector<Hit>
hits()
const {
81 result.reserve(result.size()+(range.second-range.first));
82 for (
HitIter i = range.first;
i != range.second;
i++) result.push_back(
i->hit());
std::vector< HitWithPhi > theHits
Range unsafeRange(float phiMin, float phiMax) const
bool operator()(const HitWithPhi &a, const HitWithPhi &b)
HitWithPhi(const Hit &hit)
std::vector< Hit > hits() const
std::pair< HitIter, HitIter > Range
TransientTrackingRecHit::ConstRecHitPointer Hit
std::vector< HitWithPhi >::const_iterator HitIter
RecHitsSortedInPhi(const std::vector< Hit > &hits)
static void copyResult(const Range &range, std::vector< Hit > &result)