27 void SetDigitFast(Short_t value,Int_t row, Int_t column);
28 Bool_t
BoundsOK(
const char *where, Int_t row, Int_t col) ;
30 virtual void Allocate(Int_t rows, Int_t columns);
31 virtual Short_t
GetDigit(Int_t row, Int_t column);
34 virtual Bool_t
First();
35 virtual Bool_t
Next();
45 AliH2F *
DrawDigits(
const char *option=0,Float_t x1=-1, Float_t x2=-1, Float_t y1=-1, Float_t y2=-1);
49 Int_t
GetOverTh(Float_t threshold,Float_t x1=-1, Float_t x2=-1, Float_t y1=-1, Float_t y2=-1);
61 Short_t
GetDigit1(Int_t row, Int_t column);
87 Int_t index =(*fIndex).At(col)+row;
119 if ( (row<0) || (row>=
fNrows) || (column<0) || (column>=
fNcols) )
120 Error(
"AliDigits::SetDigitFast",
"row %d col %d out of bounds (size: %d x %d, this: 0x%08lx)",
122 (*fElements)[
fIndex->At(column)+row]=value;
virtual void ExpandBuffer()
Int_t fCurrentRow
! current row iteration
Int_t fNelems
total number of elements
Short_t GetDigitUnchecked(Int_t row, Int_t column)
Bool_t BoundsOK(const char *where, Int_t row, Int_t col)
Bool_t OutOfBoundsError(const char *where, Int_t row, Int_t column)
Int_t GetOverTh(Float_t threshold, Float_t x1=-1, Float_t x2=-1, Float_t y1=-1, Float_t y2=-1)
Int_t fCurrentIndex
! current index in field
Int_t fCurrentCol
! current column iteration
Short_t GetDigitFast(Int_t row, Int_t column)
virtual Short_t GetDigit(Int_t row, Int_t column)
virtual void Allocate(Int_t rows, Int_t columns)
void SetThreshold(Int_t th)
virtual void Invalidate()
void AcceptHisto(AliH2F *his)
void SetDigitFast(Short_t value, Int_t row, Int_t column)
Int_t fThreshold
treshold for zero suppresion
TArrayS * fElements
buffer of 2 bytes integers for digits
Int_t fBufType
type of the buffer - define compression algorithm
Int_t fNrows
number of rows in Segment
Int_t fNcols
number of collumns in Segment
Short_t * GetDigitsColumn(Int_t row)
AliDigits & operator=(const AliDigits &digits)
Short_t GetDigit1(Int_t row, Int_t column)
TArrayI * fIndex
index position of column
virtual void CompresBuffer(Int_t bufferType, Int_t threshold)
AliH2F * DrawDigits(const char *option=0, Float_t x1=-1, Float_t x2=-1, Float_t y1=-1, Float_t y2=-1)