PandaRoot
PndHoughTransformation.h
Go to the documentation of this file.
1
// PndHoughTransformation
3
// Hough transformation based on the apollonius problem
5
16
#ifndef PndHoughTransformation_H_
17
#define PndHoughTransformation_H_
18
19
#include "
PndHoughMultipletCreator.h
"
20
#include "
PndHoughApollonius.h
"
21
#include "
PndHoughSpace.h
"
22
#include "
PndHoughUtilities.h
"
23
#include "
PndHoughData.h
"
24
25
#include <vector>
26
27
class
PndHoughTransformation
{
28
29
public
:
30
PndHoughTransformation
(
PndHoughData
*data)
//: fHoughSpace(data->GetHoughSpace())
31
{
32
fPndHoughMultipletCreator =
new
PndHoughMultipletCreator
();
33
fPndHoughApollonius =
new
PndHoughApollonius
(data);
34
// fPndHoughUtilities = new PndHoughUtilities(data);
35
fData = data;
36
};
37
38
virtual
~PndHoughTransformation
()
39
{
40
delete
fPndHoughMultipletCreator;
41
delete
fPndHoughApollonius;
42
// delete fPndHoughUtilities;
43
};
44
46
vector<TVector3>
FindMaximaWithHoughTransformation
(
PndTrackCand
&trackCand);
48
void
HoughSpace
(
PndTrackCand
&trackCand);
50
TVector3
MaximumSelectiondCandToTrack
(
PndTrackCand
&trackCand, vector<TVector3> &TrackCircleVec);
51
52
virtual
void
SetUtilities
(
PndHoughUtilities
*utilities) { fPndHoughUtilities = utilities; };
53
54
private
:
55
// PndHoughSpace *fHoughSpace = nullptr;
56
PndHoughMultipletCreator
*fPndHoughMultipletCreator =
nullptr
;
57
PndHoughApollonius
*fPndHoughApollonius =
nullptr
;
58
PndHoughUtilities
*fPndHoughUtilities =
nullptr
;
59
PndHoughData
*fData =
nullptr
;
60
61
ClassDef(
PndHoughTransformation
, 1);
62
};
63
64
#endif
/*PndHoughTransformation_H_*/
PndHoughTransformation
Definition:
PndHoughTransformation.h:27
PndHoughTransformation::FindMaximaWithHoughTransformation
vector< TVector3 > FindMaximaWithHoughTransformation(PndTrackCand &trackCand)
Main class of the Hough transformation: the Hough space is filled and the maximum is returned...
PndHoughTransformation::HoughSpace
void HoughSpace(PndTrackCand &trackCand)
Here the Hough space is filled by calcualting all Apollonius circles.
PndHoughData.h
PndHoughSpace.h
PndHoughUtilities.h
PndHoughTransformation::SetUtilities
virtual void SetUtilities(PndHoughUtilities *utilities)
Definition:
PndHoughTransformation.h:52
PndHoughMultipletCreator.h
PndHoughApollonius.h
PndHoughData
Definition:
PndHoughData.h:31
PndHoughMultipletCreator
Definition:
PndHoughMultipletCreator.h:22
PndHoughTransformation::~PndHoughTransformation
virtual ~PndHoughTransformation()
Definition:
PndHoughTransformation.h:38
PndHoughApollonius
Definition:
PndHoughApollonius.h:24
PndHoughTransformation::PndHoughTransformation
PndHoughTransformation(PndHoughData *data)
Definition:
PndHoughTransformation.h:30
PndHoughTransformation::MaximumSelectiondCandToTrack
TVector3 MaximumSelectiondCandToTrack(PndTrackCand &trackCand, vector< TVector3 > &TrackCircleVec)
Selects one maximum of many by choosing the one with the smalles RMS to the track.
PndTrackCand
Definition:
PndTrackCand.h:41
PndHoughUtilities
Definition:
PndHoughUtilities.h:37
home
gitlab-runner
builds
LYZoAKaU
0
PandaRootGroup
PandaRoot
tracking
PndHoughTrackFinder
PndHoughTransformation.h
Generated on Fri Oct 21 2022 07:03:59 for PandaRoot by
1.8.13