BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
HoughZsFit.h File Reference
#include "HoughStereo.h"

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 368 of file HoughZsFit.cxx.

368 {
369 return abs( a._chi ) < abs( b._chi );
370}

Referenced by HoughZsFit::doit().

◆ layer_in_track()

bool layer_in_track ( const HoughRecHit * hita,
const HoughRecHit * hitb )

Definition at line 405 of file HoughZsFit.cxx.

405 {
406 return ( *hita ).getLayerId() > ( *hitb ).getLayerId();
407}

Referenced by HoughZsFit::sortHit().