AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONVRawStreamTracker Class Referenceabstract

This class is the base class for raw stream decoders than need to deal with raw data coming from the muon tracking chambers. More...

#include <AliMUONVRawStreamTracker.h>

Inheritance diagram for AliMUONVRawStreamTracker:

Public Types

enum  rawStreamTrackerError { kGlitchErr = 1, kPaddingWordErr = 2, kParityErr = 3 }
 error numbers More...
 

Public Member Functions

 AliMUONVRawStreamTracker ()
 Default constructor. More...
 
 AliMUONVRawStreamTracker (AliRawReader *rawReader)
 Constructor setting the raw reader. More...
 
virtual ~AliMUONVRawStreamTracker ()
 Default destructor. More...
 
virtual Bool_t Next (Int_t &busPatchId, UShort_t &manuId, UChar_t &manuChannel, UShort_t &adc)=0
 Advance one step in the iteration. Returns false if finished. More...
 
virtual AliMUONDDLTrackerGetDDLTracker () const =0
 Return pointer to DDL payload object. More...
 
virtual Int_t GetMaxBlock () const =0
 Return maximum number of blocks per DDL allowed. More...
 
virtual Int_t GetMaxDsp () const =0
 Return maximum number of Dsp per block allowed. More...
 
virtual Int_t GetMaxBus () const =0
 Return maximum number of Buspatch per Dsp allowed. More...
 
virtual void SetMaxBlock (Int_t blk)=0
 Set maximum number of blocks per DDL allowed. More...
 
virtual void SetMaxDsp (Int_t dsp)=0
 Set maximum number of Dsp per block allowed. More...
 
virtual void SetMaxBus (Int_t bus)=0
 Set maximum number of Buspatch per Dsp allowed. More...
 
virtual Int_t GetDDL () const =0
 Return number of the current DDL. More...
 
virtual Bool_t IsErrorMessage () const =0
 check error/Warning presence More...
 
- Public Member Functions inherited from AliMUONRawStream
 AliMUONRawStream ()
 
 AliMUONRawStream (AliRawReader *rawReader)
 
virtual ~AliMUONRawStream ()
 
virtual void First ()
 Initialize iterator. More...
 
virtual Bool_t NextDDL ()=0
 DDL iterator. More...
 
virtual Bool_t IsDone () const
 Whether the iteration is finished or not. More...
 
virtual void AddErrorMessage ()=0
 add error message into error logger More...
 
virtual void SetReader (AliRawReader *rawReader)
 Set object for reading the raw data. More...
 
virtual AliRawReader * GetReader ()
 Get object for reading the raw data. More...
 
virtual void EnabbleErrorLogger ()
 Enable error info logger. More...
 
virtual Bool_t IsErrorLogger () const
 Check if error info logger enable. More...
 
virtual void Swap (UInt_t *buffer, Int_t size) const
 swap method for Power PC More...
 

Static Public Member Functions

static Int_t GetMaxDDL ()
 Return maximum number of DDLs. More...
 

Static Protected Attributes

static const Int_t fgkMaxDDL = 20
 ! maximum number of DDLs More...
 

Private Member Functions

 AliMUONVRawStreamTracker (const AliMUONVRawStreamTracker &stream)
 Not implemented. More...
 
AliMUONVRawStreamTrackeroperator= (const AliMUONVRawStreamTracker &stream)
 Not implemented. More...
 

Detailed Description

This class is the base class for raw stream decoders than need to deal with raw data coming from the muon tracking chambers.

The classes that derive from this abstract class should loops over all MUON digits in the raw data given by the AliRawReader. The Next methods should be overridden so that they step through the all the digits and return kFALSE or zero when done. kTRUE or the number of digits decoded should be returned if any digits were actually found.

Author
Artur Szostak artur.nosp@m.sz@i.nosp@m.afric.nosp@m.a.co.nosp@m.m

Definition at line 20 of file AliMUONVRawStreamTracker.h.

Member Enumeration Documentation

error numbers

Enumerator
kGlitchErr 

glitch error

kPaddingWordErr 

padding word error

kParityErr 

parity error

Definition at line 65 of file AliMUONVRawStreamTracker.h.

Constructor & Destructor Documentation

AliMUONVRawStreamTracker::AliMUONVRawStreamTracker ( )

Default constructor.

Default constructor.

Definition at line 50 of file AliMUONVRawStreamTracker.cxx.

AliMUONVRawStreamTracker::AliMUONVRawStreamTracker ( AliRawReader *  rawReader)

Constructor setting the raw reader.

Constructor with AliRawReader as argument.

Definition at line 58 of file AliMUONVRawStreamTracker.cxx.

AliMUONVRawStreamTracker::~AliMUONVRawStreamTracker ( )
virtual

Default destructor.

Default destructor.

Definition at line 67 of file AliMUONVRawStreamTracker.cxx.

AliMUONVRawStreamTracker::AliMUONVRawStreamTracker ( const AliMUONVRawStreamTracker stream)
private

Not implemented.

Member Function Documentation

virtual Int_t AliMUONVRawStreamTracker::GetDDL ( ) const
pure virtual

Return number of the current DDL.

Implemented in AliMUONRawStreamTracker.

virtual AliMUONDDLTracker* AliMUONVRawStreamTracker::GetDDLTracker ( ) const
pure virtual

Return pointer to DDL payload object.

Implemented in AliMUONRawStreamTracker.

virtual Int_t AliMUONVRawStreamTracker::GetMaxBlock ( ) const
pure virtual

Return maximum number of blocks per DDL allowed.

Implemented in AliMUONRawStreamTracker.

virtual Int_t AliMUONVRawStreamTracker::GetMaxBus ( ) const
pure virtual

Return maximum number of Buspatch per Dsp allowed.

Implemented in AliMUONRawStreamTracker.

static Int_t AliMUONVRawStreamTracker::GetMaxDDL ( )
inlinestatic

Return maximum number of DDLs.

Definition at line 42 of file AliMUONVRawStreamTracker.h.

virtual Int_t AliMUONVRawStreamTracker::GetMaxDsp ( ) const
pure virtual

Return maximum number of Dsp per block allowed.

Implemented in AliMUONRawStreamTracker.

virtual Bool_t AliMUONVRawStreamTracker::IsErrorMessage ( ) const
pure virtual

check error/Warning presence

Implemented in AliMUONRawStreamTracker.

virtual Bool_t AliMUONVRawStreamTracker::Next ( Int_t &  busPatchId,
UShort_t &  manuId,
UChar_t &  manuChannel,
UShort_t &  adc 
)
pure virtual

Advance one step in the iteration. Returns false if finished.

Implemented in AliMUONRawStreamTracker.

AliMUONVRawStreamTracker& AliMUONVRawStreamTracker::operator= ( const AliMUONVRawStreamTracker stream)
private

Not implemented.

virtual void AliMUONVRawStreamTracker::SetMaxBlock ( Int_t  blk)
pure virtual

Set maximum number of blocks per DDL allowed.

Implemented in AliMUONRawStreamTracker.

virtual void AliMUONVRawStreamTracker::SetMaxBus ( Int_t  bus)
pure virtual

Set maximum number of Buspatch per Dsp allowed.

Implemented in AliMUONRawStreamTracker.

virtual void AliMUONVRawStreamTracker::SetMaxDsp ( Int_t  dsp)
pure virtual

Set maximum number of Dsp per block allowed.

Implemented in AliMUONRawStreamTracker.

Member Data Documentation

const Int_t AliMUONVRawStreamTracker::fgkMaxDDL = 20
staticprotected

! maximum number of DDLs

Definition at line 74 of file AliMUONVRawStreamTracker.h.

Referenced by GetMaxDDL(), AliMUONRawStreamTracker::GetNextDDL(), and AliMUONRawStreamTracker::NextDDL().


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