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

Class for decoding the payload for trigger raw data. More...

#include <AliMUONPayloadTrigger.h>

Inheritance diagram for AliMUONPayloadTrigger:

Public Member Functions

 AliMUONPayloadTrigger ()
 
virtual ~AliMUONPayloadTrigger ()
 
Bool_t Decode (UInt_t *buffer, Bool_t scalerEvent=kFALSE)
 
void ResetDDL ()
 
Int_t GetMaxReg () const
 Return maximum number of regional cards in DATE file. More...
 
Int_t GetMaxLoc () const
 Return maximum number of local cards in DATE file. More...
 
void SetMaxLoc (Int_t loc)
 
AliMUONLocalStructGetLocalInfo () const
 Return pointer to local structure. More...
 
AliMUONRegHeaderGetRegHeader () const
 Return pointer for regional structure. More...
 
AliMUONDDLTriggerGetDDLTrigger () const
 Return pointer for DDL structure. More...
 
Int_t GetDarcEoWErrors () const
 Get number of end of DARC word errors. More...
 
Int_t GetGlobalEoWErrors () const
 Get number of end of Global word errors. More...
 
Int_t GetRegEoWErrors () const
 Get number of end of regional word errors. More...
 
Int_t GetLocalEoWErrors () const
 Get number of end of local word errors. More...
 
AliMUONLoggerGetErrorLogger () const
 Get Error logger. More...
 
void DisableWarnings ()
 set warnings flag More...
 

Private Member Functions

 AliMUONPayloadTrigger (const AliMUONPayloadTrigger &stream)
 Not implemented. More...
 
AliMUONPayloadTriggeroperator= (const AliMUONPayloadTrigger &stream)
 Not implemented. More...
 
void AddErrorMessage (const Char_t *msg)
 
void SetMaxReg (Int_t reg)
 

Private Attributes

Int_t fMaxReg
 maximum number of regional cards in DATE file More...
 
Int_t fMaxLoc
 maximum number of local cards in DATE file More...
 
AliMUONDDLTriggerfDDLTrigger
 ! pointer for DDL structure More...
 
AliMUONRegHeaderfRegHeader
 ! pointer for regional structure More...
 
AliMUONLocalStructfLocalStruct
 ! pointer to local structure More...
 
AliMUONLoggerfLog
 ! Map of errors msg; More...
 
Int_t fDarcEoWErrors
 ! number of end of DARC word errors; More...
 
Int_t fGlobalEoWErrors
 ! number of end of global word errors; More...
 
Int_t fRegEoWErrors
 ! number of end of regional word errors; More...
 
Int_t fLocalEoWErrors
 ! number of end of local word errors; More...
 
Bool_t fWarnings
 ! flag to enable/disable warnings More...
 
Bool_t fNofRegSet
 ! true if number of regional boards is set from outside More...
 

Detailed Description

Class for decoding the payload for trigger raw data.

Class Payload

Decodes rawdata from buffer and stores in TClonesArray.

First version implement for Trigger

Author
Christian Finck

Definition at line 22 of file AliMUONPayloadTrigger.h.

Constructor & Destructor Documentation

AliMUONPayloadTrigger::AliMUONPayloadTrigger ( )

create an object to read MUON raw digits Default ctor for monitoring purposes

Definition at line 43 of file AliMUONPayloadTrigger.cxx.

AliMUONPayloadTrigger::~AliMUONPayloadTrigger ( )
virtual

clean up

Definition at line 66 of file AliMUONPayloadTrigger.cxx.

AliMUONPayloadTrigger::AliMUONPayloadTrigger ( const AliMUONPayloadTrigger stream)
private

Not implemented.

Member Function Documentation

void AliMUONPayloadTrigger::AddErrorMessage ( const Char_t *  msg)
private

adding message to logger

Definition at line 246 of file AliMUONPayloadTrigger.cxx.

Referenced by Decode().

Bool_t AliMUONPayloadTrigger::Decode ( UInt_t *  buffer,
Bool_t  scalerEvent = kFALSE 
)

decode trigger DDL store only notified cards

Definition at line 79 of file AliMUONPayloadTrigger.cxx.

Referenced by AliMUONRawStreamTrigger::GetNextDDL(), and AliMUONRawStreamTrigger::NextDDL().

void AliMUONPayloadTrigger::DisableWarnings ( )
inline

set warnings flag

Definition at line 58 of file AliMUONPayloadTrigger.h.

Referenced by AliMUONRawStreamTrigger::DisableWarnings().

Int_t AliMUONPayloadTrigger::GetDarcEoWErrors ( ) const
inline

Get number of end of DARC word errors.

Definition at line 46 of file AliMUONPayloadTrigger.h.

AliMUONDDLTrigger* AliMUONPayloadTrigger::GetDDLTrigger ( ) const
inline

Return pointer for DDL structure.

Definition at line 43 of file AliMUONPayloadTrigger.h.

Referenced by AliMUONRawStreamTrigger::GetDDLTrigger(), and AliMUONRawStreamTrigger::GetNextDDL().

AliMUONLogger* AliMUONPayloadTrigger::GetErrorLogger ( ) const
inline

Get Error logger.

Definition at line 55 of file AliMUONPayloadTrigger.h.

Referenced by AliMUONRawStreamTrigger::AddErrorMessage().

Int_t AliMUONPayloadTrigger::GetGlobalEoWErrors ( ) const
inline

Get number of end of Global word errors.

Definition at line 48 of file AliMUONPayloadTrigger.h.

Int_t AliMUONPayloadTrigger::GetLocalEoWErrors ( ) const
inline

Get number of end of local word errors.

Definition at line 52 of file AliMUONPayloadTrigger.h.

AliMUONLocalStruct* AliMUONPayloadTrigger::GetLocalInfo ( ) const
inline

Return pointer to local structure.

Definition at line 39 of file AliMUONPayloadTrigger.h.

Int_t AliMUONPayloadTrigger::GetMaxLoc ( ) const
inline

Return maximum number of local cards in DATE file.

Definition at line 33 of file AliMUONPayloadTrigger.h.

Referenced by AliMUONRawStreamTrigger::GetMaxLoc().

Int_t AliMUONPayloadTrigger::GetMaxReg ( ) const
inline

Return maximum number of regional cards in DATE file.

Definition at line 31 of file AliMUONPayloadTrigger.h.

Referenced by AliMUONRawStreamTrigger::GetMaxReg().

Int_t AliMUONPayloadTrigger::GetRegEoWErrors ( ) const
inline

Get number of end of regional word errors.

Definition at line 50 of file AliMUONPayloadTrigger.h.

AliMUONRegHeader* AliMUONPayloadTrigger::GetRegHeader ( ) const
inline

Return pointer for regional structure.

Definition at line 41 of file AliMUONPayloadTrigger.h.

AliMUONPayloadTrigger& AliMUONPayloadTrigger::operator= ( const AliMUONPayloadTrigger stream)
private

Not implemented.

void AliMUONPayloadTrigger::ResetDDL ( )

reseting TClonesArray after each DDL

Definition at line 214 of file AliMUONPayloadTrigger.cxx.

Referenced by AliMUONRawStreamTrigger::GetNextDDL(), and AliMUONRawStreamTrigger::NextDDL().

void AliMUONPayloadTrigger::SetMaxLoc ( Int_t  loc)

set local card number

Definition at line 238 of file AliMUONPayloadTrigger.cxx.

Referenced by AliMUONRawStreamTrigger::SetMaxLoc().

void AliMUONPayloadTrigger::SetMaxReg ( Int_t  reg)
private

set regional card number

Definition at line 228 of file AliMUONPayloadTrigger.cxx.

Member Data Documentation

Int_t AliMUONPayloadTrigger::fDarcEoWErrors
private

! number of end of DARC word errors;

Definition at line 77 of file AliMUONPayloadTrigger.h.

Referenced by Decode(), GetDarcEoWErrors(), and ResetDDL().

AliMUONDDLTrigger* AliMUONPayloadTrigger::fDDLTrigger
private

! pointer for DDL structure

Definition at line 72 of file AliMUONPayloadTrigger.h.

Referenced by Decode(), GetDDLTrigger(), ResetDDL(), and ~AliMUONPayloadTrigger().

Int_t AliMUONPayloadTrigger::fGlobalEoWErrors
private

! number of end of global word errors;

Definition at line 78 of file AliMUONPayloadTrigger.h.

Referenced by Decode(), GetGlobalEoWErrors(), and ResetDDL().

Int_t AliMUONPayloadTrigger::fLocalEoWErrors
private

! number of end of local word errors;

Definition at line 80 of file AliMUONPayloadTrigger.h.

Referenced by Decode(), GetLocalEoWErrors(), and ResetDDL().

AliMUONLocalStruct* AliMUONPayloadTrigger::fLocalStruct
private

! pointer to local structure

Definition at line 74 of file AliMUONPayloadTrigger.h.

Referenced by Decode(), GetLocalInfo(), and ~AliMUONPayloadTrigger().

AliMUONLogger* AliMUONPayloadTrigger::fLog
private

! Map of errors msg;

Definition at line 76 of file AliMUONPayloadTrigger.h.

Referenced by AddErrorMessage(), GetErrorLogger(), and ~AliMUONPayloadTrigger().

Int_t AliMUONPayloadTrigger::fMaxLoc
private

maximum number of local cards in DATE file

Definition at line 70 of file AliMUONPayloadTrigger.h.

Referenced by Decode(), GetMaxLoc(), and SetMaxLoc().

Int_t AliMUONPayloadTrigger::fMaxReg
private

maximum number of regional cards in DATE file

Definition at line 69 of file AliMUONPayloadTrigger.h.

Referenced by Decode(), GetMaxReg(), and SetMaxReg().

Bool_t AliMUONPayloadTrigger::fNofRegSet
private

! true if number of regional boards is set from outside

Definition at line 82 of file AliMUONPayloadTrigger.h.

Referenced by SetMaxReg().

Int_t AliMUONPayloadTrigger::fRegEoWErrors
private

! number of end of regional word errors;

Definition at line 79 of file AliMUONPayloadTrigger.h.

Referenced by Decode(), GetRegEoWErrors(), and ResetDDL().

AliMUONRegHeader* AliMUONPayloadTrigger::fRegHeader
private

! pointer for regional structure

Definition at line 73 of file AliMUONPayloadTrigger.h.

Referenced by Decode(), GetRegHeader(), and ~AliMUONPayloadTrigger().

Bool_t AliMUONPayloadTrigger::fWarnings
private

! flag to enable/disable warnings

Definition at line 81 of file AliMUONPayloadTrigger.h.

Referenced by Decode(), and DisableWarnings().


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