BOSS
7.0.5
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 <string>
6
#include "MdcHoughFinder/HoughHit.h"
7
#include "MdcHoughFinder/HoughHitList.h"
8
9
using namespace
std
;
10
11
class
HoughPeak
{
12
public
:
13
HoughPeak
();
14
HoughPeak
(
const
HoughPeak
& other);
15
~HoughPeak
();
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
();
35
HoughPeak
&
operator=
(
const
HoughPeak
& other);
36
int
collectHits
(
const
HoughHitList
& );
37
38
39
private
:
40
//class member
41
double
_theta;
42
double
_rho;
43
int
_thetaBin;
44
int
_rhoBin;
45
vector<const HoughHit*> _houghPeakHitList;
46
bool
_isCandiTrack;
47
int
_peakNum;
48
int
_height;
49
int
_charge;
50
};
51
52
#endif
HoughHitList
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughHitList.h:13
HoughPeak
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:11
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:25
HoughPeak::getRhoBin
int getRhoBin() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:24
HoughPeak::getRho_reci
double getRho_reci() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:27
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:29
HoughPeak::printAllHit
void printAllHit() const
Definition:
HoughPeak.cxx:91
HoughPeak::getisCandiTrack
bool getisCandiTrack() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:28
HoughPeak::collectHits
int collectHits(const HoughHitList &)
Definition:
HoughPeak.cxx:179
HoughPeak::getHoughHitList
vector< const HoughHit * > getHoughHitList() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:20
HoughPeak::getHitNumA
int getHitNumA(int) const
Definition:
HoughPeak.cxx:128
HoughPeak::getPeakNum
int getPeakNum() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:22
HoughPeak::getRho
double getRho() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:26
HoughPeak::peakHeight
int peakHeight() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:21
HoughPeak::print
void print()
HoughPeak::getThetaBin
int getThetaBin() const
Definition:
InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughPeak.h:23
std
Definition:
Event/RootEventData/RootEventData-00-03-81/RootEventData/RootEventData_rootcint.cxx:16
charge
float charge
Definition:
prepare_data.cxx:28
source
InstallArea
include
MdcHoughFinder
MdcHoughFinder
HoughPeak.h
Generated by
1.9.6