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