#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-03-06/HoughTransform/IslandsTH2.h"
Public Member Functions | |
IslandsTH2 (const char *n, const char *t, const TH2 *h, double q, bool wrapx, bool wrapy) | |
unsigned int | Nislands () const |
void | LabelIslands (const TH2 *h) |
Private Member Functions | |
void | Mark (const TH2 *h, int i, int j, int isl_indx, double th) |
int | Neighbor (int i, int d, int imx, bool wrap) |
Private Attributes | |
double | fPco |
Number of sigma above average peak height to use for peak threshold. More... | |
bool | fWrapX |
Wrap around the x boundaries? More... | |
bool | fWrapY |
Wrap around the y boundaries? More... | |
int | fNx |
Number of bins along x. More... | |
int | fNy |
Number of bins along y. More... | |
unsigned int | fNislands |
Number of islands found. More... | |
Definition at line 12 of file IslandsTH2.h.
hough::IslandsTH2::IslandsTH2 | ( | const char * | n, |
const char * | t, | ||
const TH2 * | h, | ||
double | q, | ||
bool | wrapx, | ||
bool | wrapy | ||
) |
Definition at line 13 of file IslandsTH2.cxx.
void hough::IslandsTH2::LabelIslands | ( | const TH2 * | h | ) |
Definition at line 37 of file IslandsTH2.cxx.
References a, b, fNislands, fNx, fNy, fPco, MECModelEnuComparisons::i, calib::j, Mark(), genie::units::nb, and std::sqrt().
Referenced by hough::Hough2P::FindPeaks(), and Nislands().
Definition at line 96 of file IslandsTH2.cxx.
References fNx, fNy, fWrapX, fWrapY, m, getGoodRuns4SAM::n, Neighbor(), and SetBinContent().
Referenced by LabelIslands(), and Nislands().
Definition at line 80 of file IslandsTH2.cxx.
References m, and getGoodRuns4SAM::n.
Referenced by Mark(), and Nislands().
|
inline |
Definition at line 20 of file IslandsTH2.h.
References d, fNislands, MECModelEnuComparisons::i, calib::j, LabelIslands(), Mark(), and Neighbor().
Referenced by hough::Hough2P::FindPeaks().
|
private |
Number of islands found.
Definition at line 31 of file IslandsTH2.h.
Referenced by LabelIslands(), and Nislands().
|
private |
Number of bins along x.
Definition at line 29 of file IslandsTH2.h.
Referenced by LabelIslands(), and Mark().
|
private |
Number of bins along y.
Definition at line 30 of file IslandsTH2.h.
Referenced by LabelIslands(), and Mark().
|
private |
Number of sigma above average peak height to use for peak threshold.
Definition at line 26 of file IslandsTH2.h.
Referenced by LabelIslands().
|
private |
|
private |