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

MUON regional header for trigger. More...

#include <AliMUONRegHeader.h>

Inheritance diagram for AliMUONRegHeader:

Public Member Functions

 AliMUONRegHeader ()
 
 AliMUONRegHeader (TRootIOCtor *dummy)
 
 AliMUONRegHeader (const AliMUONRegHeader &event)
 
AliMUONRegHeaderoperator= (const AliMUONRegHeader &event)
 
virtual ~AliMUONRegHeader ()
 
UInt_t GetDarcWord () const
 Return darc word. More...
 
UInt_t GetWord () const
 Return first reg word. More...
 
UInt_t GetInput (Int_t n) const
 Return regional input. More...
 
UShort_t GetL0 () const
 Return L0. More...
 
UShort_t GetMask () const
 Return mask. More...
 
Bool_t GetRegPhysFlag () const
 Return RegPhysFlag. More...
 
UChar_t GetResetNb () const
 Return ResetNb. More...
 
UChar_t GetSerialNb () const
 Return SerialNb. More...
 
UChar_t GetId () const
 Return Id. More...
 
UChar_t GetVersion () const
 Return Version. More...
 
UChar_t GetOutput () const
 Return Output. More...
 
UShort_t GetErrorBits () const
 Return ErrorBits. More...
 
UChar_t GetFPGANumber () const
 Return FPGANumber. More...
 
Bool_t GetDarcPhysFlag () const
 Return DarcPhysFlag. More...
 
Bool_t GetPresentFlag () const
 Return PresentFlag. More...
 
Bool_t GetRamNotFullFlag () const
 Return RamNotFullFlag. More...
 
Bool_t GetRamNotEmptyFlag () const
 Return RamNotEmptyFlag. More...
 
Bool_t GetL2RejStatus () const
 Return L2RejStatus. More...
 
Bool_t GetL2AccStatus () const
 Return L2AccStatus. More...
 
Bool_t GetL1Status () const
 Return L1Status. More...
 
Bool_t GetL0Status () const
 Return L0Status. More...
 
UChar_t GetEventInRam () const
 Return EventInRam. More...
 
UChar_t GetBusy () const
 Return Busy. More...
 
void SetDarcWord (UInt_t w)
 Set darc word. More...
 
void SetWord (UInt_t w)
 Set first reg word. More...
 
void SetMask (UShort_t m)
 Set local mask ("poids faible" 16 bits) More...
 
void SetL0 (UShort_t l)
 Set L0. More...
 
void SetInput (UInt_t in, Int_t n)
 Set regional input. More...
 
Int_t GetHeaderLength () const
 Return header length in word. More...
 
UInt_t GetEndOfReg () const
 Return end of regional info word. More...
 
UInt_t GetErrorWord () const
 Return error word. More...
 
UInt_t * GetHeader ()
 Return header. More...
 
UInt_t GetClock () const
 Return regional clock. More...
 
const UInt_t * GetScaler () const
 Return regional ouput. More...
 
UInt_t GetHold () const
 Return regional hold (dead time) More...
 
UInt_t * GetScalers ()
 Return scalers. More...
 
Int_t GetScalerLength () const
 get scaler length More...
 
void SetScalersNumbers ()
 set random numbers to fill variable More...
 
TClonesArray * GetLocalArray () const
 get TClonesArray More...
 
Int_t GetLocalEntries () const
 get entries More...
 
AliMUONLocalStructGetLocalEntry (Int_t i) const
 get entry More...
 
void Clear (Option_t *opt)
 

Private Attributes

UInt_t fDarcWord
 darc word More...
 
UInt_t fWord
 first reg word More...
 
UInt_t fInput [2]
 regional input More...
 
UShort_t fMask
 local mask ("poids faible" 16 bits) More...
 
UShort_t fL0
 L0 counter (16 bits) More...
 
UInt_t fClk
 regional clock More...
 
UInt_t fScaler [8]
 regional ouput More...
 
UInt_t fHold
 regional hold (dead time) More...
 
TClonesArray * fLocalArray
 array of local structure More...
 

Static Private Attributes

static const Int_t fgkScalerLength = 10
 length of regional scaler in word More...
 
static const Int_t fgkHeaderLength = 5
 header length in word More...
 
static const UInt_t fgkEndOfReg = 0xBEEFFACE
 end of regional info word More...
 
static const UInt_t fgkErrorWord = 0xCAFEDEAD
 error word when a regional board is missing More...
 

Detailed Description

MUON regional header for trigger.

Regional structure for trigger raw data. Each Reg structure contains 16 (at most) local card structure. The structure includes the information of the Reg. boards and regional inputs

Author
Christian Finck

Definition at line 19 of file AliMUONRegHeader.h.

Constructor & Destructor Documentation

AliMUONRegHeader::AliMUONRegHeader ( )

ctor

Definition at line 61 of file AliMUONRegHeader.cxx.

AliMUONRegHeader::AliMUONRegHeader ( TRootIOCtor *  dummy)

ctor

Definition at line 43 of file AliMUONRegHeader.cxx.

AliMUONRegHeader::AliMUONRegHeader ( const AliMUONRegHeader event)

copy ctor

Definition at line 90 of file AliMUONRegHeader.cxx.

AliMUONRegHeader::~AliMUONRegHeader ( )
virtual

dtor

Definition at line 81 of file AliMUONRegHeader.cxx.

Member Function Documentation

void AliMUONRegHeader::Clear ( Option_t *  opt)

Clear TClones arrays instead of deleting

Definition at line 162 of file AliMUONRegHeader.cxx.

UChar_t AliMUONRegHeader::GetBusy ( ) const
inline

Return Busy.

Definition at line 80 of file AliMUONRegHeader.h.

UInt_t AliMUONRegHeader::GetClock ( ) const
inline

Return regional clock.

Definition at line 106 of file AliMUONRegHeader.h.

Bool_t AliMUONRegHeader::GetDarcPhysFlag ( ) const
inline

Return DarcPhysFlag.

Definition at line 62 of file AliMUONRegHeader.h.

UInt_t AliMUONRegHeader::GetDarcWord ( ) const
inline

Return darc word.

Definition at line 30 of file AliMUONRegHeader.h.

UInt_t AliMUONRegHeader::GetEndOfReg ( ) const
inline

Return end of regional info word.

Definition at line 97 of file AliMUONRegHeader.h.

Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawWriter::WriteTriggerDDL().

UShort_t AliMUONRegHeader::GetErrorBits ( ) const
inline

Return ErrorBits.

Definition at line 58 of file AliMUONRegHeader.h.

UInt_t AliMUONRegHeader::GetErrorWord ( ) const
inline

Return error word.

Definition at line 99 of file AliMUONRegHeader.h.

Referenced by AliMUONPayloadTrigger::Decode().

UChar_t AliMUONRegHeader::GetEventInRam ( ) const
inline

Return EventInRam.

Definition at line 78 of file AliMUONRegHeader.h.

UChar_t AliMUONRegHeader::GetFPGANumber ( ) const
inline

Return FPGANumber.

Definition at line 60 of file AliMUONRegHeader.h.

UInt_t* AliMUONRegHeader::GetHeader ( )
inline
Int_t AliMUONRegHeader::GetHeaderLength ( ) const
inline

Return header length in word.

Definition at line 95 of file AliMUONRegHeader.h.

Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawWriter::WriteTriggerDDL().

UInt_t AliMUONRegHeader::GetHold ( ) const
inline

Return regional hold (dead time)

Definition at line 110 of file AliMUONRegHeader.h.

UChar_t AliMUONRegHeader::GetId ( ) const
inline

Return Id.

Definition at line 49 of file AliMUONRegHeader.h.

UInt_t AliMUONRegHeader::GetInput ( Int_t  n) const
inline

Return regional input.

Definition at line 34 of file AliMUONRegHeader.h.

UShort_t AliMUONRegHeader::GetL0 ( ) const
inline

Return L0.

Definition at line 36 of file AliMUONRegHeader.h.

Bool_t AliMUONRegHeader::GetL0Status ( ) const
inline

Return L0Status.

Definition at line 76 of file AliMUONRegHeader.h.

Bool_t AliMUONRegHeader::GetL1Status ( ) const
inline

Return L1Status.

Definition at line 74 of file AliMUONRegHeader.h.

Bool_t AliMUONRegHeader::GetL2AccStatus ( ) const
inline

Return L2AccStatus.

Definition at line 72 of file AliMUONRegHeader.h.

Bool_t AliMUONRegHeader::GetL2RejStatus ( ) const
inline

Return L2RejStatus.

Definition at line 70 of file AliMUONRegHeader.h.

TClonesArray* AliMUONRegHeader::GetLocalArray ( ) const
inline

get TClonesArray

Definition at line 122 of file AliMUONRegHeader.h.

Referenced by AliMUONDDLTrigger::AddLocStruct().

Int_t AliMUONRegHeader::GetLocalEntries ( ) const
inline

get entries

Definition at line 125 of file AliMUONRegHeader.h.

Referenced by main(), and MUONRawStreamTrigger().

AliMUONLocalStruct* AliMUONRegHeader::GetLocalEntry ( Int_t  i) const
inline

get entry

Definition at line 128 of file AliMUONRegHeader.h.

Referenced by AliMUONRawStreamTrigger::GetNextLocalStruct(), main(), and MUONRawStreamTrigger().

UShort_t AliMUONRegHeader::GetMask ( ) const
inline

Return mask.

Definition at line 38 of file AliMUONRegHeader.h.

UChar_t AliMUONRegHeader::GetOutput ( ) const
inline

Return Output.

Definition at line 53 of file AliMUONRegHeader.h.

Bool_t AliMUONRegHeader::GetPresentFlag ( ) const
inline

Return PresentFlag.

Definition at line 64 of file AliMUONRegHeader.h.

Bool_t AliMUONRegHeader::GetRamNotEmptyFlag ( ) const
inline

Return RamNotEmptyFlag.

Definition at line 68 of file AliMUONRegHeader.h.

Bool_t AliMUONRegHeader::GetRamNotFullFlag ( ) const
inline

Return RamNotFullFlag.

Definition at line 66 of file AliMUONRegHeader.h.

Bool_t AliMUONRegHeader::GetRegPhysFlag ( ) const
inline

Return RegPhysFlag.

Definition at line 43 of file AliMUONRegHeader.h.

UChar_t AliMUONRegHeader::GetResetNb ( ) const
inline

Return ResetNb.

Definition at line 45 of file AliMUONRegHeader.h.

const UInt_t* AliMUONRegHeader::GetScaler ( ) const
inline

Return regional ouput.

Definition at line 108 of file AliMUONRegHeader.h.

Int_t AliMUONRegHeader::GetScalerLength ( ) const
inline

get scaler length

Definition at line 116 of file AliMUONRegHeader.h.

Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawWriter::WriteTriggerDDL().

UInt_t* AliMUONRegHeader::GetScalers ( )
inline
UChar_t AliMUONRegHeader::GetSerialNb ( ) const
inline

Return SerialNb.

Definition at line 47 of file AliMUONRegHeader.h.

UChar_t AliMUONRegHeader::GetVersion ( ) const
inline

Return Version.

Definition at line 51 of file AliMUONRegHeader.h.

UInt_t AliMUONRegHeader::GetWord ( ) const
inline

Return first reg word.

Definition at line 32 of file AliMUONRegHeader.h.

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

assignment operator

Definition at line 117 of file AliMUONRegHeader.cxx.

void AliMUONRegHeader::SetDarcWord ( UInt_t  w)
inline

Set darc word.

Definition at line 83 of file AliMUONRegHeader.h.

Referenced by AliMUONRawWriter::WriteTriggerDDL().

void AliMUONRegHeader::SetInput ( UInt_t  in,
Int_t  n 
)
inline

Set regional input.

Definition at line 91 of file AliMUONRegHeader.h.

Referenced by AliMUONRawWriter::WriteTriggerDDL().

void AliMUONRegHeader::SetL0 ( UShort_t  l)
inline

Set L0.

Definition at line 89 of file AliMUONRegHeader.h.

void AliMUONRegHeader::SetMask ( UShort_t  m)
inline

Set local mask ("poids faible" 16 bits)

Definition at line 87 of file AliMUONRegHeader.h.

void AliMUONRegHeader::SetScalersNumbers ( )

set random numbers to fill variable

set numbers for scaler events for Regional header since this is provided by the experiment put dummy numbers to check the monitoring

Definition at line 148 of file AliMUONRegHeader.cxx.

Referenced by AliMUONRawWriter::SetScalersNumbers().

void AliMUONRegHeader::SetWord ( UInt_t  w)
inline

Set first reg word.

Definition at line 85 of file AliMUONRegHeader.h.

Referenced by AliMUONRawWriter::WriteTriggerDDL().

Member Data Documentation

UInt_t AliMUONRegHeader::fClk
private

regional clock

Definition at line 144 of file AliMUONRegHeader.h.

Referenced by GetClock(), GetScalers(), operator=(), and SetScalersNumbers().

const UInt_t AliMUONRegHeader::fgkEndOfReg = 0xBEEFFACE
staticprivate

end of regional info word

Definition at line 150 of file AliMUONRegHeader.h.

Referenced by GetEndOfReg().

const UInt_t AliMUONRegHeader::fgkErrorWord = 0xCAFEDEAD
staticprivate

error word when a regional board is missing

Definition at line 151 of file AliMUONRegHeader.h.

Referenced by GetErrorWord().

const Int_t AliMUONRegHeader::fgkHeaderLength = 5
staticprivate

header length in word

Definition at line 149 of file AliMUONRegHeader.h.

Referenced by GetHeaderLength().

const Int_t AliMUONRegHeader::fgkScalerLength = 10
staticprivate

length of regional scaler in word

Definition at line 148 of file AliMUONRegHeader.h.

Referenced by GetScalerLength().

UInt_t AliMUONRegHeader::fHold
private

regional hold (dead time)

Definition at line 146 of file AliMUONRegHeader.h.

Referenced by GetHold(), operator=(), and SetScalersNumbers().

UInt_t AliMUONRegHeader::fInput[2]
private

regional input

Definition at line 139 of file AliMUONRegHeader.h.

Referenced by AliMUONRegHeader(), GetInput(), operator=(), and SetInput().

UShort_t AliMUONRegHeader::fL0
private

L0 counter (16 bits)

Definition at line 141 of file AliMUONRegHeader.h.

Referenced by GetL0(), operator=(), and SetL0().

TClonesArray* AliMUONRegHeader::fLocalArray
private

array of local structure

Definition at line 153 of file AliMUONRegHeader.h.

Referenced by AliMUONRegHeader(), Clear(), GetLocalArray(), GetLocalEntries(), GetLocalEntry(), operator=(), and ~AliMUONRegHeader().

UShort_t AliMUONRegHeader::fMask
private

local mask ("poids faible" 16 bits)

Definition at line 140 of file AliMUONRegHeader.h.

Referenced by GetMask(), operator=(), and SetMask().

UInt_t AliMUONRegHeader::fScaler[8]
private

regional ouput

Definition at line 145 of file AliMUONRegHeader.h.

Referenced by AliMUONRegHeader(), GetScaler(), operator=(), and SetScalersNumbers().

UInt_t AliMUONRegHeader::fWord
private

first reg word

Definition at line 138 of file AliMUONRegHeader.h.

Referenced by GetId(), GetOutput(), GetRegPhysFlag(), GetResetNb(), GetSerialNb(), GetVersion(), GetWord(), operator=(), and SetWord().


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