BOSS
7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcHoughFinder/MdcHoughFinder-00-00-13/MdcHoughFinder/HoughZsFit.h
Go to the documentation of this file.
1
#ifndef HoughZsFit_H
2
#define HoughZsFit_H
3
#include "MdcHoughFinder/HoughStereo.h"
4
class
HoughZsFit
5
{
6
public
:
7
HoughZsFit
(vector<HoughRecHit>*
recHitCol
);
8
~HoughZsFit
();
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
};
41
bool
compare_zsfit
(
const
HoughZsFit::Line
& a,
const
HoughZsFit::Line
& b);
42
bool
layer_in_track
(
const
HoughRecHit
* hita,
const
HoughRecHit
* hitb);
43
#endif
recHitCol
std::vector< HoughRecHit > recHitCol
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/Hough2D.h:22
layer_in_track
bool layer_in_track(const HoughRecHit *hita, const HoughRecHit *hitb)
Definition:
HoughZsFit.cxx:364
compare_zsfit
bool compare_zsfit(const HoughZsFit::Line &a, const HoughZsFit::Line &b)
Definition:
HoughZsFit.cxx:332
HoughRecHit
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughRecHit.h:6
HoughZsFit
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughZsFit.h:5
HoughZsFit::HoughZsFit
HoughZsFit(vector< HoughRecHit > *recHitCol)
HoughZsFit::leastLine
int leastLine(int, double x[], double y[], double &, double &, double &)
HoughZsFit::doit
void doit()
HoughZsFit::getPro
double getPro() const
Definition:
Reconstruction/MdcHoughFinder/MdcHoughFinder-00-00-13/MdcHoughFinder/HoughZsFit.h:24
HoughZsFit::initPoint
void initPoint()
HoughZsFit::getTanl
double getTanl() const
Definition:
Reconstruction/MdcHoughFinder/MdcHoughFinder-00-00-13/MdcHoughFinder/HoughZsFit.h:22
HoughZsFit::~HoughZsFit
~HoughZsFit()
HoughZsFit::getZ0
double getZ0() const
Definition:
Reconstruction/MdcHoughFinder/MdcHoughFinder-00-00-13/MdcHoughFinder/HoughZsFit.h:23
HoughZsFit::m_debug
static int m_debug
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughZsFit.h:27
HoughZsFit::print
void print()
HoughZsFit::leastFit
void leastFit(Line &linefit, int N)
HoughZsFit::sortHit
void sortHit()
HoughZsFit::Line
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughZsFit.h:10
HoughZsFit::Line::_pointCol
std::vector< HoughRecHit > _pointCol
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughZsFit.h:15
HoughZsFit::Line::_b
double _b
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughZsFit.h:12
HoughZsFit::Line::_chi
double _chi
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughZsFit.h:13
HoughZsFit::Line::_k
double _k
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughZsFit.h:11
HoughZsFit::Line::_ambig
std::vector< int > _ambig
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughZsFit.h:16
source
Reconstruction
MdcHoughFinder
MdcHoughFinder-00-00-13
MdcHoughFinder
HoughZsFit.h
Generated by
1.9.6