![]() |
PandaRoot
|
Class for saving peaks of a Hough space. More...
#include <PndFtsHoughSpacePeak.h>
Public Member Functions | |
PndFtsHoughSpacePeak (Int_t height=noVal, Int_t firstBin=noVal, Int_t firstHitIdx=noVal) | |
~PndFtsHoughSpacePeak () | |
void | resetBins () |
void | replaceBins (Int_t height, Int_t firstBin, Int_t firstHitIdx) |
void | addBin (Int_t binNumber, Int_t hitIdx) |
void | setFinished (Bool_t newVal) |
Bool_t | isFinished () const |
Int_t | getHeight () const |
const std::set< Int_t > & | getBins () const |
const std::set< Int_t > & | getHitIds () const |
Bool_t | binsOverlapWith (const PndFtsHoughSpacePeak &toCheck) |
void | mergeWith (const PndFtsHoughSpacePeak &toAdd) |
Static Public Attributes | |
static const Int_t | noVal = -1 |
Class for saving peaks of a Hough space.
Saves height and globalbin numbers belonging to this peak. TODO Use set/ unordered_set or something else rather than vectors to not store duplicate entries
Created: 25.06.2014
Definition at line 25 of file PndFtsHoughSpacePeak.h.
PndFtsHoughSpacePeak::PndFtsHoughSpacePeak | ( | Int_t | height = noVal , |
Int_t | firstBin = noVal , |
||
Int_t | firstHitIdx = noVal |
||
) |
PndFtsHoughSpacePeak::~PndFtsHoughSpacePeak | ( | ) |
|
inline |
Definition at line 57 of file PndFtsHoughSpacePeak.h.
Referenced by replaceBins().
|
inline |
Definition at line 78 of file PndFtsHoughSpacePeak.h.
References getBins().
Referenced by getHitIds().
|
inline |
Definition at line 42 of file PndFtsHoughSpacePeak.h.
Referenced by binsOverlapWith(), and mergeWith().
|
inline |
Definition at line 40 of file PndFtsHoughSpacePeak.h.
|
inline |
Definition at line 43 of file PndFtsHoughSpacePeak.h.
References binsOverlapWith(), and mergeWith().
Referenced by mergeWith().
|
inline |
Definition at line 39 of file PndFtsHoughSpacePeak.h.
|
inline |
Definition at line 91 of file PndFtsHoughSpacePeak.h.
References getBins(), and getHitIds().
Referenced by getHitIds().
|
inline |
Definition at line 63 of file PndFtsHoughSpacePeak.h.
References addBin(), and resetBins().
|
inline |
Definition at line 70 of file PndFtsHoughSpacePeak.h.
References noVal.
Referenced by replaceBins().
|
inline |
Definition at line 37 of file PndFtsHoughSpacePeak.h.
|
static |
Definition at line 27 of file PndFtsHoughSpacePeak.h.
Referenced by resetBins().