BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
HoughZsFit.cxx File Reference
#include "MdcHoughFinder/HoughZsFit.h"
#include "TTree.h"
#include "TH2D.h"
#include "TF1.h"
#include "TGraph.h"
#include <algorithm>
#include <assert.h>

Go to the source code of this file.

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().