BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
HoughRecHit.h
Go to the documentation of this file.
1#ifndef HOUGHRECHIT_H
2#define HOUGHRECHIT_H
4#include <utility>
5class Hough2D;
6class HoughRecHit : public HoughHit{
7 public:
9 HoughRecHit(const HoughRecHit& other);
10 HoughRecHit& operator=(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
const MdcDigi * digi() const
Definition: HoughHit.h:55
void setzAmb(int i, double zPos)
Definition: HoughRecHit.h:32
void setRet(std::pair< double, double > theta_l)
Definition: HoughRecHit.h:29
void setnsol(int i)
Definition: HoughRecHit.h:35
std::pair< double, double > getRet() const
Definition: HoughRecHit.h:17
void setPtr2D(Hough2D *p_hough2D)
Definition: HoughRecHit.h:26
int getflag() const
Definition: HoughRecHit.h:23
double getDisToTrack() const
Definition: HoughRecHit.h:15
double getAmbig() const
Definition: HoughRecHit.h:22
double getzPos() const
Definition: HoughRecHit.h:18
double getDisToCir() const
Definition: HoughRecHit.h:16
void setDisToCir(double dis)
Definition: HoughRecHit.h:28
HoughRecHit & operator=(const HoughRecHit &other)
Definition: HoughRecHit.cxx:14
void setflag(int i)
Definition: HoughRecHit.h:34
double getzAmb(int i) const
Definition: HoughRecHit.h:20
void setzPos(double zPos)
Definition: HoughRecHit.h:30
Hough2D * getPtr2D() const
Definition: HoughRecHit.h:14
double getsAmb(int i) const
Definition: HoughRecHit.h:21
void setDisToTrack(double dis)
Definition: HoughRecHit.h:27
double getsPos() const
Definition: HoughRecHit.h:19
int getnsol() const
Definition: HoughRecHit.h:24
void setsAmb(int i, double sPos)
Definition: HoughRecHit.h:33
void setsPos(double sPos)
Definition: HoughRecHit.h:31
void setAmb(int i)
Definition: HoughRecHit.cxx:57