BOSS
7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/MdcHoughFinder/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
8
using namespace
std
;
9
10
class
HoughPeak
{
11
public
:
12
HoughPeak
();
13
HoughPeak
(
const
HoughPeak
& other);
14
~HoughPeak
();
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
();
34
HoughPeak
&
operator=
(
const
HoughPeak
& other);
35
int
collectHits
(
const
HoughHitList
& );
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
HoughHitList
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughHitList.h:13
HoughPeak
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:10
HoughPeak::getHitNumS
int getHitNumS(int) const
Definition:
HoughPeak.cxx:153
HoughPeak::getHitNum
int getHitNum(int) const
Definition:
HoughPeak.cxx:103
HoughPeak::HoughPeak
HoughPeak(int itheta, int irho, double theta, double rho, vector< const HoughHit * > **mapHitList, bool is, int peakNum)
HoughPeak::~HoughPeak
~HoughPeak()
Definition:
HoughPeak.cxx:7
HoughPeak::getTheta
double getTheta() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:24
HoughPeak::m_dcut1
static double m_dcut1
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:37
HoughPeak::getRhoBin
int getRhoBin() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:23
HoughPeak::getRho_reci
double getRho_reci() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:26
HoughPeak::HoughPeak
HoughPeak()
Definition:
HoughPeak.cxx:5
HoughPeak::operator=
HoughPeak & operator=(const HoughPeak &other)
Definition:
HoughPeak.cxx:15
HoughPeak::setisCandiTrack
void setisCandiTrack(bool is)
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:28
HoughPeak::printAllHit
void printAllHit() const
Definition:
HoughPeak.cxx:91
HoughPeak::getisCandiTrack
bool getisCandiTrack() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:27
HoughPeak::collectHits
int collectHits(const HoughHitList &)
Definition:
HoughPeak.cxx:179
HoughPeak::getHoughHitList
vector< const HoughHit * > getHoughHitList() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:19
HoughPeak::getHitNumA
int getHitNumA(int) const
Definition:
HoughPeak.cxx:128
HoughPeak::m_dcut2
static double m_dcut2
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:38
HoughPeak::getPeakNum
int getPeakNum() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:21
HoughPeak::getRho
double getRho() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:25
HoughPeak::peakHeight
int peakHeight() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:20
HoughPeak::print
void print()
HoughPeak::getThetaBin
int getThetaBin() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:22
std
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/RootEventData_rootcint.cxx:16
source
InstallArea
include
MdcHoughFinder
MdcHoughFinder
HoughPeak.h
Generated by
1.9.6