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

Light weight interface class to the DSP header data. More...

#include <AliMUONRawStreamTrackerHP.h>

Public Member Functions

 AliDspHeader (const AliBlockHeader *block=NULL, const AliBusPatch *busPatchArray=NULL, const AliMUONDSPHeaderStruct *header=NULL)
 Default constructor. More...
 
 AliDspHeader (const AliDspHeader &o)
 Implement shallow copying in the copy constructor. More...
 
AliDspHeaderoperator= (const AliDspHeader &object)
 Implement shallow copying in the assignment operator. More...
 
 ~AliDspHeader ()
 Default destructor. More...
 
Int_t GetDataKey () const
 Return Data key word for FRT header. More...
 
Int_t GetTotalLength () const
 Return total length of block structure. More...
 
Int_t GetLength () const
 Return length of raw data. More...
 
Int_t GetDspId () const
 Return Dsp id. More...
 
Int_t GetBlkL1ATrigger () const
 Return L1 accept in Block Structure (CRT) More...
 
Int_t GetMiniEventId () const
 Return Mini Event Id in bunch crossing. More...
 
Int_t GetL1ATrigger () const
 Return Number of L1 accept in DSP Structure (FRT) More...
 
Int_t GetL1RTrigger () const
 Return Number of L1 reject in DSP Structure (FRT) More...
 
UInt_t GetPaddingWord () const
 Return padding dummy word for 64 bits transfer. More...
 
Int_t GetErrorWord () const
 Return Error word. More...
 
const AliMUONDSPHeaderStructGetHeader () const
 Return raw data of header. More...
 
const AliBlockHeaderGetBlockHeader () const
 Return the parent block header. More...
 
const AliDspHeaderNext () const
 Return the next DSP header. More...
 
const AliBusPatchGetFirstBusPatch () const
 Returns the first AliBusPatch class in this DSP. More...
 
UInt_t GetBusPatchCount () const
 Returns the number of bus patches within this DSP. More...
 
const AliBusPatchGetBusPatch (UInt_t i) const
 Return the i'th bus patch in this DSP. More...
 
void SetNext (const AliDspHeader *next)
 Sets the next DSP header. More...
 
void IncBusPatchCount ()
 Increments the bus patch count. More...
 
void Print () const
 Print the contents of the header to screen. More...
 

Private Attributes

const AliBlockHeaderfBlock
 Pointer to parent block structure. More...
 
const AliDspHeaderfNext
 Pointer to next DSP. More...
 
UInt_t fBusPatchCount
 The number of AliDspHeader objects found in the array pointed to by fFirstBusPatch. More...
 
const AliBusPatchfFirstBusPatch
 The first bus patch of this DSP. More...
 
const AliMUONDSPHeaderStructfHeader
 Pointer to header in DDL payload. More...
 

Detailed Description

Light weight interface class to the DSP header data.

Definition at line 243 of file AliMUONRawStreamTrackerHP.h.

Constructor & Destructor Documentation

AliMUONRawStreamTrackerHP::AliDspHeader::AliDspHeader ( const AliBlockHeader block = NULL,
const AliBusPatch busPatchArray = NULL,
const AliMUONDSPHeaderStruct header = NULL 
)
inline

Default constructor.

Definition at line 247 of file AliMUONRawStreamTrackerHP.h.

AliMUONRawStreamTrackerHP::AliDspHeader::AliDspHeader ( const AliDspHeader o)
inline

Implement shallow copying in the copy constructor.

Definition at line 258 of file AliMUONRawStreamTrackerHP.h.

AliMUONRawStreamTrackerHP::AliDspHeader::~AliDspHeader ( )
inline

Default destructor.

Definition at line 272 of file AliMUONRawStreamTrackerHP.h.

Member Function Documentation

Int_t AliMUONRawStreamTrackerHP::AliDspHeader::GetBlkL1ATrigger ( ) const
inline

Return L1 accept in Block Structure (CRT)

Definition at line 283 of file AliMUONRawStreamTrackerHP.h.

const AliBlockHeader* AliMUONRawStreamTrackerHP::AliDspHeader::GetBlockHeader ( ) const
inline

Return the parent block header.

Definition at line 299 of file AliMUONRawStreamTrackerHP.h.

Referenced by AliMUONRawStreamTrackerHP::CurrentBlockHeader().

const AliBusPatch* AliMUONRawStreamTrackerHP::AliDspHeader::GetBusPatch ( UInt_t  i) const
inline

Return the i'th bus patch in this DSP.

Definition at line 311 of file AliMUONRawStreamTrackerHP.h.

Referenced by AliMUONRawStreamTrackerHP::GetBusPatch(), and MUONRawStreamTrackerExpert().

UInt_t AliMUONRawStreamTrackerHP::AliDspHeader::GetBusPatchCount ( ) const
inline

Returns the number of bus patches within this DSP.

Definition at line 308 of file AliMUONRawStreamTrackerHP.h.

Referenced by AliMUONRawStreamTrackerHP::GetBusPatchCount().

Int_t AliMUONRawStreamTrackerHP::AliDspHeader::GetDataKey ( ) const
inline

Return Data key word for FRT header.

Definition at line 275 of file AliMUONRawStreamTrackerHP.h.

Int_t AliMUONRawStreamTrackerHP::AliDspHeader::GetDspId ( ) const
inline

Return Dsp id.

Definition at line 281 of file AliMUONRawStreamTrackerHP.h.

Int_t AliMUONRawStreamTrackerHP::AliDspHeader::GetErrorWord ( ) const
inline
const AliBusPatch* AliMUONRawStreamTrackerHP::AliDspHeader::GetFirstBusPatch ( ) const
inline

Returns the first AliBusPatch class in this DSP.

Definition at line 305 of file AliMUONRawStreamTrackerHP.h.

Referenced by GetBusPatch(), AliMUONRawStreamTrackerHP::GetDDLTracker(), and MUONRawStreamTrackerExpert3().

const AliMUONDSPHeaderStruct* AliMUONRawStreamTrackerHP::AliDspHeader::GetHeader ( ) const
inline

Return raw data of header.

Definition at line 296 of file AliMUONRawStreamTrackerHP.h.

Referenced by AliMUONRawStreamTrackerHP::GetDDLTracker().

Int_t AliMUONRawStreamTrackerHP::AliDspHeader::GetL1ATrigger ( ) const
inline

Return Number of L1 accept in DSP Structure (FRT)

Definition at line 287 of file AliMUONRawStreamTrackerHP.h.

Int_t AliMUONRawStreamTrackerHP::AliDspHeader::GetL1RTrigger ( ) const
inline

Return Number of L1 reject in DSP Structure (FRT)

Definition at line 289 of file AliMUONRawStreamTrackerHP.h.

Int_t AliMUONRawStreamTrackerHP::AliDspHeader::GetLength ( ) const
inline

Return length of raw data.

Definition at line 279 of file AliMUONRawStreamTrackerHP.h.

Int_t AliMUONRawStreamTrackerHP::AliDspHeader::GetMiniEventId ( ) const
inline

Return Mini Event Id in bunch crossing.

Definition at line 285 of file AliMUONRawStreamTrackerHP.h.

UInt_t AliMUONRawStreamTrackerHP::AliDspHeader::GetPaddingWord ( ) const
inline

Return padding dummy word for 64 bits transfer.

Definition at line 291 of file AliMUONRawStreamTrackerHP.h.

Int_t AliMUONRawStreamTrackerHP::AliDspHeader::GetTotalLength ( ) const
inline

Return total length of block structure.

Definition at line 277 of file AliMUONRawStreamTrackerHP.h.

Referenced by MUONRawStreamTrackerExpert(), MUONRawStreamTrackerExpert2(), and MUONRawStreamTrackerExpert3().

void AliMUONRawStreamTrackerHP::AliDspHeader::IncBusPatchCount ( )
inline

Increments the bus patch count.

Definition at line 320 of file AliMUONRawStreamTrackerHP.h.

const AliDspHeader* AliMUONRawStreamTrackerHP::AliDspHeader::Next ( ) const
inline

Return the next DSP header.

Definition at line 302 of file AliMUONRawStreamTrackerHP.h.

Referenced by MUONRawStreamTrackerExpert3().

AliDspHeader& AliMUONRawStreamTrackerHP::AliDspHeader::operator= ( const AliDspHeader object)
inline

Implement shallow copying in the assignment operator.

Definition at line 265 of file AliMUONRawStreamTrackerHP.h.

void AliMUONRawStreamTrackerHP::AliDspHeader::Print ( ) const

Print the contents of the header to screen.

Print header to screen.

Definition at line 494 of file AliMUONRawStreamTrackerHP.cxx.

void AliMUONRawStreamTrackerHP::AliDspHeader::SetNext ( const AliDspHeader next)
inline

Sets the next DSP header.

Definition at line 317 of file AliMUONRawStreamTrackerHP.h.

Member Data Documentation

const AliBlockHeader* AliMUONRawStreamTrackerHP::AliDspHeader::fBlock
private

Pointer to parent block structure.

Definition at line 327 of file AliMUONRawStreamTrackerHP.h.

Referenced by GetBlockHeader().

UInt_t AliMUONRawStreamTrackerHP::AliDspHeader::fBusPatchCount
private

The number of AliDspHeader objects found in the array pointed to by fFirstBusPatch.

Definition at line 329 of file AliMUONRawStreamTrackerHP.h.

Referenced by GetBusPatch(), GetBusPatchCount(), and IncBusPatchCount().

const AliBusPatch* AliMUONRawStreamTrackerHP::AliDspHeader::fFirstBusPatch
private

The first bus patch of this DSP.

Definition at line 330 of file AliMUONRawStreamTrackerHP.h.

Referenced by GetFirstBusPatch().

const AliMUONDSPHeaderStruct* AliMUONRawStreamTrackerHP::AliDspHeader::fHeader
private
const AliDspHeader* AliMUONRawStreamTrackerHP::AliDspHeader::fNext
private

Pointer to next DSP.

Definition at line 328 of file AliMUONRawStreamTrackerHP.h.

Referenced by Next(), and SetNext().


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