CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
TMLine.cxx File Reference
#include "TrkReco/TMLine.h"
#include "TrkReco/TMDCUtil.h"
#include "TrkReco/TMDCWire.h"
#include "TrkReco/TMDCWireHit.h"
#include "TrkReco/TMDCWireHitMC.h"
#include "TrkReco/TTrackHEP.h"

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.

Referenced by TBuilder::searchInitialLines().