|
FairRoot/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 |
Private Member Functions | |
| ClassDef (PndFtsHoughSpacePeak, 1) | |
Private Attributes | |
| std::set< Int_t > | fBins |
| std::set< Int_t > | fHitIds |
| Int_t | fHeight |
| Bool_t | fFinished |
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 30 of file PndFtsHoughSpacePeak.h.
| PndFtsHoughSpacePeak::PndFtsHoughSpacePeak | ( | Int_t | height = noVal, |
| Int_t | firstBin = noVal, |
||
| Int_t | firstHitIdx = noVal |
||
| ) |
Definition at line 8 of file PndFtsHoughSpacePeak.cxx.
References addBin(), and noVal.
| PndFtsHoughSpacePeak::~PndFtsHoughSpacePeak | ( | ) |
Definition at line 18 of file PndFtsHoughSpacePeak.cxx.
|
inline |
Definition at line 64 of file PndFtsHoughSpacePeak.h.
References fBins, and fHitIds.
Referenced by PndFtsHoughSpace::FindAllPeaksScanPathsMergeBins(), PndFtsHoughSpacePeak(), and replaceBins().
|
inline |
Definition at line 83 of file PndFtsHoughSpacePeak.h.
References fBins, and getBins().
|
private |
|
inline |
Definition at line 47 of file PndFtsHoughSpacePeak.h.
References fBins.
Referenced by binsOverlapWith(), and mergeWith().
|
inline |
Definition at line 45 of file PndFtsHoughSpacePeak.h.
References fHeight.
Referenced by PndFtsHoughSpace::FindAllPeaksScanPathsMergeBins().
|
inline |
Definition at line 48 of file PndFtsHoughSpacePeak.h.
References fHitIds.
Referenced by mergeWith().
|
inline |
Definition at line 44 of file PndFtsHoughSpacePeak.h.
References fFinished.
Referenced by PndFtsHoughSpace::FindAllPeaksScanPathsMergeBins().
|
inline |
Definition at line 94 of file PndFtsHoughSpacePeak.h.
References fBins, fHitIds, getBins(), and getHitIds().
|
inline |
Definition at line 69 of file PndFtsHoughSpacePeak.h.
References addBin(), fHeight, and resetBins().
Referenced by PndFtsHoughSpace::FindAllPeaksScanPathsMergeBins().
|
inline |
Definition at line 76 of file PndFtsHoughSpacePeak.h.
References fBins, fFinished, fHeight, fHitIds, and noVal.
Referenced by replaceBins().
|
inline |
Definition at line 42 of file PndFtsHoughSpacePeak.h.
References fFinished.
Referenced by PndFtsHoughSpace::FindAllPeaksScanPathsMergeBins().
|
private |
Definition at line 55 of file PndFtsHoughSpacePeak.h.
Referenced by addBin(), binsOverlapWith(), getBins(), mergeWith(), and resetBins().
|
private |
Definition at line 58 of file PndFtsHoughSpacePeak.h.
Referenced by isFinished(), resetBins(), and setFinished().
|
private |
Definition at line 57 of file PndFtsHoughSpacePeak.h.
Referenced by getHeight(), replaceBins(), and resetBins().
|
private |
Definition at line 56 of file PndFtsHoughSpacePeak.h.
Referenced by addBin(), getHitIds(), mergeWith(), and resetBins().
|
static |
Definition at line 32 of file PndFtsHoughSpacePeak.h.
Referenced by PndFtsHoughSpacePeak(), and resetBins().
1.8.5