![]() |
AliRoot Core
v5-06-15 (45dab64)
|
Class for reading MUON raw digits. More...
#include <AliMUONRawStreamTracker.h>
Public Types | |
enum | rawStreamTrackerError { kGlitchErr = 1, kPaddingWordErr = 2, kParityErr = 3 } |
error numbers More... | |
![]() | |
enum | rawStreamTrackerError { kGlitchErr = 1, kPaddingWordErr = 2, kParityErr = 3 } |
error numbers More... | |
Public Member Functions | |
AliMUONRawStreamTracker () | |
AliMUONRawStreamTracker (TRootIOCtor *dummy) | |
AliMUONRawStreamTracker (AliRawReader *rawReader) | |
virtual | ~AliMUONRawStreamTracker () |
void | First () |
Initialize iterator. More... | |
AliMUONDDLTracker * | CurrentDDL () const |
Returns current DDL object during iteration. More... | |
AliMUONBlockHeader * | CurrentBlockHeader () const |
Returns current BlockHeader object during iteration. More... | |
AliMUONDspHeader * | CurrentDspHeader () const |
Returns current DspHeader object during iteration. More... | |
AliMUONBusStruct * | CurrentBusStruct () const |
Returns current BusStruct object during iteration. More... | |
virtual Bool_t | Next (Int_t &busPatchId, UShort_t &manuId, UChar_t &manuChannel, UShort_t &adc) |
Advance one step in the iteration. Returns false if finished. More... | |
virtual Bool_t | NextDDL () |
DDL iterator. More... | |
Int_t | GetMaxBlock () const |
Return maximum number of block per DDL in DATE file. More... | |
Int_t | GetMaxDsp () const |
Return maximum number of Dsp per block in DATE file. More... | |
Int_t | GetMaxBus () const |
Return maximum number of Buspatch per Dsp in DATE file. More... | |
void | SetMaxBlock (Int_t blk) |
Set maximum number of blocks per DDL allowed. More... | |
void | SetMaxDsp (Int_t dsp) |
void | SetMaxBus (Int_t bus) |
AliMUONDDLTracker * | GetDDLTracker () const |
Return pointer for DDL. More... | |
Int_t | GetDDL () const |
Return number of DDL. More... | |
Int_t | GetCurentDDL () const |
Return current DDL index. More... | |
AliMUONPayloadTracker * | GetPayLoad () const |
Return pointer for payload. More... | |
Bool_t | IsDone () const |
Whether the iteration is finished or not. More... | |
void | AddErrorMessage () |
add error message into error logger More... | |
void | DisableWarnings () |
Disable Warnings. More... | |
Bool_t | IsErrorMessage () const |
check error/Warning presence More... | |
![]() | |
AliMUONVRawStreamTracker () | |
Default constructor. More... | |
AliMUONVRawStreamTracker (AliRawReader *rawReader) | |
Constructor setting the raw reader. More... | |
virtual | ~AliMUONVRawStreamTracker () |
Default destructor. More... | |
![]() | |
AliMUONRawStream () | |
AliMUONRawStream (AliRawReader *rawReader) | |
virtual | ~AliMUONRawStream () |
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... | |
Private Member Functions | |
AliMUONRawStreamTracker (const AliMUONRawStreamTracker &stream) | |
Not implemented. More... | |
AliMUONRawStreamTracker & | operator= (const AliMUONRawStreamTracker &stream) |
Not implemented. More... | |
Bool_t | GetNextDDL () |
Bool_t | GetNextBlockHeader () |
Bool_t | GetNextDspHeader () |
Bool_t | GetNextBusStruct () |
Private Attributes | |
AliMUONPayloadTracker * | fPayload |
pointer to payload decoder More... | |
AliMUONDDLTracker * | fCurrentDDL |
! for iterator: current ddl ptr More... | |
Int_t | fCurrentDDLIndex |
! for iterator: current ddl index More... | |
AliMUONBlockHeader * | fCurrentBlockHeader |
! for iterator: current block ptr More... | |
Int_t | fCurrentBlockHeaderIndex |
! for iterator: current block index More... | |
AliMUONDspHeader * | fCurrentDspHeader |
! for iterator: current dsp ptr More... | |
Int_t | fCurrentDspHeaderIndex |
! for iterator: current dsp index More... | |
AliMUONBusStruct * | fCurrentBusStruct |
! for iterator: current bus ptr More... | |
Int_t | fCurrentBusStructIndex |
! for iterator: current bus index More... | |
Int_t | fCurrentDataIndex |
! for iterator: current data index More... | |
Int_t | fDDL |
! number of DDL More... | |
Additional Inherited Members | |
![]() | |
static Int_t | GetMaxDDL () |
Return maximum number of DDLs. More... | |
![]() | |
static const Int_t | fgkMaxDDL = 20 |
! maximum number of DDLs More... | |
Class for reading MUON raw digits.
This class provides access to MUON digits in raw data.
It loops over all MUON digits in the raw data given by the AliRawReader. The Next method goes to the next digit. If there are no digits left it returns kFALSE It can loop also over DDL and store the decoded rawdata in TClonesArray in Payload class.
Implement for Tracker
Definition at line 24 of file AliMUONRawStreamTracker.h.
error numbers
Enumerator | |
---|---|
kGlitchErr |
glitch error |
kPaddingWordErr |
padding word error |
kParityErr |
parity error |
Definition at line 95 of file AliMUONRawStreamTracker.h.
AliMUONRawStreamTracker::AliMUONRawStreamTracker | ( | ) |
create an object to read MUON raw digits Default ctor for monitoring purposes
Definition at line 75 of file AliMUONRawStreamTracker.cxx.
AliMUONRawStreamTracker::AliMUONRawStreamTracker | ( | TRootIOCtor * | dummy | ) |
create an object to read MUON raw digits Default ctor with no memory allocation for I/O
Definition at line 54 of file AliMUONRawStreamTracker.cxx.
AliMUONRawStreamTracker::AliMUONRawStreamTracker | ( | AliRawReader * | rawReader | ) |
ctor with AliRawReader as argument for reconstruction purpose
Definition at line 98 of file AliMUONRawStreamTracker.cxx.
|
virtual |
clean up
Definition at line 121 of file AliMUONRawStreamTracker.cxx.
|
private |
Not implemented.
|
virtual |
add error message into error logger
add message into logger of AliRawReader per event
Implements AliMUONRawStream.
Definition at line 434 of file AliMUONRawStreamTracker.cxx.
Referenced by GetNextDDL(), and NextDDL().
|
inline |
Returns current BlockHeader object during iteration.
Definition at line 38 of file AliMUONRawStreamTracker.h.
|
inline |
Returns current BusStruct object during iteration.
Definition at line 44 of file AliMUONRawStreamTracker.h.
|
inline |
Returns current DDL object during iteration.
Definition at line 35 of file AliMUONRawStreamTracker.h.
|
inline |
Returns current DspHeader object during iteration.
Definition at line 41 of file AliMUONRawStreamTracker.h.
|
inline |
Disable Warnings.
Definition at line 89 of file AliMUONRawStreamTracker.h.
|
virtual |
Initialize iterator.
Initialize the iteration process.
Reimplemented from AliMUONRawStream.
Definition at line 173 of file AliMUONRawStreamTracker.cxx.
|
inline |
Return current DDL index.
Definition at line 77 of file AliMUONRawStreamTracker.h.
|
inlinevirtual |
Return number of DDL.
Implements AliMUONVRawStreamTracker.
Definition at line 74 of file AliMUONRawStreamTracker.h.
|
inlinevirtual |
Return pointer for DDL.
Implements AliMUONVRawStreamTracker.
Definition at line 71 of file AliMUONRawStreamTracker.h.
|
inlinevirtual |
Return maximum number of block per DDL in DATE file.
Implements AliMUONVRawStreamTracker.
Definition at line 54 of file AliMUONRawStreamTracker.h.
|
inlinevirtual |
Return maximum number of Buspatch per Dsp in DATE file.
Implements AliMUONVRawStreamTracker.
Definition at line 58 of file AliMUONRawStreamTracker.h.
|
inlinevirtual |
Return maximum number of Dsp per block in DATE file.
Implements AliMUONVRawStreamTracker.
Definition at line 56 of file AliMUONRawStreamTracker.h.
|
private |
Returns the next block Header present
Definition at line 264 of file AliMUONRawStreamTracker.cxx.
Referenced by First(), and GetNextDspHeader().
|
private |
Find the next non-empty busPatch structure
Definition at line 340 of file AliMUONRawStreamTracker.cxx.
|
private |
Returns the next DDL present
Definition at line 199 of file AliMUONRawStreamTracker.cxx.
Referenced by First(), and GetNextBlockHeader().
|
private |
Returns the next Dsp Header present
Definition at line 302 of file AliMUONRawStreamTracker.cxx.
Referenced by First(), and GetNextBusStruct().
|
inline |
Return pointer for payload.
Definition at line 80 of file AliMUONRawStreamTracker.h.
Referenced by IsErrorMessage().
|
virtual |
Whether the iteration is finished or not.
Whether the iteration is finished or not
Reimplemented from AliMUONRawStream.
Definition at line 165 of file AliMUONRawStreamTracker.cxx.
Referenced by Next().
|
virtual |
check error/Warning presence
true if there is any error/warning
Implements AliMUONVRawStreamTracker.
Definition at line 460 of file AliMUONRawStreamTracker.cxx.
|
virtual |
Advance one step in the iteration. Returns false if finished.
read the next raw digit (buspatch structure) returns kFALSE if there is no digit left Should call First() before this method to start the iteration.
Implements AliMUONVRawStreamTracker.
Definition at line 131 of file AliMUONRawStreamTracker.cxx.
|
virtual |
DDL iterator.
reading tracker DDL
Implements AliMUONRawStream.
Definition at line 377 of file AliMUONRawStreamTracker.cxx.
|
private |
Not implemented.
|
virtual |
Set maximum number of blocks per DDL allowed.
set regional card number
Implements AliMUONVRawStreamTracker.
Definition at line 427 of file AliMUONRawStreamTracker.cxx.
|
inlinevirtual |
Set maximum number of Buspatch per Dsp in DATE file does not check, done via BusPatchManager
Implements AliMUONVRawStreamTracker.
Definition at line 68 of file AliMUONRawStreamTracker.h.
|
inlinevirtual |
Set maximum number of Dsp per block in DATE file does not check, done via BusPatchManager
Implements AliMUONVRawStreamTracker.
Definition at line 65 of file AliMUONRawStreamTracker.h.
|
private |
! for iterator: current block ptr
Definition at line 118 of file AliMUONRawStreamTracker.h.
Referenced by CurrentBlockHeader(), First(), GetNextBlockHeader(), and GetNextDspHeader().
|
private |
! for iterator: current block index
Definition at line 119 of file AliMUONRawStreamTracker.h.
Referenced by GetNextBlockHeader(), and GetNextDDL().
|
private |
! for iterator: current bus ptr
Definition at line 122 of file AliMUONRawStreamTracker.h.
Referenced by CurrentBusStruct(), First(), GetNextBusStruct(), IsDone(), and Next().
|
private |
! for iterator: current bus index
Definition at line 123 of file AliMUONRawStreamTracker.h.
Referenced by GetNextBusStruct(), and GetNextDspHeader().
|
private |
! for iterator: current data index
Definition at line 124 of file AliMUONRawStreamTracker.h.
Referenced by GetNextBusStruct(), and Next().
|
private |
! for iterator: current ddl ptr
Definition at line 116 of file AliMUONRawStreamTracker.h.
Referenced by CurrentDDL(), First(), GetNextBlockHeader(), and GetNextDDL().
|
private |
! for iterator: current ddl index
Definition at line 117 of file AliMUONRawStreamTracker.h.
Referenced by First(), GetCurentDDL(), and GetNextDDL().
|
private |
! for iterator: current dsp ptr
Definition at line 120 of file AliMUONRawStreamTracker.h.
Referenced by CurrentDspHeader(), First(), GetNextBusStruct(), and GetNextDspHeader().
|
private |
! for iterator: current dsp index
Definition at line 121 of file AliMUONRawStreamTracker.h.
Referenced by GetNextBlockHeader(), and GetNextDspHeader().
|
private |
! number of DDL
Definition at line 125 of file AliMUONRawStreamTracker.h.
|
private |
pointer to payload decoder
Definition at line 115 of file AliMUONRawStreamTracker.h.
Referenced by AddErrorMessage(), DisableWarnings(), GetDDLTracker(), GetMaxBlock(), GetMaxBus(), GetMaxDsp(), GetNextDDL(), GetPayLoad(), NextDDL(), SetMaxBlock(), SetMaxBus(), SetMaxDsp(), and ~AliMUONRawStreamTracker().