![]() |
AliRoot Core
a565103 (a565103)
|
Light weight interface class to the bus patch data. More...
#include <AliMUONRawStreamTrackerHP.h>
Public Member Functions | |
AliBusPatch (const AliDspHeader *dsp=NULL, const AliMUONBusPatchHeaderStruct *header=NULL, const UInt_t *data=NULL, const Bool_t *parityOk=NULL) | |
Default constructor. More... | |
AliBusPatch (const AliBusPatch &o) | |
Implement shallow copying in the copy constructor. More... | |
AliBusPatch & | operator= (const AliBusPatch &object) |
Implement shallow copying in the assignment operator. More... | |
~AliBusPatch () | |
Default destructor. More... | |
Int_t | GetDataKey () const |
Return Data key word for bus patch header. More... | |
Int_t | GetTotalLength () const |
Return total length of buspatch structure. More... | |
Int_t | GetLength () const |
Return length of raw data. More... | |
Int_t | GetBusPatchId () const |
Return bus patch id. More... | |
const AliMUONBusPatchHeaderStruct * | GetHeader () const |
Return raw data of header. More... | |
const UInt_t * | GetData () const |
Return raw digit data. More... | |
UInt_t | GetDataCount () const |
Returns the number of raw data words within this bus patch. More... | |
Char_t | GetParity (UInt_t n) const |
Returns the parity bit of the n'th raw data word. More... | |
UShort_t | GetManuId (UInt_t n) const |
Returns the MANU ID of the n'th raw data word. More... | |
UChar_t | GetChannelId (UInt_t n) const |
Returns the channel ID of the n'th raw data word. More... | |
UShort_t | GetCharge (UInt_t n) const |
Returns the charge/signal of the n'th raw data word. More... | |
UInt_t | GetData (UInt_t n) const |
Returns the n'th raw data word. More... | |
Bool_t | IsParityOk (UInt_t n) const |
Bool_t | GetData (UInt_t n, UShort_t &manuId, UChar_t &channelId, UShort_t &adc) const |
const AliDspHeader * | GetDspHeader () const |
Return the parent block header. More... | |
const AliBusPatch * | Next () const |
Return the next bus patch header. More... | |
void | SetNext (const AliBusPatch *next) |
Sets the next bus patch. More... | |
void | Print (const Option_t *opt="") const |
Print the contents of the bus patch to screen. More... | |
Private Attributes | |
const AliDspHeader * | fDSP |
The DSP this bus patch belongs to. More... | |
const AliBusPatch * | fNext |
Next bus patch object in the DSP. More... | |
const AliMUONBusPatchHeaderStruct * | fHeader |
Pointer to bus patch in DDL payload. More... | |
const UInt_t * | fData |
Pointer to the bus patch data. More... | |
const Bool_t * | fParityOk |
Array of flags indicating if the parity of the given data word in fData is good or not. More... | |
Light weight interface class to the bus patch data.
Definition at line 335 of file AliMUONRawStreamTrackerHP.h.
|
inline |
Default constructor.
Definition at line 339 of file AliMUONRawStreamTrackerHP.h.
|
inline |
Implement shallow copying in the copy constructor.
Definition at line 354 of file AliMUONRawStreamTrackerHP.h.
|
inline |
Default destructor.
Definition at line 371 of file AliMUONRawStreamTrackerHP.h.
|
inline |
Return bus patch id.
Definition at line 380 of file AliMUONRawStreamTrackerHP.h.
Referenced by main(), MUONRawStreamTrackerExpert(), MUONRawStreamTrackerExpert2(), MUONRawStreamTrackerExpert3(), MUONRawStreamTrackerSimple2(), and AliMUONRawStreamTrackerHP::Next().
|
inline |
Returns the channel ID of the n'th raw data word.
Definition at line 404 of file AliMUONRawStreamTrackerHP.h.
Referenced by MUONRawStreamTrackerExpert(), MUONRawStreamTrackerExpert2(), and MUONRawStreamTrackerExpert3().
|
inline |
Returns the charge/signal of the n'th raw data word.
Definition at line 411 of file AliMUONRawStreamTrackerHP.h.
Referenced by MUONRawStreamTrackerExpert(), MUONRawStreamTrackerExpert2(), and MUONRawStreamTrackerExpert3().
|
inline |
Return raw digit data.
Definition at line 385 of file AliMUONRawStreamTrackerHP.h.
Referenced by AliMUONRawStreamTrackerHP::GetDDLTracker(), main(), MUONRawStreamTrackerSimple2(), AliMUONRawStreamTrackerHP::Next(), AliMUONRawStreamTrackerHP::NextDDL(), and TimeDecoderBusPatchIteration().
|
inline |
Returns the n'th raw data word.
Definition at line 418 of file AliMUONRawStreamTrackerHP.h.
|
inline |
Unpacks and returns the fields of the n'th raw data word. kTRUE is returned if the data word's parity was OK and kFALSE otherwise.
Definition at line 434 of file AliMUONRawStreamTrackerHP.h.
|
inline |
Returns the number of raw data words within this bus patch.
Definition at line 387 of file AliMUONRawStreamTrackerHP.h.
Referenced by AliMUONRawStreamTrackerHP::GetDDLTracker(), MUONRawStreamTrackerSimple2(), AliMUONRawStreamTrackerHP::Next(), AliMUONRawStreamTrackerHP::NextDDL(), and TimeDecoderBusPatchIteration().
|
inline |
Return Data key word for bus patch header.
Definition at line 374 of file AliMUONRawStreamTrackerHP.h.
|
inline |
Return the parent block header.
Definition at line 442 of file AliMUONRawStreamTrackerHP.h.
Referenced by AliMUONRawStreamTrackerHP::CurrentDspHeader().
|
inline |
Return raw data of header.
Definition at line 383 of file AliMUONRawStreamTrackerHP.h.
Referenced by AliMUONRawStreamTrackerHP::GetDDLTracker().
|
inline |
Return length of raw data.
Definition at line 378 of file AliMUONRawStreamTrackerHP.h.
Referenced by GetDataCount(), AliMUONRawStreamTrackerHP::GetDDLTracker(), main(), MUONRawStreamTrackerExpert(), MUONRawStreamTrackerExpert2(), MUONRawStreamTrackerExpert3(), and AliMUONRawStreamTrackerHP::Next().
|
inline |
Returns the MANU ID of the n'th raw data word.
Definition at line 397 of file AliMUONRawStreamTrackerHP.h.
Referenced by MUONRawStreamTrackerExpert(), MUONRawStreamTrackerExpert2(), and MUONRawStreamTrackerExpert3().
|
inline |
Returns the parity bit of the n'th raw data word.
Definition at line 390 of file AliMUONRawStreamTrackerHP.h.
|
inline |
Return total length of buspatch structure.
Definition at line 376 of file AliMUONRawStreamTrackerHP.h.
|
inline |
Returns kTRUE if the parity of the n'th raw data word is OK and kFALSE otherwise.
Definition at line 426 of file AliMUONRawStreamTrackerHP.h.
Referenced by main(), and AliMUONRawStreamTrackerHP::Next().
|
inline |
Return the next bus patch header.
Definition at line 445 of file AliMUONRawStreamTrackerHP.h.
Referenced by AliMUONRawStreamTrackerHP::GetDDLTracker(), MUONRawStreamTrackerErrorCount(), MUONRawStreamTrackerExpert3(), and MUONRawStreamTrackerSimple2().
|
inline |
Implement shallow copying in the assignment operator.
Definition at line 364 of file AliMUONRawStreamTrackerHP.h.
void AliMUONRawStreamTrackerHP::AliBusPatch::Print | ( | const Option_t * | opt = "" | ) | const |
Print the contents of the bus patch to screen.
Print header to screen.
Definition at line 517 of file AliMUONRawStreamTrackerHP.cxx.
|
inline |
Sets the next bus patch.
Definition at line 448 of file AliMUONRawStreamTrackerHP.h.
|
private |
Pointer to the bus patch data.
Definition at line 458 of file AliMUONRawStreamTrackerHP.h.
Referenced by GetChannelId(), GetCharge(), GetData(), GetManuId(), and GetParity().
|
private |
The DSP this bus patch belongs to.
Definition at line 455 of file AliMUONRawStreamTrackerHP.h.
Referenced by GetDspHeader().
|
private |
Pointer to bus patch in DDL payload.
Definition at line 457 of file AliMUONRawStreamTrackerHP.h.
Referenced by GetBusPatchId(), GetChannelId(), GetCharge(), GetData(), GetDataKey(), GetHeader(), GetLength(), GetManuId(), GetParity(), GetTotalLength(), and IsParityOk().
|
private |
Next bus patch object in the DSP.
Definition at line 456 of file AliMUONRawStreamTrackerHP.h.
|
private |
Array of flags indicating if the parity of the given data word in fData is good or not.
Definition at line 459 of file AliMUONRawStreamTrackerHP.h.
Referenced by GetData(), and IsParityOk().