![]() |
AliRoot Core
a565103 (a565103)
|
#include <AliSimDigits.h>
Public Member Functions | |
AliSimDigits () | |
AliSimDigits (const AliSimDigits ¶m) | |
AliSimDigits & | operator= (const AliSimDigits &digits) |
virtual | ~AliSimDigits () |
void | AllocateTrack (Int_t length) |
Int_t * | GetTracks () |
Int_t | GetTrackIDFast (Int_t row, Int_t column, Int_t level) |
void | SetTrackIDFast (Int_t value, Int_t row, Int_t column, Int_t level) |
virtual Int_t | GetTrackID (Int_t row, Int_t column, Int_t level) |
virtual void | ExpandTrackBuffer () |
virtual void | CompresTrackBuffer (Int_t bufType) |
AliH2F * | DrawTracks (const char *option=0, Int_t level=0, Float_t x1=-1, Float_t x2=-1, Float_t y1=-1, Float_t y2=-1) |
void | GlitchFilter () |
![]() | |
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) |
Private Member Functions | |
void | InvalidateTrack () |
Int_t | GetTrackID1 (Int_t row, Int_t column, Int_t level) |
void | ExpandTrackBuffer1 () |
void | CompresTrackBuffer1 () |
Int_t | GetTrackID2 (Int_t row, Int_t column, Int_t level) |
void | ExpandTrackBuffer2 () |
void | CompresTrackBuffer2 () |
Private Attributes | |
TArrayI * | fTracks |
buffer of track index More... | |
TArrayI * | fTrIndex |
index position of column More... | |
Int_t | fNlevel |
number of tracks etries for one digit More... | |
Int_t | fTrBufType |
buffer type of the tracks More... | |
Additional Inherited Members | |
![]() | |
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) |
![]() | |
Int_t | fNrows |
number of rows in Segment More... | |
Int_t | fNcols |
number of collumns in Segment More... | |
![]() | |
Int_t | fSegmentID |
Alice segment manager object AliSimDigits object (derived from AliDigits) provide additional track information to digit
Manager class generaol Alice segment digits segment is for example one pad row in TPC
Definition at line 21 of file AliSimDigits.h.
AliSimDigits::AliSimDigits | ( | ) |
Definition at line 43 of file AliSimDigits.cxx.
AliSimDigits::AliSimDigits | ( | const AliSimDigits & | param | ) |
dummy
Definition at line 55 of file AliSimDigits.cxx.
|
virtual |
Definition at line 67 of file AliSimDigits.cxx.
void AliSimDigits::AllocateTrack | ( | Int_t | length | ) |
construct empty buffer fElements and fTracks with size fNrows x fNcols x length
Definition at line 104 of file AliSimDigits.cxx.
Referenced by TestSimDigits().
|
virtual |
compres buffer according buffertype algorithm
Definition at line 140 of file AliSimDigits.cxx.
Referenced by TestSimDigits().
|
private |
comress track according algorithm 1 (track id comression independent to the digit compression)
Definition at line 247 of file AliSimDigits.cxx.
Referenced by CompresTrackBuffer().
|
private |
comress track according algorithm 2 (track id comression according digit compression)
Definition at line 347 of file AliSimDigits.cxx.
Referenced by CompresTrackBuffer().
AliH2F * AliSimDigits::DrawTracks | ( | const char * | option = 0 , |
Int_t | level = 0 , |
||
Float_t | x1 = -1 , |
||
Float_t | x2 = -1 , |
||
Float_t | y1 = -1 , |
||
Float_t | y2 = -1 |
||
) |
|
virtual |
expand buffer to two dimensional array
Definition at line 126 of file AliSimDigits.cxx.
Referenced by CompresTrackBuffer(), DrawTracks(), good_tracks(), TestSDigitsDig1(), TestSDigitsDig2(), and TestSimDigits().
|
private |
expand track compressed according algorithm 1 (track id comression independent to the digit compression) !!in expanded tracks we don't use fTrIndex array
Definition at line 202 of file AliSimDigits.cxx.
Referenced by ExpandTrackBuffer().
|
private |
comress track according algorithm 2 (track id comression according digit compression)
Definition at line 340 of file AliSimDigits.cxx.
Referenced by ExpandTrackBuffer().
|
virtual |
Get track ID
Definition at line 116 of file AliSimDigits.cxx.
Referenced by AliTPCDisplayDigits(), GoodTracksTPC(), TestSimDigits(), and TPCFindGenTracks::TreeDLoop().
|
private |
return track ID of digits - for buffer compresion 2
Definition at line 162 of file AliSimDigits.cxx.
Referenced by GetTrackID().
|
private |
returnb track id of digits - for buffer compresion 2
Definition at line 355 of file AliSimDigits.cxx.
Referenced by GetTrackID().
|
inline |
return track ID at given row and column return fTracks[level].At(fTrIndex[level][column]+row);
Definition at line 61 of file AliSimDigits.h.
Referenced by DrawTracks(), GetTrackID(), good_tracks(), TestSDigitsDig2(), and TestSimDigits().
|
inline |
Definition at line 28 of file AliSimDigits.h.
void AliSimDigits::GlitchFilter | ( | ) |
glitch filter, optionally
Definition at line 394 of file AliSimDigits.cxx.
|
private |
set default (invalid parameters)
Definition at line 89 of file AliSimDigits.cxx.
Referenced by AllocateTrack().
AliSimDigits & AliSimDigits::operator= | ( | const AliSimDigits & | digits | ) |
assignment operator - dummy
Definition at line 78 of file AliSimDigits.cxx.
|
inline |
Definition at line 69 of file AliSimDigits.h.
Referenced by GlitchFilter(), and TestSimDigits().
|
private |
number of tracks etries for one digit
Definition at line 51 of file AliSimDigits.h.
Referenced by AllocateTrack(), CompresTrackBuffer1(), ExpandTrackBuffer1(), and SetTrackIDFast().
|
private |
buffer of track index
Definition at line 49 of file AliSimDigits.h.
Referenced by AllocateTrack(), CompresTrackBuffer1(), ExpandTrackBuffer1(), GetTrackID1(), GetTrackIDFast(), GetTracks(), InvalidateTrack(), and ~AliSimDigits().
|
private |
buffer type of the tracks
Definition at line 52 of file AliSimDigits.h.
Referenced by AllocateTrack(), CompresTrackBuffer(), CompresTrackBuffer1(), CompresTrackBuffer2(), ExpandTrackBuffer(), ExpandTrackBuffer1(), ExpandTrackBuffer2(), and GetTrackID().
|
private |
index position of column
Definition at line 50 of file AliSimDigits.h.
Referenced by AliSimDigits(), AllocateTrack(), CompresTrackBuffer1(), ExpandTrackBuffer1(), GetTrackID1(), InvalidateTrack(), operator=(), and ~AliSimDigits().