BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
HoughZsFit.h File Reference

Go to the source code of this file.

Classes

class  HoughZsFit
 
struct  HoughZsFit::Line
 

Functions

bool compare_zsfit (const HoughZsFit::Line &a, const HoughZsFit::Line &b)
 
bool layer_in_track (const HoughRecHit *hita, const HoughRecHit *hitb)
 

Function Documentation

◆ compare_zsfit()

bool compare_zsfit ( const HoughZsFit::Line a,
const HoughZsFit::Line b 
)

Definition at line 332 of file HoughZsFit.cxx.

332 {
333 return abs(a._chi)<abs(b._chi);
334}
const double b
Definition: slope.cxx:9

Referenced by HoughZsFit::doit().

◆ layer_in_track()

bool layer_in_track ( const HoughRecHit hita,
const HoughRecHit hitb 
)

Definition at line 364 of file HoughZsFit.cxx.

364 {
365 return (*hita).getLayerId() > (*hitb).getLayerId();
366}

Referenced by HoughZsFit::sortHit().