BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcHoughFinder/MdcHoughFinder-00-00-13/MdcHoughFinder/HoughRecHit.h
Go to the documentation of this file.
1#ifndef HOUGHRECHIT_H
2#define HOUGHRECHIT_H
3#include "MdcHoughFinder/HoughHit.h"
4#include <utility>
5class Hough2D;
6class HoughRecHit : public HoughHit{
7 public:
9 HoughRecHit(const HoughRecHit& other);
11 HoughRecHit(const MdcDigi* const digi,double disToTrack,double disToCir,int flagLs);
12 HoughRecHit(const HoughHit& houghhit,double disToTrack,double disToCir,int flagLs);
13
14 Hough2D* getPtr2D() const {return _p_hough2D;}
15 double getDisToTrack() const {return _disToTrack;}
16 double getDisToCir() const {return _disToCir;}
17 std::pair<double,double> getRet() const { return _theta_l; }
18 double getzPos() const {return _zPos;}
19 double getsPos() const {return _sPos;}
20 double getzAmb(int i) const {return _zAmb[i];}
21 double getsAmb(int i) const {return _sAmb[i];}
22 double getAmbig() const {return _ambig;}
23 int getflag() const {return _flagLS;}
24 int getnsol() const {return _n_sol;}
25
26 void setPtr2D( Hough2D* p_hough2D) {_p_hough2D=p_hough2D;}
27 void setDisToTrack(double dis) {_disToTrack= dis;}
28 void setDisToCir(double dis) {_disToCir= dis;}
29 void setRet(std::pair<double,double> theta_l) {_theta_l=theta_l;}
30 void setzPos(double zPos) {_zPos=zPos;}
31 void setsPos(double sPos) {_sPos=sPos;}
32 void setzAmb(int i,double zPos) {_zAmb[i]=zPos;}
33 void setsAmb(int i,double sPos) {_sAmb[i]=sPos;}
34 void setflag(int i) {_flagLS=i;}
35 void setnsol(int i) {_n_sol=i;}
36
37 void setAmb(int i);
38
39 private:
40 Hough2D *_p_hough2D;
41 double _disToTrack;
42 double _disToCir;
43 std::pair<double,double> _theta_l;
44 int _ambig;
45 double _zPos;
46 double _sPos;
47 double _zAmb[2]; //1 left 2 right
48 double _sAmb[2];
49 int _flagLS;
50 int _n_sol;
51};
52#endif
53
HoughRecHit(const HoughRecHit &other)
HoughRecHit(const MdcDigi *const digi, double disToTrack, double disToCir, int flagLs)
HoughRecHit & operator=(const HoughRecHit &other)
HoughRecHit(const HoughHit &houghhit, double disToTrack, double disToCir, int flagLs)
void setAmb(int i)