CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
TMLine.cxx File Reference

Go to the source code of this file.

Functions

int SortByB (const void *av, const void *bv)
 Sorter.
 

Function Documentation

◆ SortByB()

int SortByB ( const void * av,
const void * bv )

Sorter.

Definition at line 648 of file TMLine.cxx.

648 {
649 const TMLine ** a((const TMLine **) av);
650 const TMLine ** b((const TMLine **) bv);
651 if (fabs((* a)->b()) > fabs((* b)->b()))
652 return 1;
653 else if (fabs((* a)->b()) == fabs((* b)->b()))
654 return 0;
655 else
656 return -1;
657}
A class to represent a track in tracking.
Definition TMLine.h:40

Referenced by TBuilder::searchInitialLines().