AliRoot Core  3abf5b4 (3abf5b4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONDspHeader Class Reference

MUON DSP header for tracker event. More...

#include <AliMUONDspHeader.h>

Inheritance diagram for AliMUONDspHeader:

Public Member Functions

 AliMUONDspHeader ()
 
 AliMUONDspHeader (TRootIOCtor *dummy)
 
 AliMUONDspHeader (const AliMUONDspHeader &event)
 
AliMUONDspHeaderoperator= (const AliMUONDspHeader &event)
 
virtual ~AliMUONDspHeader ()
 
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...
 
Int_t GetHeaderLength () const
 Return header length. More...
 
UInt_t GetDefaultDataKey () const
 Return default data key word for FRT header. More...
 
UInt_t GetDefaultPaddingWord () const
 Return default padding word value. More...
 
void SetDataKey (Int_t d)
 Set Data key word for FRT header. More...
 
void SetTotalLength (Int_t l)
 Set total length of block structure. More...
 
void SetLength (Int_t l)
 Set length of raw data. More...
 
void SetDspId (Int_t d)
 Set Dsp id. More...
 
void SetBlkL1ATrigger (Int_t l1)
 Set L1 accept in Block Structure (CRT) More...
 
void SetMiniEventId (Int_t id)
 Set Mini Event Id in bunch crossing. More...
 
void SetL1ATrigger (Int_t l1a)
 Set Number of L1 accept in DSP Structure (FRT) More...
 
void SetL1RTrigger (Int_t l1r)
 Set Number of L1 reject in DSP Structure (FRT) More...
 
void SetPaddingWord (UInt_t w)
 Set padding dummy word for 64 bits transfer. More...
 
void SetErrorWord (Int_t w)
 Set Error word. More...
 
Int_t * GetHeader ()
 Return header. More...
 
void AddBusPatch (const AliMUONBusStruct &busPatch)
 
TClonesArray * GetBusPatchArray () const
 get TClonesArray More...
 
Int_t GetBusPatchEntries () const
 get entries More...
 
AliMUONBusStructGetBusPatchEntry (Int_t i) const
 get entry More...
 
void Clear (Option_t *opt)
 
void Print (Option_t *) const
 

Private Attributes

Int_t fDataKey
 Data key word for FRT header. More...
 
Int_t fTotalLength
 total length of block structure More...
 
Int_t fLength
 length of raw data More...
 
Int_t fDspId
 Dsp id. More...
 
Int_t fBlkL1ATrigger
 L1 accept in Block Structure (CRT) More...
 
Int_t fMiniEventId
 Mini Event Id in bunch crossing. More...
 
Int_t fL1ATrigger
 Number of L1 accept in DSP Structure (FRT) More...
 
Int_t fL1RTrigger
 Number of L1 reject in DSP Structure (FRT) More...
 
Int_t fPaddingWord
 padding dummy word for 64 bits transfer More...
 
Int_t fErrorWord
 Error word. More...
 
TClonesArray * fBusPatchArray
 array of buspatch structure More...
 

Static Private Attributes

static const Int_t fgkHeaderLength = 10
 header length More...
 
static const UInt_t fgkDefaultDataKey = 0xF000000F
 default data key word for FRT header More...
 
static const UInt_t fgkDefaultPaddingWord = 0xBEEFFACE
 default padding word value More...
 

Detailed Description

MUON DSP header for tracker event.

DSP structure for tracker raw data. Each block contains at most 5 Dsp structures. Beside the total length and length of the below data the header of the Dsp contains the front end DSP id, trigger words and event word (1 for nb of word is odd and 0 if not

Author
Christian Finck

Definition at line 19 of file AliMUONDspHeader.h.

Constructor & Destructor Documentation

AliMUONDspHeader::AliMUONDspHeader ( )

ctor

Definition at line 65 of file AliMUONDspHeader.cxx.

AliMUONDspHeader::AliMUONDspHeader ( TRootIOCtor *  dummy)

ctor

Definition at line 44 of file AliMUONDspHeader.cxx.

AliMUONDspHeader::AliMUONDspHeader ( const AliMUONDspHeader event)

copy constructor

Definition at line 96 of file AliMUONDspHeader.cxx.

AliMUONDspHeader::~AliMUONDspHeader ( )
virtual

dtr

Definition at line 86 of file AliMUONDspHeader.cxx.

Member Function Documentation

void AliMUONDspHeader::AddBusPatch ( const AliMUONBusStruct busPatch)

adding buspatch info into TClonesArray

Definition at line 150 of file AliMUONDspHeader.cxx.

void AliMUONDspHeader::Clear ( Option_t *  opt)

Clear TClones arrays instead of deleting

Definition at line 160 of file AliMUONDspHeader.cxx.

Int_t AliMUONDspHeader::GetBlkL1ATrigger ( ) const
inline

Return L1 accept in Block Structure (CRT)

Definition at line 39 of file AliMUONDspHeader.h.

TClonesArray* AliMUONDspHeader::GetBusPatchArray ( ) const
inline

get TClonesArray

Definition at line 85 of file AliMUONDspHeader.h.

Referenced by AliMUONDDLTracker::AddBusPatch().

Int_t AliMUONDspHeader::GetBusPatchEntries ( ) const
inline

get entries

Definition at line 88 of file AliMUONDspHeader.h.

AliMUONBusStruct* AliMUONDspHeader::GetBusPatchEntry ( Int_t  i) const
inline

get entry

Definition at line 91 of file AliMUONDspHeader.h.

Referenced by AliMUONRawStreamTracker::GetNextBusStruct().

Int_t AliMUONDspHeader::GetDataKey ( ) const
inline

Return Data key word for FRT header.

Definition at line 31 of file AliMUONDspHeader.h.

UInt_t AliMUONDspHeader::GetDefaultDataKey ( ) const
inline

Return default data key word for FRT header.

Definition at line 54 of file AliMUONDspHeader.h.

Referenced by AliMUONPayloadTracker::Decode().

UInt_t AliMUONDspHeader::GetDefaultPaddingWord ( ) const
inline

Return default padding word value.

Definition at line 56 of file AliMUONDspHeader.h.

Referenced by AliMUONPayloadTracker::Decode(), and AliMUONRawWriter::WriteTrackerDDL().

Int_t AliMUONDspHeader::GetDspId ( ) const
inline

Return Dsp id.

Definition at line 37 of file AliMUONDspHeader.h.

Int_t AliMUONDspHeader::GetErrorWord ( ) const
inline

Return Error word.

Definition at line 49 of file AliMUONDspHeader.h.

Referenced by AliMUONPayloadTracker::Decode().

Int_t* AliMUONDspHeader::GetHeader ( )
inline
Int_t AliMUONDspHeader::GetHeaderLength ( ) const
inline

Return header length.

Definition at line 52 of file AliMUONDspHeader.h.

Referenced by AliMUONPayloadTracker::Decode(), and AliMUONRawWriter::WriteTrackerDDL().

Int_t AliMUONDspHeader::GetL1ATrigger ( ) const
inline

Return Number of L1 accept in DSP Structure (FRT)

Definition at line 43 of file AliMUONDspHeader.h.

Int_t AliMUONDspHeader::GetL1RTrigger ( ) const
inline

Return Number of L1 reject in DSP Structure (FRT)

Definition at line 45 of file AliMUONDspHeader.h.

Int_t AliMUONDspHeader::GetLength ( ) const
inline

Return length of raw data.

Definition at line 35 of file AliMUONDspHeader.h.

Int_t AliMUONDspHeader::GetMiniEventId ( ) const
inline

Return Mini Event Id in bunch crossing.

Definition at line 41 of file AliMUONDspHeader.h.

UInt_t AliMUONDspHeader::GetPaddingWord ( ) const
inline

Return padding dummy word for 64 bits transfer.

Definition at line 47 of file AliMUONDspHeader.h.

Referenced by AliMUONPayloadTracker::Decode().

Int_t AliMUONDspHeader::GetTotalLength ( ) const
inline

Return total length of block structure.

Definition at line 33 of file AliMUONDspHeader.h.

Referenced by AliMUONPayloadTracker::Decode().

AliMUONDspHeader & AliMUONDspHeader::operator= ( const AliMUONDspHeader event)

assignemnt constructor

Definition at line 123 of file AliMUONDspHeader.cxx.

void AliMUONDspHeader::Print ( Option_t *  ) const

print out

Definition at line 170 of file AliMUONDspHeader.cxx.

void AliMUONDspHeader::SetBlkL1ATrigger ( Int_t  l1)
inline

Set L1 accept in Block Structure (CRT)

Definition at line 67 of file AliMUONDspHeader.h.

void AliMUONDspHeader::SetDataKey ( Int_t  d)
inline

Set Data key word for FRT header.

Definition at line 59 of file AliMUONDspHeader.h.

void AliMUONDspHeader::SetDspId ( Int_t  d)
inline

Set Dsp id.

Definition at line 65 of file AliMUONDspHeader.h.

void AliMUONDspHeader::SetErrorWord ( Int_t  w)
inline

Set Error word.

Definition at line 77 of file AliMUONDspHeader.h.

void AliMUONDspHeader::SetL1ATrigger ( Int_t  l1a)
inline

Set Number of L1 accept in DSP Structure (FRT)

Definition at line 71 of file AliMUONDspHeader.h.

void AliMUONDspHeader::SetL1RTrigger ( Int_t  l1r)
inline

Set Number of L1 reject in DSP Structure (FRT)

Definition at line 73 of file AliMUONDspHeader.h.

void AliMUONDspHeader::SetLength ( Int_t  l)
inline

Set length of raw data.

Definition at line 63 of file AliMUONDspHeader.h.

void AliMUONDspHeader::SetMiniEventId ( Int_t  id)
inline

Set Mini Event Id in bunch crossing.

Definition at line 69 of file AliMUONDspHeader.h.

void AliMUONDspHeader::SetPaddingWord ( UInt_t  w)
inline

Set padding dummy word for 64 bits transfer.

Definition at line 75 of file AliMUONDspHeader.h.

void AliMUONDspHeader::SetTotalLength ( Int_t  l)
inline

Set total length of block structure.

Definition at line 61 of file AliMUONDspHeader.h.

Member Data Documentation

Int_t AliMUONDspHeader::fBlkL1ATrigger
private

L1 accept in Block Structure (CRT)

Definition at line 107 of file AliMUONDspHeader.h.

Referenced by GetBlkL1ATrigger(), operator=(), Print(), and SetBlkL1ATrigger().

TClonesArray* AliMUONDspHeader::fBusPatchArray
private
Int_t AliMUONDspHeader::fDataKey
private

Data key word for FRT header.

Definition at line 103 of file AliMUONDspHeader.h.

Referenced by GetDataKey(), GetHeader(), operator=(), Print(), and SetDataKey().

Int_t AliMUONDspHeader::fDspId
private

Dsp id.

Definition at line 106 of file AliMUONDspHeader.h.

Referenced by GetDspId(), operator=(), Print(), and SetDspId().

Int_t AliMUONDspHeader::fErrorWord
private

Error word.

Definition at line 112 of file AliMUONDspHeader.h.

Referenced by GetErrorWord(), operator=(), Print(), and SetErrorWord().

const UInt_t AliMUONDspHeader::fgkDefaultDataKey = 0xF000000F
staticprivate

default data key word for FRT header

Definition at line 115 of file AliMUONDspHeader.h.

Referenced by GetDefaultDataKey().

const UInt_t AliMUONDspHeader::fgkDefaultPaddingWord = 0xBEEFFACE
staticprivate

default padding word value

Definition at line 116 of file AliMUONDspHeader.h.

Referenced by GetDefaultPaddingWord().

const Int_t AliMUONDspHeader::fgkHeaderLength = 10
staticprivate

header length

Definition at line 114 of file AliMUONDspHeader.h.

Referenced by GetHeaderLength().

Int_t AliMUONDspHeader::fL1ATrigger
private

Number of L1 accept in DSP Structure (FRT)

Definition at line 109 of file AliMUONDspHeader.h.

Referenced by GetL1ATrigger(), operator=(), Print(), and SetL1ATrigger().

Int_t AliMUONDspHeader::fL1RTrigger
private

Number of L1 reject in DSP Structure (FRT)

Definition at line 110 of file AliMUONDspHeader.h.

Referenced by GetL1RTrigger(), operator=(), Print(), and SetL1RTrigger().

Int_t AliMUONDspHeader::fLength
private

length of raw data

Definition at line 105 of file AliMUONDspHeader.h.

Referenced by GetLength(), operator=(), Print(), and SetLength().

Int_t AliMUONDspHeader::fMiniEventId
private

Mini Event Id in bunch crossing.

Definition at line 108 of file AliMUONDspHeader.h.

Referenced by GetMiniEventId(), operator=(), Print(), and SetMiniEventId().

Int_t AliMUONDspHeader::fPaddingWord
private

padding dummy word for 64 bits transfer

Definition at line 111 of file AliMUONDspHeader.h.

Referenced by GetPaddingWord(), operator=(), Print(), and SetPaddingWord().

Int_t AliMUONDspHeader::fTotalLength
private

total length of block structure

Definition at line 104 of file AliMUONDspHeader.h.

Referenced by GetTotalLength(), operator=(), Print(), and SetTotalLength().


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