BOSS 8.0.0
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 656 of file TMLine.cxx.

656 {
657 const TMLine** a( (const TMLine**)av );
658 const TMLine** b( (const TMLine**)bv );
659 if ( fabs( ( *a )->b() ) > fabs( ( *b )->b() ) ) return 1;
660 else if ( fabs( ( *a )->b() ) == fabs( ( *b )->b() ) ) return 0;
661 else return -1;
662}
A class to represent a track in tracking.

Referenced by TBuilder::searchInitialLines().