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

Public Member Functions

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

Detailed Description

Definition at line 253 of file TwoCRTMatching_module.cc.

Member Function Documentation

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

Definition at line 255 of file TwoCRTMatching_module.cc.

256  {
257 
258  //return (fabs(pair1.dotProductCos)>fabs(pair2.dotProductCos));
259  return (fabs(pair1.deltaX_F)+fabs(pair1.deltaY_F)+fabs(pair1.deltaX_B)+fabs(pair1.deltaY_B)<fabs(pair2.deltaX_F)+fabs(pair2.deltaY_F)+fabs(pair2.deltaX_B)+fabs(pair2.deltaY_B));
260  //return ((fabs(pair1.dotProductCos)>.998 && pair1.deltaY<pair2.deltaY && pair1.deltaX<pair2.deltaX));
261 
262  }

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