FairRoot/PandaRoot
PndFtsHoughSpacePeak.cxx
Go to the documentation of this file.
1 #include "PndFtsHoughSpacePeak.h"
2 
3 #include <iostream>
4 
5 
7 
8 PndFtsHoughSpacePeak::PndFtsHoughSpacePeak( Int_t height, Int_t firstBin, Int_t firstHitIdx )
9 :
10  fHeight(height),
11  fFinished(kFALSE)
12 {
13  // warn if not all values were set
14  if ( noVal == firstHitIdx ) std::cout << "WARNING FROM PndFtsHoughSpacePeak, not all values set in initialisation!\n";
15  addBin(firstBin, firstHitIdx);
16 }
17 
19 {
20 }
21 
22 
Class for saving peaks of a Hough space.
PndFtsHoughSpacePeak(Int_t height=noVal, Int_t firstBin=noVal, Int_t firstHitIdx=noVal)
static const Int_t noVal
ClassImp(PndFtsHoughSpacePeak)
void addBin(Int_t binNumber, Int_t hitIdx)