BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughZsFit.h
Go to the documentation of this file.
1#ifndef HoughZsFit_H
2#define HoughZsFit_H
3#include "MdcHoughFinder/HoughStereo.h"
5{
6 public:
7 HoughZsFit(vector<HoughRecHit>* recHitCol);
9// typedef std::pair<double,double> Point;
10 struct Line{
11 double _k;
12 double _b;
13 double _chi;
14 //std::vector<HoughRecHit> _recCol;
15 std::vector<HoughRecHit> _pointCol;
16 std::vector<int> _ambig;
17 };
18 void leastFit(Line &linefit, int N);
19 int leastLine(int ,double x[],double y[],double &,double &,double& );
20 void doit();
21 void initPoint();
22 double getTanl() const {return _tanl;}
23 double getZ0() const {return _z0;}
24 double getPro() const {return _pro_correct;}
25 void sortHit();
26 void print();
27 static int m_debug;
28
29 private:
30 vector<HoughRecHit*> _recStereoHit;
31// Point** _vecPoint;
32 int _hitSize;
33 double _k;
34 double _b;
35 double _chi;
36// int _ambig;
37 double _z0;
38 double _tanl;
39 double _pro_correct;
40};
42bool layer_in_track(const HoughRecHit* hita,const HoughRecHit* hitb);
43#endif
std::vector< HoughRecHit > recHitCol
bool layer_in_track(const HoughRecHit *hita, const HoughRecHit *hitb)
Definition: HoughZsFit.cxx:364
bool compare_zsfit(const HoughZsFit::Line &a, const HoughZsFit::Line &b)
Definition: HoughZsFit.cxx:332
int leastLine(int, double x[], double y[], double &, double &, double &)
Definition: HoughZsFit.cxx:336
void doit()
Definition: HoughZsFit.cxx:36
void initPoint()
void print()
Definition: HoughZsFit.cxx:370
void leastFit(Line &linefit, int N)
Definition: HoughZsFit.cxx:311
void sortHit()
Definition: HoughZsFit.cxx:367
double y[1000]
const double b
Definition: slope.cxx:9