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

Public Member Functions

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

Detailed Description

Definition at line 179 of file SingleCRTMatchingProducer_module.cc.

Member Function Documentation

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

Definition at line 181 of file SingleCRTMatchingProducer_module.cc.

182  {
183 
184  //return (fabs(pair1.dotProductCos)>fabs(pair2.dotProductCos));
185  return (fabs(pair1.deltaX)+fabs(pair1.deltaY)<fabs(pair2.deltaX)+fabs(pair2.deltaY));
186 
187  }

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