1 #ifndef CD_RecHitLessByDet_H_
2 #define CD_RecHitLessByDet_H_
31 (aHit->surface()->toGlobal(aHit->localPosition()).
mag() <
32 bHit->surface()->toGlobal(bHit->localPosition()).
mag() ) :
33 (aHit->surface()->toGlobal(aHit->localPosition()).
mag() >
34 bHit->surface()->toGlobal(bHit->localPosition()).
mag()) );
42 #endif //CD_RecHitLessByDet_H_
bool operator()(const RecHitPointer &aHit, const RecHitPointer &bHit) const
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
RecHitLessByDet(const PropagationDirection &dir)
PropagationDirection theDirection
TransientTrackingRecHit::ConstRecHitPointer RecHitPointer