AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONBlockHeader Class Reference

MUON block (Crocus CRT) header for tracker event. More...

#include <AliMUONBlockHeader.h>

Inheritance diagram for AliMUONBlockHeader:

Public Member Functions

 AliMUONBlockHeader ()
 
 AliMUONBlockHeader (TRootIOCtor *dummy)
 
 AliMUONBlockHeader (const AliMUONBlockHeader &event)
 
AliMUONBlockHeaderoperator= (const AliMUONBlockHeader &event)
 
virtual ~AliMUONBlockHeader ()
 
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...
 
Int_t GetHeaderLength () const
 Return header length in word. More...
 
UInt_t GetDefaultDataKey () const
 Return default data key word for CRT header. More...
 
UInt_t GetDdlDataKey () const
 Return data key end word for CRT header. More...
 
void SetDataKey (Int_t d)
 Set data key word for CRT header. More...
 
void SetTotalLength (Int_t l)
 Set total length of block structure (w/o padding word) More...
 
void SetLength (Int_t l)
 Set length of raw data. More...
 
void SetDspId (Int_t d)
 Set Dsp id. More...
 
void SetL0Trigger (Int_t l)
 Set L0 trigger word. More...
 
void SetMiniEventId (Int_t e)
 Set Bunch Crossing for mini-event id (see TDR chapter 8) More...
 
void SetEventId1 (Int_t e)
 Set Event Id in bunch crossing. More...
 
void SetEventId2 (Int_t e)
 Set Event Id in orbit number. More...
 
Int_t * GetHeader ()
 Return header. More...
 
void AddDspHeader (const AliMUONDspHeader &dspHeader)
 
TClonesArray * GetDspHeaderArray () const
 get TClonesArray More...
 
Int_t GetDspHeaderEntries () const
 get entries More...
 
AliMUONDspHeaderGetDspHeaderEntry (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 CRT header. More...
 
Int_t fTotalLength
 total length of block structure (w/o padding word) More...
 
Int_t fLength
 length of raw data More...
 
Int_t fDspId
 Dsp id. More...
 
Int_t fL0Trigger
 L0 trigger word. More...
 
Int_t fMiniEventId
 Bunch Crossing for mini-event id (see TDR chapter 8) More...
 
Int_t fEventId1
 Event Id in bunch crossing. More...
 
Int_t fEventId2
 Event Id in orbit number. More...
 
TClonesArray * fDspHeaderArray
 array of block header More...
 

Static Private Attributes

static const Int_t fgkHeaderLength = 8
 header length in word More...
 
static const UInt_t fgkDefaultDataKey = 0xFC0000FC
 default data key word for CRT header More...
 
static const UInt_t fgkDdlDataKey = 0xD000000D
 data key end word for CRT header More...
 

Detailed Description

MUON block (Crocus CRT) header for tracker event.

Block structure for tracker raw data each DDL contains two blocks, each block contains at most 5 dsp structure. Beside the total length and length of the below data the header of the block contains the front end DSP id, trigger words and paddind word

Author
Christian Finck

Definition at line 19 of file AliMUONBlockHeader.h.

Constructor & Destructor Documentation

AliMUONBlockHeader::AliMUONBlockHeader ( )

ctor

Definition at line 64 of file AliMUONBlockHeader.cxx.

AliMUONBlockHeader::AliMUONBlockHeader ( TRootIOCtor *  dummy)

ctor

Definition at line 45 of file AliMUONBlockHeader.cxx.

AliMUONBlockHeader::AliMUONBlockHeader ( const AliMUONBlockHeader event)

copy ctor

Definition at line 94 of file AliMUONBlockHeader.cxx.

AliMUONBlockHeader::~AliMUONBlockHeader ( )
virtual

dtor

Definition at line 84 of file AliMUONBlockHeader.cxx.

Member Function Documentation

void AliMUONBlockHeader::AddDspHeader ( const AliMUONDspHeader dspHeader)

adding the dsp structure into the TClonesArray

Definition at line 146 of file AliMUONBlockHeader.cxx.

void AliMUONBlockHeader::Clear ( Option_t *  opt)

Clear TClones arrays instead of deleting

Definition at line 157 of file AliMUONBlockHeader.cxx.

Int_t AliMUONBlockHeader::GetDataKey ( ) const
inline

Return data key word for CRT header.

Definition at line 33 of file AliMUONBlockHeader.h.

UInt_t AliMUONBlockHeader::GetDdlDataKey ( ) const
inline

Return data key end word for CRT header.

Definition at line 54 of file AliMUONBlockHeader.h.

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

UInt_t AliMUONBlockHeader::GetDefaultDataKey ( ) const
inline

Return default data key word for CRT header.

Definition at line 52 of file AliMUONBlockHeader.h.

Referenced by AliMUONPayloadTracker::Decode().

TClonesArray* AliMUONBlockHeader::GetDspHeaderArray ( ) const
inline

get TClonesArray

Definition at line 80 of file AliMUONBlockHeader.h.

Referenced by AliMUONDDLTracker::AddDspHeader().

Int_t AliMUONBlockHeader::GetDspHeaderEntries ( ) const
inline

get entries

Definition at line 83 of file AliMUONBlockHeader.h.

AliMUONDspHeader* AliMUONBlockHeader::GetDspHeaderEntry ( Int_t  i) const
inline
Int_t AliMUONBlockHeader::GetDspId ( ) const
inline

Return Dsp id.

Definition at line 39 of file AliMUONBlockHeader.h.

Referenced by AliMUONPayloadTracker::Decode().

Int_t AliMUONBlockHeader::GetEventId1 ( ) const
inline

Return Event Id in bunch crossing.

Definition at line 45 of file AliMUONBlockHeader.h.

Int_t AliMUONBlockHeader::GetEventId2 ( ) const
inline

Return Event Id in orbit number.

Definition at line 47 of file AliMUONBlockHeader.h.

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

Return header length in word.

Definition at line 50 of file AliMUONBlockHeader.h.

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

Int_t AliMUONBlockHeader::GetL0Trigger ( ) const
inline

Return L0 trigger word.

Definition at line 41 of file AliMUONBlockHeader.h.

Int_t AliMUONBlockHeader::GetLength ( ) const
inline

Return length of raw data.

Definition at line 37 of file AliMUONBlockHeader.h.

Int_t AliMUONBlockHeader::GetMiniEventId ( ) const
inline

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

Definition at line 43 of file AliMUONBlockHeader.h.

Int_t AliMUONBlockHeader::GetTotalLength ( ) const
inline

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

Definition at line 35 of file AliMUONBlockHeader.h.

Referenced by AliMUONPayloadTracker::Decode().

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

assignment operator

Definition at line 119 of file AliMUONBlockHeader.cxx.

void AliMUONBlockHeader::Print ( Option_t *  ) const

print out

Definition at line 167 of file AliMUONBlockHeader.cxx.

void AliMUONBlockHeader::SetDataKey ( Int_t  d)
inline

Set data key word for CRT header.

Definition at line 57 of file AliMUONBlockHeader.h.

void AliMUONBlockHeader::SetDspId ( Int_t  d)
inline

Set Dsp id.

Definition at line 63 of file AliMUONBlockHeader.h.

void AliMUONBlockHeader::SetEventId1 ( Int_t  e)
inline

Set Event Id in bunch crossing.

Definition at line 69 of file AliMUONBlockHeader.h.

void AliMUONBlockHeader::SetEventId2 ( Int_t  e)
inline

Set Event Id in orbit number.

Definition at line 71 of file AliMUONBlockHeader.h.

void AliMUONBlockHeader::SetL0Trigger ( Int_t  l)
inline

Set L0 trigger word.

Definition at line 65 of file AliMUONBlockHeader.h.

void AliMUONBlockHeader::SetLength ( Int_t  l)
inline

Set length of raw data.

Definition at line 61 of file AliMUONBlockHeader.h.

void AliMUONBlockHeader::SetMiniEventId ( Int_t  e)
inline

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

Definition at line 67 of file AliMUONBlockHeader.h.

void AliMUONBlockHeader::SetTotalLength ( Int_t  l)
inline

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

Definition at line 59 of file AliMUONBlockHeader.h.

Member Data Documentation

Int_t AliMUONBlockHeader::fDataKey
private

Data key word for CRT header.

Definition at line 98 of file AliMUONBlockHeader.h.

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

TClonesArray* AliMUONBlockHeader::fDspHeaderArray
private
Int_t AliMUONBlockHeader::fDspId
private

Dsp id.

Definition at line 101 of file AliMUONBlockHeader.h.

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

Int_t AliMUONBlockHeader::fEventId1
private

Event Id in bunch crossing.

Definition at line 104 of file AliMUONBlockHeader.h.

Referenced by GetEventId1(), operator=(), Print(), and SetEventId1().

Int_t AliMUONBlockHeader::fEventId2
private

Event Id in orbit number.

Definition at line 105 of file AliMUONBlockHeader.h.

Referenced by GetEventId2(), operator=(), Print(), and SetEventId2().

const UInt_t AliMUONBlockHeader::fgkDdlDataKey = 0xD000000D
staticprivate

data key end word for CRT header

Definition at line 110 of file AliMUONBlockHeader.h.

Referenced by GetDdlDataKey().

const UInt_t AliMUONBlockHeader::fgkDefaultDataKey = 0xFC0000FC
staticprivate

default data key word for CRT header

Definition at line 109 of file AliMUONBlockHeader.h.

Referenced by GetDefaultDataKey().

const Int_t AliMUONBlockHeader::fgkHeaderLength = 8
staticprivate

header length in word

Definition at line 108 of file AliMUONBlockHeader.h.

Referenced by GetHeaderLength().

Int_t AliMUONBlockHeader::fL0Trigger
private

L0 trigger word.

Definition at line 102 of file AliMUONBlockHeader.h.

Referenced by GetL0Trigger(), operator=(), Print(), and SetL0Trigger().

Int_t AliMUONBlockHeader::fLength
private

length of raw data

Definition at line 100 of file AliMUONBlockHeader.h.

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

Int_t AliMUONBlockHeader::fMiniEventId
private

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

Definition at line 103 of file AliMUONBlockHeader.h.

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

Int_t AliMUONBlockHeader::fTotalLength
private

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

Definition at line 99 of file AliMUONBlockHeader.h.

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


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