BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcHoughFinder/MdcHoughFinder-00-00-12/MdcHoughFinder/HoughPeak.h
Go to the documentation of this file.
1#ifndef HOUGHPEAK_H
2#define HOUGHPEAK_H
3
4#include <vector>
5#include "MdcHoughFinder/HoughHit.h"
6#include "MdcHoughFinder/HoughHitList.h"
7
8using namespace std;
9
10class HoughPeak{
11 public:
13 HoughPeak(const HoughPeak& other);
15 //HoughPeak(int itheta, int irho , double theta,double rho, vector< const HoughHit* >** mapHitList,bool is);
16 HoughPeak(int itheta, int irho , double theta,double rho, vector< const HoughHit* >** mapHitList,bool is,int peakNum);
17 HoughPeak(int height,int itheta, int irho , double theta,double rho, bool is,int peakNum,int charge);
18 // collect hits
19 vector<const HoughHit*> getHoughHitList() const {return _houghPeakHitList;}
20 int peakHeight() const {return _height;}
21 int getPeakNum() const {return _peakNum;}
22 int getThetaBin() const {return _thetaBin;}
23 int getRhoBin() const {return _rhoBin;}
24 double getTheta() const {return _theta;}
25 double getRho() const {return _rho;}
26 double getRho_reci() const {return 1./_rho;}
27 bool getisCandiTrack() const {return _isCandiTrack;}
28 void setisCandiTrack(bool is) { _isCandiTrack=is;}
29 int getHitNum(int) const ;
30 int getHitNumA(int) const ;
31 int getHitNumS(int) const ;
32 void printAllHit() const;
33 void print();
36
37 static double m_dcut1;
38 static double m_dcut2;
39
40 private:
41 //class member
42 double _theta;
43 double _rho;
44 int _thetaBin;
45 int _rhoBin;
46 vector<const HoughHit*> _houghPeakHitList;
47 bool _isCandiTrack;
48 int _peakNum;
49 int _height;
50 int _charge;
51};
52
53#endif
int getHitNumS(int) const
int getHitNum(int) const
HoughPeak(int itheta, int irho, double theta, double rho, vector< const HoughHit * > **mapHitList, bool is, int peakNum)
HoughPeak & operator=(const HoughPeak &other)
void printAllHit() const
int collectHits(const HoughHitList &)
HoughPeak(const HoughPeak &other)
int getHitNumA(int) const
void print()
HoughPeak(int height, int itheta, int irho, double theta, double rho, bool is, int peakNum, int charge)