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

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

#include <AliMUONRawStreamTrackerHP.h>

Public Member Functions

 AliBlockHeader (AliDspHeader *dspArray=NULL, const AliMUONBlockHeaderStruct *header=NULL)
 Default constructor. More...
 
 AliBlockHeader (const AliBlockHeader &o)
 Implement shallow copying in the copy constructor. More...
 
AliBlockHeaderoperator= (const AliBlockHeader &object)
 Implement shallow copying in the assignment operator. More...
 
 ~AliBlockHeader ()
 Default destructor. More...
 
Int_t GetDataKey () const
 Return data key word for CRT header. More...
 
Int_t GetTotalLength () const
 Return total length of block structure (w/o padding word) More...
 
Int_t GetLength () const
 Return length of raw data. More...
 
Int_t GetDspId () const
 Return Dsp id. More...
 
Int_t GetL0Trigger () const
 Return L0 trigger word. More...
 
Int_t GetMiniEventId () const
 Return Bunch Crossing for mini-event id (see TDR chapter 8) More...
 
Int_t GetEventId1 () const
 Return Event Id in bunch crossing. More...
 
Int_t GetEventId2 () const
 Return Event Id in orbit number. More...
 
const AliMUONBlockHeaderStructGetHeader () const
 Return the header's raw data. More...
 
const AliBlockHeaderNext () const
 Return the next block header. More...
 
const AliDspHeaderGetFirstDspHeader () const
 Returns the first AliDspHeader class in this block. More...
 
UInt_t GetDspCount () const
 Returns the number of DSPs within this block. More...
 
const AliDspHeaderGetDspHeader (UInt_t i) const
 Return the i'th DSP in this block. More...
 
void SetNext (const AliBlockHeader *next)
 Sets the next block header. More...
 
void IncDspCount ()
 Increments the DSP count. More...
 
void Print () const
 Print the contents of the header to screen. More...
 

Private Attributes

const AliBlockHeaderfNext
 Pointer to next block. More...
 
UInt_t fDspCount
 The number of AliDspHeader objects found in the array pointed to by fFirstDsp. More...
 
const AliDspHeaderfFirstDsp
 The first DSP associated with this block. More...
 
const AliMUONBlockHeaderStructfHeader
 Pointer to header in DDL payload. More...
 

Detailed Description

Light weight interface class to the block header data.

Definition at line 162 of file AliMUONRawStreamTrackerHP.h.

Constructor & Destructor Documentation

AliMUONRawStreamTrackerHP::AliBlockHeader::AliBlockHeader ( AliDspHeader dspArray = NULL,
const AliMUONBlockHeaderStruct header = NULL 
)
inline

Default constructor.

Definition at line 166 of file AliMUONRawStreamTrackerHP.h.

AliMUONRawStreamTrackerHP::AliBlockHeader::AliBlockHeader ( const AliBlockHeader o)
inline

Implement shallow copying in the copy constructor.

Definition at line 175 of file AliMUONRawStreamTrackerHP.h.

AliMUONRawStreamTrackerHP::AliBlockHeader::~AliBlockHeader ( )
inline

Default destructor.

Definition at line 188 of file AliMUONRawStreamTrackerHP.h.

Member Function Documentation

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

Return data key word for CRT header.

Definition at line 191 of file AliMUONRawStreamTrackerHP.h.

UInt_t AliMUONRawStreamTrackerHP::AliBlockHeader::GetDspCount ( ) const
inline

Returns the number of DSPs within this block.

Definition at line 217 of file AliMUONRawStreamTrackerHP.h.

Referenced by AliMUONRawStreamTrackerHP::GetDDLTracker(), AliMUONRawStreamTrackerHP::GetDspCount(), and main().

const AliDspHeader* AliMUONRawStreamTrackerHP::AliBlockHeader::GetDspHeader ( UInt_t  i) const
inline
Int_t AliMUONRawStreamTrackerHP::AliBlockHeader::GetDspId ( ) const
inline

Return Dsp id.

Definition at line 197 of file AliMUONRawStreamTrackerHP.h.

Int_t AliMUONRawStreamTrackerHP::AliBlockHeader::GetEventId1 ( ) const
inline

Return Event Id in bunch crossing.

Definition at line 203 of file AliMUONRawStreamTrackerHP.h.

Int_t AliMUONRawStreamTrackerHP::AliBlockHeader::GetEventId2 ( ) const
inline

Return Event Id in orbit number.

Definition at line 205 of file AliMUONRawStreamTrackerHP.h.

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

Returns the first AliDspHeader class in this block.

Definition at line 214 of file AliMUONRawStreamTrackerHP.h.

Referenced by GetDspHeader(), and MUONRawStreamTrackerExpert3().

const AliMUONBlockHeaderStruct* AliMUONRawStreamTrackerHP::AliBlockHeader::GetHeader ( ) const
inline

Return the header's raw data.

Definition at line 208 of file AliMUONRawStreamTrackerHP.h.

Referenced by AliMUONRawStreamTrackerHP::GetDDLTracker().

Int_t AliMUONRawStreamTrackerHP::AliBlockHeader::GetL0Trigger ( ) const
inline

Return L0 trigger word.

Definition at line 199 of file AliMUONRawStreamTrackerHP.h.

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

Return length of raw data.

Definition at line 195 of file AliMUONRawStreamTrackerHP.h.

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

Return Bunch Crossing for mini-event id (see TDR chapter 8)

Definition at line 201 of file AliMUONRawStreamTrackerHP.h.

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

Return total length of block structure (w/o padding word)

Definition at line 193 of file AliMUONRawStreamTrackerHP.h.

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

void AliMUONRawStreamTrackerHP::AliBlockHeader::IncDspCount ( )
inline

Increments the DSP count.

Definition at line 229 of file AliMUONRawStreamTrackerHP.h.

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

Return the next block header.

Definition at line 211 of file AliMUONRawStreamTrackerHP.h.

Referenced by MUONRawStreamTrackerExpert3().

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

Implement shallow copying in the assignment operator.

Definition at line 181 of file AliMUONRawStreamTrackerHP.h.

void AliMUONRawStreamTrackerHP::AliBlockHeader::Print ( ) const

Print the contents of the header to screen.

Print header to screen.

Definition at line 473 of file AliMUONRawStreamTrackerHP.cxx.

Referenced by MUONRawStreamTrackerExpert3().

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

Sets the next block header.

Definition at line 226 of file AliMUONRawStreamTrackerHP.h.

Referenced by AliMUONRawStreamTrackerHP::AliDecoderEventHandler::OnNewBlock().

Member Data Documentation

UInt_t AliMUONRawStreamTrackerHP::AliBlockHeader::fDspCount
private

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

Definition at line 237 of file AliMUONRawStreamTrackerHP.h.

Referenced by GetDspCount(), GetDspHeader(), and IncDspCount().

const AliDspHeader* AliMUONRawStreamTrackerHP::AliBlockHeader::fFirstDsp
private

The first DSP associated with this block.

Definition at line 238 of file AliMUONRawStreamTrackerHP.h.

Referenced by GetFirstDspHeader().

const AliMUONBlockHeaderStruct* AliMUONRawStreamTrackerHP::AliBlockHeader::fHeader
private

Pointer to header in DDL payload.

Definition at line 239 of file AliMUONRawStreamTrackerHP.h.

Referenced by GetDataKey(), GetDspId(), GetEventId1(), GetEventId2(), GetHeader(), GetL0Trigger(), GetLength(), GetMiniEventId(), GetTotalLength(), and Print().

const AliBlockHeader* AliMUONRawStreamTrackerHP::AliBlockHeader::fNext
private

Pointer to next block.

Definition at line 236 of file AliMUONRawStreamTrackerHP.h.

Referenced by Next(), and SetNext().


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