BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TSegmentCurl.cxx File Reference
#include "TrkReco/TSegmentCurl.h"

Go to the source code of this file.

Macros

#define inline

Functions

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

Macro Definition Documentation

◆ inline

#define inline

Definition at line 3 of file TSegmentCurl.cxx.

Function Documentation

◆ sortByWireSerialNumber()

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

Definition at line 199 of file TSegmentCurl.cxx.

199 {
200 const TMLink** a( (const TMLink**)av );
201 const TMLink** b( (const TMLink**)bv );
202 if ( ( *a )->hit()->wire()->id() < ( *b )->hit()->wire()->id() ) { return 1; }
203 else if ( ( *a )->hit()->wire()->id() == ( *b )->hit()->wire()->id() ) { return 0; }
204 else { return -1; }
205}