BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
TSegmentCurl.cxx File Reference

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 280 of file TSegmentCurl.cxx.

281{
282 const TMLink **a((const TMLink **)av);
283 const TMLink **b((const TMLink **)bv);
284 if( (*a)->hit()->wire()->id() < (*b)->hit()->wire()->id() ){
285 return 1;
286 }else if( (*a)->hit()->wire()->id() == (*b)->hit()->wire()->id() ){
287 return 0;
288 }else{
289 return -1;
290 }
291}
const double b
Definition slope.cxx:9