BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
HoughStereo.h
Go to the documentation of this file.
1#ifndef HoughStereo_H
2#define HoughStereo_H
3#include "HoughHit.h"
4// #include "Hough/HoughCircle.h"
5#include "CLHEP/Geometry/Point3D.h"
6#include "CLHEP/Geometry/Vector3D.h"
7#include "Hough2D.h"
8typedef HepGeom::Vector3D<double> HepVector3D;
10public:
11 // HoughStereo();
12 // HoughStereo(double bunchTime);
13 HoughStereo( double bunchTime, Hough2D* circle, HoughRecHit* rechit );
14 void setAmb( int i );
15 int cald();
16 void calcu( double x1, double y1, double xc, double yc, double rc, double x_east,
17 double y_east, double z_east, double x_west, double y_west, double z_west,
18 double& theta, double& l, double& z );
19 void setRecHit();
20 void print();
21 Hough2D* getCircle() const { return _circle; }
22 HoughRecHit* getRecHit() const { return _rechit; }
23 double getlLeft() const { return _lleft; }
24 double getlRight() const { return _lright; }
25 double getzLeft() const { return _zleft; }
26 double getzRight() const { return _zright; }
27 static int m_debug;
28
29private:
30 Hough2D* _circle;
31 HoughRecHit* _rechit;
32 double _bunchTime;
33 double _lleft;
34 double _zleft;
35 double _lright;
36 double _zright;
37
38 int _ambig;
39 int _charge;
40};
41#endif
HepGeom::Vector3D< double > HepVector3D
HoughStereo(double bunchTime, Hough2D *circle, HoughRecHit *rechit)
double getzRight() const
Definition HoughStereo.h:26
static int m_debug
Definition HoughStereo.h:27
HoughRecHit * getRecHit() const
Definition HoughStereo.h:22
double getzLeft() const
Definition HoughStereo.h:25
double getlRight() const
Definition HoughStereo.h:24
void setAmb(int i)
void calcu(double x1, double y1, double xc, double yc, double rc, double x_east, double y_east, double z_east, double x_west, double y_west, double z_west, double &theta, double &l, double &z)
Hough2D * getCircle() const
Definition HoughStereo.h:21
double getlLeft() const
Definition HoughStereo.h:23