ATLAS Offline Software
Public Member Functions | List of all members
InDet::MyNewDataSortPredicate Class Reference

Sorting function according to space point radial position. More...

#include <TRT_SeededSpacePointFinder_ATL.h>

Collaboration diagram for InDet::MyNewDataSortPredicate:

Public Member Functions

bool operator() (std::pair< const Trk::SpacePoint *, int > sp1, std::pair< const Trk::SpacePoint *, int > sp2) const
 

Detailed Description

Sorting function according to space point radial position.

Definition at line 49 of file TRT_SeededSpacePointFinder_ATL.h.

Member Function Documentation

◆ operator()()

bool InDet::MyNewDataSortPredicate::operator() ( std::pair< const Trk::SpacePoint *, int >  sp1,
std::pair< const Trk::SpacePoint *, int >  sp2 
) const
inline

Definition at line 51 of file TRT_SeededSpacePointFinder_ATL.h.

52  {return (sp1.first)->r() > (sp2.first)->r();}

The documentation for this class was generated from the following file:
beamspotman.r
def r
Definition: beamspotman.py:676