![]() |
AliRoot Core
edcc906 (edcc906)
|
#include <AliDigits.h>
Public Member Functions | |
AliDigits () | |
AliDigits (const AliDigits &digits) | |
AliDigits & | operator= (const AliDigits &digits) |
virtual | ~AliDigits () |
Short_t * | GetDigits () |
Short_t | GetDigitFast (Int_t row, Int_t column) |
Short_t | GetDigitUnchecked (Int_t row, Int_t column) |
void | SetDigitFast (Short_t value, 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) |
virtual void | Allocate (Int_t rows, Int_t columns) |
virtual Short_t | GetDigit (Int_t row, Int_t column) |
virtual void | ExpandBuffer () |
virtual void | CompresBuffer (Int_t bufferType, Int_t threshold) |
virtual Bool_t | First () |
virtual Bool_t | Next () |
void | SetThreshold (Int_t th) |
Int_t | GetThreshold () |
Int_t | GetNRows () |
Int_t | GetNCols () |
Int_t | CurrentRow () |
Int_t | CurrentColumn () |
Int_t | CurrentDigit () |
void | AcceptHisto (AliH2F *his) |
AliH2F * | GenerHisto () |
AliH2F * | DrawDigits (const char *option=0, Float_t x1=-1, Float_t x2=-1, Float_t y1=-1, Float_t y2=-1) |
Int_t | GetSize () |
Int_t | GetDigitSize () |
Int_t | GetOverTh (Float_t threshold, Float_t x1=-1, Float_t x2=-1, Float_t y1=-1, Float_t y2=-1) |
Short_t * | GetDigitsColumn (Int_t row) |
![]() | |
AliSegmentID () | |
AliSegmentID (Int_t index) | |
Int_t | GetID () |
void | SetID (Int_t index) |
Protected Member Functions | |
virtual void | Invalidate () |
void | ExpandBuffer1 () |
void | CompresBuffer1 () |
Bool_t | First0 () |
Bool_t | Next0 () |
Bool_t | First1 () |
Bool_t | Next1 () |
Short_t | GetDigit1 (Int_t row, Int_t column) |
Protected Attributes | |
Int_t | fNrows |
number of rows in Segment More... | |
Int_t | fNcols |
number of collumns in Segment More... | |
![]() | |
Int_t | fSegmentID |
Private Attributes | |
TArrayS * | fElements |
buffer of 2 bytes integers for digits More... | |
TArrayI * | fIndex |
index position of column More... | |
Int_t | fBufType |
type of the buffer - define compression algorithm More... | |
Int_t | fThreshold |
treshold for zero suppresion More... | |
Int_t | fNelems |
total number of elements More... | |
Int_t | fCurrentRow |
! current row iteration More... | |
Int_t | fCurrentCol |
! current column iteration More... | |
Int_t | fCurrentIndex |
! current index in field More... | |
Alice digits array object AliDigits
Manager class generaol Alice segment digits segment is for example one pad row in TPC
Definition at line 18 of file AliDigits.h.
AliDigits::AliDigits | ( | ) |
Definition at line 50 of file AliDigits.cxx.
AliDigits::AliDigits | ( | const AliDigits & | digits | ) |
copy constructor
Definition at line 69 of file AliDigits.cxx.
|
virtual |
default destructor
Definition at line 111 of file AliDigits.cxx.
void AliDigits::AcceptHisto | ( | AliH2F * | his | ) |
make digits buffer with value according histograms values for testing purpose
Definition at line 289 of file AliDigits.cxx.
Referenced by CurrentDigit().
|
virtual |
construct empty buffer fDigits with size rows x columns
Definition at line 153 of file AliDigits.cxx.
Referenced by AcceptHisto(), AliTPCDigitsArray::CreateRow(), GetDigits(), and TestSimDigits().
|
inline |
|
virtual |
compres buffer according buffertype algorithm
Definition at line 251 of file AliDigits.cxx.
Referenced by GetDigits().
|
protected |
compres buffer according algorithm 1
Definition at line 377 of file AliDigits.cxx.
Referenced by CompresBuffer(), and CurrentDigit().
|
inline |
Definition at line 41 of file AliDigits.h.
Referenced by AliTPCAltro(), AliTPCDisplayDigits(), GetOverTh(), good_tracks(), GoodTracksTPC(), and TPCFindGenTracks::TreeDLoop().
|
inline |
Definition at line 42 of file AliDigits.h.
Referenced by AliTPCAltro(), GetOverTh(), good_tracks(), AliTPCQADataMakerRec::MakeDigits(), and TPCFindGenTracks::TreeDLoop().
|
inline |
Definition at line 40 of file AliDigits.h.
Referenced by AliTPCAltro(), AliTPCDisplayDigits(), GetOverTh(), good_tracks(), GoodTracksTPC(), and TPCFindGenTracks::TreeDLoop().
AliH2F * AliDigits::DrawDigits | ( | const char * | option = 0 , |
Float_t | x1 = -1 , |
||
Float_t | x2 = -1 , |
||
Float_t | y1 = -1 , |
||
Float_t | y2 = -1 |
||
) |
draw digits in given array
Definition at line 328 of file AliDigits.cxx.
Referenced by CurrentDigit(), and drawmerged().
|
virtual |
expand buffer to two dimensional array
Definition at line 235 of file AliDigits.cxx.
Referenced by CompresBuffer(), drawd(), GenerHisto(), GetDigits(), test1(), test3(), test4(), test5(), TestSDigitsDig1(), and TestSDigitsDig2().
|
protected |
expand buffer of type to twodimensional array
Definition at line 344 of file AliDigits.cxx.
Referenced by CurrentDigit(), and ExpandBuffer().
|
virtual |
adjust first valid current digit
Definition at line 271 of file AliDigits.cxx.
Referenced by AliTPCAltro(), AliTPCDisplayDigits(), GetDigits(), GetOverTh(), good_tracks(), GoodTracksTPC(), AliTPCQADataMakerRec::MakeDigits(), and TPCFindGenTracks::TreeDLoop().
|
protected |
first for the buffer type 0
Definition at line 428 of file AliDigits.cxx.
Referenced by CurrentDigit(), and First().
|
protected |
first for the buffer type 1
Definition at line 461 of file AliDigits.cxx.
Referenced by CurrentDigit(), and First().
AliH2F * AliDigits::GenerHisto | ( | ) |
make digits histo
Definition at line 310 of file AliDigits.cxx.
Referenced by CurrentDigit(), and DrawDigits().
|
virtual |
return digit for given row and collumn
Definition at line 224 of file AliDigits.cxx.
Referenced by AliTPCDisplayDigits(), GetDigits(), and GoodTracksTPC().
|
protected |
return digit for given row and column the buffer type 1 no control performed
Definition at line 509 of file AliDigits.cxx.
Referenced by CurrentDigit(), and GetDigit().
|
inline |
return digit from fDigits array if out of range return dummy value ( value at row = 0, collumn = 0)
Definition at line 92 of file AliDigits.h.
Referenced by drawd(), GenerHisto(), GetDigit(), GetDigits(), AliSimDigits::GlitchFilter(), test1(), test3(), test4(), test5(), TestSDigitsDig1(), and TestSDigitsDig2().
|
inline |
Definition at line 24 of file AliDigits.h.
|
inline |
return row pointer to the array digits
Definition at line 108 of file AliDigits.h.
Referenced by CurrentDigit().
Int_t AliDigits::GetDigitSize | ( | ) |
return size of PURE DIGITS
Definition at line 190 of file AliDigits.cxx.
Referenced by CurrentDigit().
|
inline |
return digit from fDigits array if out of range return dummy value ( value at row = 0, collumn = 0)
Definition at line 100 of file AliDigits.h.
Referenced by GetDigits().
|
inline |
Definition at line 39 of file AliDigits.h.
Referenced by drawd(), test1(), test3(), test4(), test5(), TestSDigitsDig1(), and TestSDigitsDig2().
|
inline |
Definition at line 38 of file AliDigits.h.
Referenced by drawd(), test1(), test3(), test4(), test5(), TestSDigitsDig1(), and TestSDigitsDig2().
Int_t AliDigits::GetOverTh | ( | Float_t | threshold, |
Float_t | x1 = -1 , |
||
Float_t | x2 = -1 , |
||
Float_t | y1 = -1 , |
||
Float_t | y2 = -1 |
||
) |
return number of digits over threshold
Definition at line 198 of file AliDigits.cxx.
Referenced by CurrentDigit().
Int_t AliDigits::GetSize | ( | ) |
return size of object as represented in the memory
Int_t size = sizeof(this);
Definition at line 177 of file AliDigits.cxx.
Referenced by CurrentDigit().
|
inline |
Definition at line 37 of file AliDigits.h.
|
protectedvirtual |
set default (invalid parameters)
Definition at line 136 of file AliDigits.cxx.
Referenced by Allocate(), CurrentDigit(), and ExpandBuffer1().
|
virtual |
addjust next valid current digit
Definition at line 280 of file AliDigits.cxx.
Referenced by AliTPCAltro(), AliTPCDisplayDigits(), GetDigits(), GetOverTh(), good_tracks(), GoodTracksTPC(), AliTPCQADataMakerRec::MakeDigits(), and TPCFindGenTracks::TreeDLoop().
|
protected |
next for the buffer type 0
Definition at line 444 of file AliDigits.cxx.
Referenced by CurrentDigit(), and Next().
|
protected |
next for the buffer type 1
Definition at line 486 of file AliDigits.cxx.
Referenced by CurrentDigit(), and Next().
assignment operator
Definition at line 93 of file AliDigits.cxx.
Bool_t AliDigits::OutOfBoundsError | ( | const char * | where, |
Int_t | row, | ||
Int_t | column | ||
) |
Generate an out-of-bounds error. Always returns false.
Definition at line 126 of file AliDigits.cxx.
Referenced by BoundsOK(), and GetDigits().
|
inline |
set digit
Definition at line 115 of file AliDigits.h.
Referenced by AcceptHisto(), GetDigits(), and AliSimDigits::GlitchFilter().
|
inline |
Definition at line 36 of file AliDigits.h.
|
private |
type of the buffer - define compression algorithm
Definition at line 68 of file AliDigits.h.
Referenced by AliDigits(), Allocate(), CompresBuffer(), CompresBuffer1(), ExpandBuffer(), First(), GetDigit(), Invalidate(), Next(), and operator=().
|
private |
! current column iteration
Definition at line 72 of file AliDigits.h.
Referenced by CurrentColumn(), First0(), First1(), Next0(), and Next1().
|
private |
! current index in field
Definition at line 73 of file AliDigits.h.
Referenced by CurrentDigit(), First0(), First1(), Next0(), and Next1().
|
private |
! current row iteration
Definition at line 71 of file AliDigits.h.
Referenced by CurrentRow(), First0(), First1(), Next0(), and Next1().
|
private |
buffer of 2 bytes integers for digits
Definition at line 66 of file AliDigits.h.
Referenced by AliDigits(), Allocate(), CompresBuffer1(), CurrentDigit(), ExpandBuffer1(), First0(), First1(), GetDigit1(), GetDigitFast(), GetDigits(), GetDigitsColumn(), GetDigitSize(), GetDigitUnchecked(), GetOverTh(), GetSize(), Invalidate(), Next0(), Next1(), operator=(), and ~AliDigits().
|
private |
index position of column
Definition at line 67 of file AliDigits.h.
Referenced by AliDigits(), Allocate(), ExpandBuffer1(), GetDigit1(), GetDigitFast(), GetDigitsColumn(), GetDigitUnchecked(), GetSize(), Invalidate(), operator=(), SetDigitFast(), and ~AliDigits().
|
protected |
number of collumns in Segment
Definition at line 64 of file AliDigits.h.
Referenced by AliDigits(), Allocate(), AliSimDigits::AllocateTrack(), BoundsOK(), CompresBuffer1(), AliSimDigits::CompresTrackBuffer1(), AliSimDigits::DrawTracks(), ExpandBuffer1(), AliSimDigits::ExpandTrackBuffer1(), GenerHisto(), GetDigit1(), GetNCols(), GetOverTh(), AliSimDigits::GetTrackID1(), AliSimDigits::GetTrackIDFast(), AliSimDigits::GlitchFilter(), Invalidate(), operator=(), OutOfBoundsError(), SetDigitFast(), and AliSimDigits::SetTrackIDFast().
|
private |
total number of elements
Definition at line 70 of file AliDigits.h.
Referenced by AliDigits(), Allocate(), BoundsOK(), CompresBuffer1(), ExpandBuffer1(), First0(), First1(), GetDigit1(), Invalidate(), Next0(), Next1(), and operator=().
|
protected |
number of rows in Segment
Definition at line 63 of file AliDigits.h.
Referenced by AliDigits(), Allocate(), AliSimDigits::AllocateTrack(), CompresBuffer1(), AliSimDigits::CompresTrackBuffer1(), AliSimDigits::DrawTracks(), ExpandBuffer1(), AliSimDigits::ExpandTrackBuffer1(), First0(), First1(), GenerHisto(), GetNRows(), GetOverTh(), AliSimDigits::GetTrackIDFast(), AliSimDigits::GlitchFilter(), Invalidate(), Next0(), Next1(), operator=(), OutOfBoundsError(), SetDigitFast(), and AliSimDigits::SetTrackIDFast().
|
private |
treshold for zero suppresion
Definition at line 69 of file AliDigits.h.
Referenced by AliDigits(), CompresBuffer(), CompresBuffer1(), First0(), First1(), GetThreshold(), Next0(), Next1(), operator=(), and SetThreshold().