/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/TrkReco/TrkReco-00-08-59-patch4-slc6tag/src/TSegmentCurl.cxx File Reference

#include "TrkReco/TSegmentCurl.h"

Go to the source code of this file.

Defines

#define inline

Functions

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


Define Documentation

#define inline

Definition at line 3 of file TSegmentCurl.cxx.


Function Documentation

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

Definition at line 280 of file TSegmentCurl.cxx.

Referenced by TSegmentCurl::calcuSeq().

00281 {
00282   const TMLink **a((const TMLink **)av);
00283   const TMLink **b((const TMLink **)bv);
00284   if( (*a)->hit()->wire()->id() < (*b)->hit()->wire()->id() ){
00285     return 1;
00286   }else if( (*a)->hit()->wire()->id() == (*b)->hit()->wire()->id() ){
00287     return 0;
00288   }else{
00289     return -1;
00290   }
00291 }


Generated on Tue Nov 29 23:17:07 2016 for BOSS_7.0.2 by  doxygen 1.4.7