Public Member Functions | List of all members
CRT::SingleCRTMatching::sortPair Struct Reference

Public Member Functions

bool operator() (const tracksPair &pair1, const tracksPair &pair2)
 

Detailed Description

Definition at line 217 of file SingleCRTMatching_module.cc.

Member Function Documentation

bool CRT::SingleCRTMatching::sortPair::operator() ( const tracksPair pair1,
const tracksPair pair2 
)
inline

Definition at line 219 of file SingleCRTMatching_module.cc.

220  {
221 
222  //return (fabs(pair1.dotProductCos)>fabs(pair2.dotProductCos));
223  return (fabs(pair1.deltaX)+fabs(pair1.deltaY)<fabs(pair2.deltaX)+fabs(pair2.deltaY));
224  //return (fabs(pair1.deltaY)<fabs(pair2.deltaY));
225  }

The documentation for this struct was generated from the following file: