AliRoot Core  3dc7879 (3dc7879)
AliSimDigits Class Reference

#include <AliSimDigits.h>

Inheritance diagram for AliSimDigits:

Public Member Functions

 AliSimDigits ()
 
 AliSimDigits (const AliSimDigits &param)
 
AliSimDigitsoperator= (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)
 
AliH2FDrawTracks (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 ()
 
- Public Member Functions inherited from AliDigits
 AliDigits ()
 
 AliDigits (const AliDigits &digits)
 
AliDigitsoperator= (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)
 
AliH2FGenerHisto ()
 
AliH2FDrawDigits (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)
 
- Public Member Functions inherited from AliSegmentID
 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

- Protected Member Functions inherited from AliDigits
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 inherited from AliDigits
Int_t fNrows
 number of rows in Segment More...
 
Int_t fNcols
 number of collumns in Segment More...
 
- Protected Attributes inherited from AliSegmentID
Int_t fSegmentID
 

Detailed Description

Alice segment manager object AliSimDigits object (derived from AliDigits) provide additional track information to digit

Author
Marian Ivanov GSI Darmstadt

Manager class generaol Alice segment digits segment is for example one pad row in TPC

Definition at line 21 of file AliSimDigits.h.

Constructor & Destructor Documentation

AliSimDigits::AliSimDigits ( )

Definition at line 43 of file AliSimDigits.cxx.

AliSimDigits::AliSimDigits ( const AliSimDigits param)

dummy

Definition at line 55 of file AliSimDigits.cxx.

AliSimDigits::~AliSimDigits ( )
virtual

Definition at line 67 of file AliSimDigits.cxx.

Member Function Documentation

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().

void AliSimDigits::CompresTrackBuffer ( Int_t  bufType)
virtual

compres buffer according buffertype algorithm

Definition at line 140 of file AliSimDigits.cxx.

Referenced by GetTracks(), and TestSimDigits().

void AliSimDigits::CompresTrackBuffer1 ( )
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(), and GetTracks().

void AliSimDigits::CompresTrackBuffer2 ( )
private

comress track according algorithm 2 (track id comression according digit compression)

Definition at line 347 of file AliSimDigits.cxx.

Referenced by CompresTrackBuffer(), and GetTracks().

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 
)

draw digits in given array

make digits histo

Definition at line 364 of file AliSimDigits.cxx.

Referenced by GetTracks().

void AliSimDigits::ExpandTrackBuffer ( )
virtual

expand buffer to two dimensional array

Definition at line 126 of file AliSimDigits.cxx.

Referenced by CompresTrackBuffer(), DrawTracks(), GetTracks(), good_tracks(), TestSDigitsDig1(), TestSDigitsDig2(), and TestSimDigits().

void AliSimDigits::ExpandTrackBuffer1 ( )
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(), and GetTracks().

void AliSimDigits::ExpandTrackBuffer2 ( )
private

comress track according algorithm 2 (track id comression according digit compression)

Definition at line 340 of file AliSimDigits.cxx.

Referenced by ExpandTrackBuffer(), and GetTracks().

Int_t AliSimDigits::GetTrackID ( Int_t  row,
Int_t  column,
Int_t  level 
)
virtual
Int_t AliSimDigits::GetTrackID1 ( Int_t  row,
Int_t  column,
Int_t  level 
)
private

return track ID of digits - for buffer compresion 2

Definition at line 162 of file AliSimDigits.cxx.

Referenced by GetTrackID(), and GetTracks().

Int_t AliSimDigits::GetTrackID2 ( Int_t  row,
Int_t  column,
Int_t  level 
)
private

returnb track id of digits - for buffer compresion 2

Definition at line 355 of file AliSimDigits.cxx.

Referenced by GetTrackID(), and GetTracks().

Int_t AliSimDigits::GetTrackIDFast ( Int_t  row,
Int_t  column,
Int_t  level 
)
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(), GetTracks(), good_tracks(), TestSDigitsDig2(), and TestSimDigits().

Int_t* AliSimDigits::GetTracks ( )
inline

Definition at line 28 of file AliSimDigits.h.

void AliSimDigits::GlitchFilter ( )

glitch filter, optionally

Definition at line 394 of file AliSimDigits.cxx.

Referenced by GetTracks().

void AliSimDigits::InvalidateTrack ( )
private

set default (invalid parameters)

Definition at line 89 of file AliSimDigits.cxx.

Referenced by AllocateTrack(), and GetTracks().

AliSimDigits & AliSimDigits::operator= ( const AliSimDigits digits)

assignment operator - dummy

Definition at line 78 of file AliSimDigits.cxx.

void AliSimDigits::SetTrackIDFast ( Int_t  value,
Int_t  row,
Int_t  column,
Int_t  level 
)
inline

Definition at line 69 of file AliSimDigits.h.

Referenced by GetTracks(), GlitchFilter(), and TestSimDigits().

Member Data Documentation

Int_t AliSimDigits::fNlevel
private

number of tracks etries for one digit

Definition at line 51 of file AliSimDigits.h.

Referenced by AllocateTrack(), CompresTrackBuffer1(), ExpandTrackBuffer1(), and SetTrackIDFast().

TArrayI* AliSimDigits::fTracks
private
Int_t AliSimDigits::fTrBufType
private
TArrayI* AliSimDigits::fTrIndex
private

The documentation for this class was generated from the following files: