![]() |
PandaRoot
|
#include <PndHoughSpace.h>
Public Member Functions | |
PndHoughSpace () | |
virtual | ~PndHoughSpace () |
virtual void | SetNBins1 (double n) |
Sets the number of bins in x direction of the Hough space. More... | |
virtual void | SetNBins2 (double n) |
Sets the number of bins in y direction of the Hough space. More... | |
void | Init () |
Initializes the Hough space. More... | |
TVector3 | GetCircleFromBin (Int_t bin) |
Returns the circle (x, y, r) from a bin in the Hough space. The Hough space is in (r, phi) More... | |
Int_t | GetBin (Int_t binX, Int_t binY) |
Returns a global bin corresponding to the 2d bin set (binX, binY) of the Hough space. More... | |
void | Fill (double x, double y) |
Fills the Hough space with the hit (x, y) More... | |
void | FindMaxima (std::vector< TVector3 > &FoundMaxima) |
Finds all maxima in the Hough space. More... | |
void | clear () |
Clears the Hough space. More... | |
Int_t | GetEntries () |
Returns the number of filled bins in the Hough space. More... | |
std::vector< double > | GetXBorder () |
Returns a vector containing the borders of each bin of the x axis. More... | |
std::vector< double > | GetYBorder () |
Returns a vector containing the borders of each bin of the y axis. More... | |
Definition at line 27 of file PndHoughSpace.h.
PndHoughSpace::PndHoughSpace | ( | ) |
|
inlinevirtual |
Definition at line 32 of file PndHoughSpace.h.
|
inline |
Clears the Hough space.
Definition at line 49 of file PndHoughSpace.h.
Referenced by PndHoughData::clear().
void PndHoughSpace::Fill | ( | double | x, |
double | y | ||
) |
Fills the Hough space with the hit (x, y)
void PndHoughSpace::FindMaxima | ( | std::vector< TVector3 > & | FoundMaxima | ) |
Finds all maxima in the Hough space.
Int_t PndHoughSpace::GetBin | ( | Int_t | binX, |
Int_t | binY | ||
) |
Returns a global bin corresponding to the 2d bin set (binX, binY) of the Hough space.
TVector3 PndHoughSpace::GetCircleFromBin | ( | Int_t | bin | ) |
Returns the circle (x, y, r) from a bin in the Hough space. The Hough space is in (r, phi)
|
inline |
Returns the number of filled bins in the Hough space.
Definition at line 51 of file PndHoughSpace.h.
|
inline |
Returns a vector containing the borders of each bin of the x axis.
Definition at line 53 of file PndHoughSpace.h.
|
inline |
Returns a vector containing the borders of each bin of the y axis.
Definition at line 55 of file PndHoughSpace.h.
void PndHoughSpace::Init | ( | ) |
Initializes the Hough space.
Referenced by PndHoughData::Init().
|
inlinevirtual |
Sets the number of bins in x direction of the Hough space.
Definition at line 35 of file PndHoughSpace.h.
Referenced by PndHoughData::Init().
|
inlinevirtual |
Sets the number of bins in y direction of the Hough space.
Definition at line 37 of file PndHoughSpace.h.
Referenced by PndHoughData::Init().