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

MUON Darc header for Trigger. More...

#include <AliMUONDarcHeader.h>

Inheritance diagram for AliMUONDarcHeader:

Public Member Functions

 AliMUONDarcHeader ()
 
 AliMUONDarcHeader (TRootIOCtor *dummy)
 
 AliMUONDarcHeader (const AliMUONDarcHeader &event)
 
AliMUONDarcHeaderoperator= (const AliMUONDarcHeader &event)
 
virtual ~AliMUONDarcHeader ()
 
UInt_t GetWord () const
 Return first word. More...
 
UInt_t GetGlobalInput (Int_t n) const
 Return global input. More...
 
UChar_t GetGlobalOutput () const
 Return global output. More...
 
UShort_t GetGlobalConfig () const
 Return global config. More...
 
Bool_t GetEventType () const
 Return event type. More...
 
UChar_t GetDarcType () const
 Return Darc type. More...
 
UChar_t GetSerialNb () const
 Return serial number. More...
 
UChar_t GetVersion () const
 Return version. More...
 
Bool_t GetVMETrig () const
 Return VME trig. More...
 
Bool_t GetGlobalFlag () const
 Return global flag. More...
 
Bool_t GetCTPTrig () const
 Return CPT trigger. More...
 
Bool_t GetDAQFlag () const
 Return DAQ flag. More...
 
UChar_t GetRegPattern () const
 Return reg pattern. More...
 
void SetWord (UInt_t w)
 Set first word. More...
 
void SetGlobalInput (UInt_t in, Int_t n)
 Set global input. More...
 
void SetGlobalOutput (Int_t out)
 Set global output. More...
 
Int_t GetDarcHeaderLength () const
 Return darc header length. More...
 
Int_t GetGlobalHeaderLength () const
 Return global header length. More...
 
UInt_t * GetHeader ()
 Return header. More...
 
UInt_t * GetGlobalInput ()
 Return global input. More...
 
UInt_t GetDarcL0R () const
 Return DARC L0 received and used. More...
 
UInt_t GetDarcL1P () const
 Return DARC L1 physics. More...
 
UInt_t GetDarcL1S () const
 Return DARC L1 software. More...
 
UInt_t GetDarcL2A () const
 Return DARC L2 accept. More...
 
UInt_t GetDarcL2R () const
 Return DARC L2 reject. More...
 
UInt_t GetDarcClock () const
 Return DARC clock. More...
 
UInt_t GetDarcHold () const
 Return DARC hold (dead time) More...
 
UInt_t * GetGlobalScalers ()
 Return global L0. More...
 
UInt_t * GetDarcScalers ()
 Return DARC L0 received and used. More...
 
UInt_t GetGlobalL0 () const
 Return global L0. More...
 
UInt_t GetGlobalClock () const
 Return global clock. More...
 
const UInt_t * GetGlobalScaler () const
 Return global scaler. More...
 
UInt_t GetGlobalHold () const
 Return global hold (dead time) More...
 
UInt_t GetGlobalSpare () const
 Return global spare. More...
 
Int_t GetGlobalScalerLength () const
 Return length of global scaler in word. More...
 
Int_t GetDarcScalerLength () const
 Return length of DARC scaler in word. More...
 
UInt_t GetEndOfDarc () const
 Return end of darc info word. More...
 
UInt_t GetEndOfGlobal () const
 Return end of global info word. More...
 
UInt_t GetDarcDefaultType () const
 Return default type for DARC def. More...
 
UInt_t GetDarcVadohrType () const
 Return default type for DARC def. More...
 
void SetScalersNumbers ()
 
TClonesArray * GetRegHeaderArray () const
 get TClonesArray More...
 
Int_t GetRegHeaderEntries () const
 get entries More...
 
AliMUONRegHeaderGetRegHeaderEntry (Int_t i) const
 get entry More...
 
void Clear (Option_t *opt)
 

Private Attributes

UInt_t fWord
 first word More...
 
UInt_t fGlobalInput [4]
 global input More...
 
Int_t fGlobalOutput
 global ouput More...
 
UInt_t fGlobalL0
 global L0 More...
 
UInt_t fGlobalClk
 global clock More...
 
UInt_t fGlobalScaler [6]
 global ouput More...
 
UInt_t fGlobalHold
 global hold (dead time) More...
 
UInt_t fGlobalSpare
 global spare More...
 
UInt_t fDarcL0R
 DARC L0 received and used. More...
 
UInt_t fDarcL1P
 DARC L1 physics. More...
 
UInt_t fDarcL1S
 DARC L1 software. More...
 
UInt_t fDarcL2A
 DARC L2 accept. More...
 
UInt_t fDarcL2R
 DARC L2 reject. More...
 
UInt_t fDarcClk
 DARC clock. More...
 
UInt_t fDarcHold
 DARC hold (dead time) More...
 
UInt_t fDarcSpare
 DARC Empty slot (for the moment) More...
 
TClonesArray * fRegHeaderArray
 container for regional header More...
 

Static Private Attributes

static const Int_t fgkDarcHeaderLength = 1
 darc header length More...
 
static const Int_t fgkGlobalHeaderLength = 5
 global header length More...
 
static const Int_t fgkGlobalScalerLength = 10
 length of global scaler in word More...
 
static const Int_t fgkDarcScalerLength = 8
 length of DARC scaler in word More...
 
static const UInt_t fgkEndOfDarc = 0xDEADFACE
 end of darc info word More...
 
static const UInt_t fgkEndOfGlobal = 0xDEADBEEF
 end of global info word More...
 
static const UInt_t fgkDarcDefaultType = 6
 default type for DARC def. More...
 
static const UInt_t fgkDarcVadorhType = 4
 default type for DARC vadorh More...
 

Detailed Description

MUON Darc header for Trigger.

Darc structure for trigger raw data. Each DDL contains one Darc structure The structure includes the information of the Darc boards the Global board input and the global board output The structure containes the information of the 8 (at most) regional structures.

Author
Christian Finck

Definition at line 19 of file AliMUONDarcHeader.h.

Constructor & Destructor Documentation

AliMUONDarcHeader::AliMUONDarcHeader ( )

ctor

Definition at line 76 of file AliMUONDarcHeader.cxx.

AliMUONDarcHeader::AliMUONDarcHeader ( TRootIOCtor *  dummy)

ctor

Definition at line 48 of file AliMUONDarcHeader.cxx.

AliMUONDarcHeader::AliMUONDarcHeader ( const AliMUONDarcHeader event)

copy ctor

Definition at line 109 of file AliMUONDarcHeader.cxx.

AliMUONDarcHeader::~AliMUONDarcHeader ( )
virtual

dtor

Definition at line 185 of file AliMUONDarcHeader.cxx.

Member Function Documentation

void AliMUONDarcHeader::Clear ( Option_t *  opt)

Clear TClones arrays instead of deleting

Definition at line 238 of file AliMUONDarcHeader.cxx.

Bool_t AliMUONDarcHeader::GetCTPTrig ( ) const
inline

Return CPT trigger.

Definition at line 56 of file AliMUONDarcHeader.h.

Bool_t AliMUONDarcHeader::GetDAQFlag ( ) const
inline

Return DAQ flag.

Definition at line 58 of file AliMUONDarcHeader.h.

UInt_t AliMUONDarcHeader::GetDarcClock ( ) const
inline

Return DARC clock.

Definition at line 91 of file AliMUONDarcHeader.h.

UInt_t AliMUONDarcHeader::GetDarcDefaultType ( ) const
inline

Return default type for DARC def.

Definition at line 124 of file AliMUONDarcHeader.h.

Referenced by AliMUONPayloadTrigger::Decode().

Int_t AliMUONDarcHeader::GetDarcHeaderLength ( ) const
inline

Return darc header length.

Definition at line 70 of file AliMUONDarcHeader.h.

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

UInt_t AliMUONDarcHeader::GetDarcHold ( ) const
inline

Return DARC hold (dead time)

Definition at line 93 of file AliMUONDarcHeader.h.

UInt_t AliMUONDarcHeader::GetDarcL0R ( ) const
inline

Return DARC L0 received and used.

Definition at line 81 of file AliMUONDarcHeader.h.

UInt_t AliMUONDarcHeader::GetDarcL1P ( ) const
inline

Return DARC L1 physics.

Definition at line 83 of file AliMUONDarcHeader.h.

UInt_t AliMUONDarcHeader::GetDarcL1S ( ) const
inline

Return DARC L1 software.

Definition at line 85 of file AliMUONDarcHeader.h.

UInt_t AliMUONDarcHeader::GetDarcL2A ( ) const
inline

Return DARC L2 accept.

Definition at line 87 of file AliMUONDarcHeader.h.

UInt_t AliMUONDarcHeader::GetDarcL2R ( ) const
inline

Return DARC L2 reject.

Definition at line 89 of file AliMUONDarcHeader.h.

Int_t AliMUONDarcHeader::GetDarcScalerLength ( ) const
inline

Return length of DARC scaler in word.

Definition at line 116 of file AliMUONDarcHeader.h.

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

UInt_t* AliMUONDarcHeader::GetDarcScalers ( )
inline

Return DARC L0 received and used.

Definition at line 99 of file AliMUONDarcHeader.h.

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

UChar_t AliMUONDarcHeader::GetDarcType ( ) const
inline

Return Darc type.

Definition at line 46 of file AliMUONDarcHeader.h.

Referenced by AliMUONPayloadTrigger::Decode().

UInt_t AliMUONDarcHeader::GetDarcVadohrType ( ) const
inline

Return default type for DARC def.

Definition at line 126 of file AliMUONDarcHeader.h.

Referenced by AliMUONPayloadTrigger::Decode().

UInt_t AliMUONDarcHeader::GetEndOfDarc ( ) const
inline

Return end of darc info word.

Definition at line 119 of file AliMUONDarcHeader.h.

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

UInt_t AliMUONDarcHeader::GetEndOfGlobal ( ) const
inline

Return end of global info word.

Definition at line 121 of file AliMUONDarcHeader.h.

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

Bool_t AliMUONDarcHeader::GetEventType ( ) const

Return event type.

return 1 for physics trigger return 0 for software trigger

Definition at line 220 of file AliMUONDarcHeader.cxx.

Referenced by AliMUONPayloadTrigger::Decode().

UInt_t AliMUONDarcHeader::GetGlobalClock ( ) const
inline

Return global clock.

Definition at line 105 of file AliMUONDarcHeader.h.

UShort_t AliMUONDarcHeader::GetGlobalConfig ( ) const
inline

Return global config.

Definition at line 37 of file AliMUONDarcHeader.h.

Bool_t AliMUONDarcHeader::GetGlobalFlag ( ) const
inline

Return global flag.

Definition at line 54 of file AliMUONDarcHeader.h.

Int_t AliMUONDarcHeader::GetGlobalHeaderLength ( ) const
inline

Return global header length.

Definition at line 72 of file AliMUONDarcHeader.h.

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

UInt_t AliMUONDarcHeader::GetGlobalHold ( ) const
inline

Return global hold (dead time)

Definition at line 109 of file AliMUONDarcHeader.h.

UInt_t AliMUONDarcHeader::GetGlobalInput ( Int_t  n) const
inline
UInt_t* AliMUONDarcHeader::GetGlobalInput ( )
inline

Return global input.

Definition at line 77 of file AliMUONDarcHeader.h.

UInt_t AliMUONDarcHeader::GetGlobalL0 ( ) const
inline

Return global L0.

Definition at line 103 of file AliMUONDarcHeader.h.

UChar_t AliMUONDarcHeader::GetGlobalOutput ( ) const
inline

Return global output.

Definition at line 35 of file AliMUONDarcHeader.h.

Referenced by main(), and MUONRawStreamTrigger().

const UInt_t* AliMUONDarcHeader::GetGlobalScaler ( ) const
inline

Return global scaler.

Definition at line 107 of file AliMUONDarcHeader.h.

Int_t AliMUONDarcHeader::GetGlobalScalerLength ( ) const
inline

Return length of global scaler in word.

Definition at line 114 of file AliMUONDarcHeader.h.

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

UInt_t* AliMUONDarcHeader::GetGlobalScalers ( )
inline
UInt_t AliMUONDarcHeader::GetGlobalSpare ( ) const
inline

Return global spare.

Definition at line 111 of file AliMUONDarcHeader.h.

UInt_t* AliMUONDarcHeader::GetHeader ( )
inline
TClonesArray* AliMUONDarcHeader::GetRegHeaderArray ( ) const
inline

get TClonesArray

Definition at line 132 of file AliMUONDarcHeader.h.

Referenced by AliMUONDDLTrigger::AddRegHeader(), and AliMUONPayloadTrigger::ResetDDL().

Int_t AliMUONDarcHeader::GetRegHeaderEntries ( ) const
inline

get entries

Definition at line 135 of file AliMUONDarcHeader.h.

Referenced by main(), and MUONRawStreamTrigger().

AliMUONRegHeader* AliMUONDarcHeader::GetRegHeaderEntry ( Int_t  i) const
inline
UChar_t AliMUONDarcHeader::GetRegPattern ( ) const
inline

Return reg pattern.

Definition at line 60 of file AliMUONDarcHeader.h.

UChar_t AliMUONDarcHeader::GetSerialNb ( ) const
inline

Return serial number.

Definition at line 48 of file AliMUONDarcHeader.h.

UChar_t AliMUONDarcHeader::GetVersion ( ) const
inline

Return version.

Definition at line 50 of file AliMUONDarcHeader.h.

Bool_t AliMUONDarcHeader::GetVMETrig ( ) const
inline

Return VME trig.

Definition at line 52 of file AliMUONDarcHeader.h.

UInt_t AliMUONDarcHeader::GetWord ( ) const
inline

Return first word.

Definition at line 31 of file AliMUONDarcHeader.h.

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

assignment operator

Definition at line 146 of file AliMUONDarcHeader.cxx.

void AliMUONDarcHeader::SetGlobalInput ( UInt_t  in,
Int_t  n 
)
inline

Set global input.

Definition at line 65 of file AliMUONDarcHeader.h.

Referenced by AliMUONRawWriter::WriteTriggerDDL().

void AliMUONDarcHeader::SetGlobalOutput ( Int_t  out)
inline

Set global output.

Definition at line 67 of file AliMUONDarcHeader.h.

Referenced by AliMUONRawWriter::WriteTriggerDDL().

void AliMUONDarcHeader::SetScalersNumbers ( )

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

Definition at line 195 of file AliMUONDarcHeader.cxx.

Referenced by AliMUONRawWriter::SetScalersNumbers().

void AliMUONDarcHeader::SetWord ( UInt_t  w)
inline

Set first word.

Definition at line 63 of file AliMUONDarcHeader.h.

Referenced by AliMUONRawWriter::WriteTriggerDDL().

Member Data Documentation

UInt_t AliMUONDarcHeader::fDarcClk
private

DARC clock.

Definition at line 168 of file AliMUONDarcHeader.h.

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

UInt_t AliMUONDarcHeader::fDarcHold
private

DARC hold (dead time)

Definition at line 169 of file AliMUONDarcHeader.h.

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

UInt_t AliMUONDarcHeader::fDarcL0R
private

DARC L0 received and used.

Definition at line 163 of file AliMUONDarcHeader.h.

Referenced by GetDarcL0R(), GetDarcScalers(), operator=(), and SetScalersNumbers().

UInt_t AliMUONDarcHeader::fDarcL1P
private

DARC L1 physics.

Definition at line 164 of file AliMUONDarcHeader.h.

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

UInt_t AliMUONDarcHeader::fDarcL1S
private

DARC L1 software.

Definition at line 165 of file AliMUONDarcHeader.h.

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

UInt_t AliMUONDarcHeader::fDarcL2A
private

DARC L2 accept.

Definition at line 166 of file AliMUONDarcHeader.h.

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

UInt_t AliMUONDarcHeader::fDarcL2R
private

DARC L2 reject.

Definition at line 167 of file AliMUONDarcHeader.h.

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

UInt_t AliMUONDarcHeader::fDarcSpare
private

DARC Empty slot (for the moment)

Definition at line 170 of file AliMUONDarcHeader.h.

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

const UInt_t AliMUONDarcHeader::fgkDarcDefaultType = 6
staticprivate

default type for DARC def.

Definition at line 177 of file AliMUONDarcHeader.h.

Referenced by GetDarcDefaultType().

const Int_t AliMUONDarcHeader::fgkDarcHeaderLength = 1
staticprivate

darc header length

Definition at line 150 of file AliMUONDarcHeader.h.

Referenced by GetDarcHeaderLength().

const Int_t AliMUONDarcHeader::fgkDarcScalerLength = 8
staticprivate

length of DARC scaler in word

Definition at line 172 of file AliMUONDarcHeader.h.

Referenced by GetDarcScalerLength().

const UInt_t AliMUONDarcHeader::fgkDarcVadorhType = 4
staticprivate

default type for DARC vadorh

Definition at line 178 of file AliMUONDarcHeader.h.

Referenced by GetDarcVadohrType().

const UInt_t AliMUONDarcHeader::fgkEndOfDarc = 0xDEADFACE
staticprivate

end of darc info word

Definition at line 174 of file AliMUONDarcHeader.h.

Referenced by GetEndOfDarc().

const UInt_t AliMUONDarcHeader::fgkEndOfGlobal = 0xDEADBEEF
staticprivate

end of global info word

Definition at line 175 of file AliMUONDarcHeader.h.

Referenced by GetEndOfGlobal().

const Int_t AliMUONDarcHeader::fgkGlobalHeaderLength = 5
staticprivate

global header length

Definition at line 151 of file AliMUONDarcHeader.h.

Referenced by GetGlobalHeaderLength().

const Int_t AliMUONDarcHeader::fgkGlobalScalerLength = 10
staticprivate

length of global scaler in word

Definition at line 160 of file AliMUONDarcHeader.h.

Referenced by GetGlobalScalerLength().

UInt_t AliMUONDarcHeader::fGlobalClk
private

global clock

Definition at line 156 of file AliMUONDarcHeader.h.

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

UInt_t AliMUONDarcHeader::fGlobalHold
private

global hold (dead time)

Definition at line 158 of file AliMUONDarcHeader.h.

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

UInt_t AliMUONDarcHeader::fGlobalInput[4]
private

global input

Definition at line 147 of file AliMUONDarcHeader.h.

Referenced by AliMUONDarcHeader(), GetGlobalInput(), operator=(), and SetGlobalInput().

UInt_t AliMUONDarcHeader::fGlobalL0
private

global L0

Definition at line 155 of file AliMUONDarcHeader.h.

Referenced by GetGlobalL0(), GetGlobalScalers(), operator=(), and SetScalersNumbers().

Int_t AliMUONDarcHeader::fGlobalOutput
private

global ouput

Definition at line 148 of file AliMUONDarcHeader.h.

Referenced by GetGlobalConfig(), GetGlobalOutput(), operator=(), and SetGlobalOutput().

UInt_t AliMUONDarcHeader::fGlobalScaler[6]
private

global ouput

Definition at line 157 of file AliMUONDarcHeader.h.

Referenced by AliMUONDarcHeader(), GetGlobalScaler(), operator=(), and SetScalersNumbers().

UInt_t AliMUONDarcHeader::fGlobalSpare
private

global spare

Definition at line 159 of file AliMUONDarcHeader.h.

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

TClonesArray* AliMUONDarcHeader::fRegHeaderArray
private

container for regional header

Definition at line 181 of file AliMUONDarcHeader.h.

Referenced by AliMUONDarcHeader(), Clear(), GetRegHeaderArray(), GetRegHeaderEntries(), GetRegHeaderEntry(), operator=(), and ~AliMUONDarcHeader().

UInt_t AliMUONDarcHeader::fWord
private

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