![]() |
AliRoot Core
3abf5b4 (3abf5b4)
|
MUON regional header for trigger. More...
#include <AliMUONRegHeader.h>
Public Member Functions | |
AliMUONRegHeader () | |
AliMUONRegHeader (TRootIOCtor *dummy) | |
AliMUONRegHeader (const AliMUONRegHeader &event) | |
AliMUONRegHeader & | operator= (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... | |
AliMUONLocalStruct * | GetLocalEntry (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... | |
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
Definition at line 19 of file AliMUONRegHeader.h.
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.
|
virtual |
dtor
Definition at line 81 of file AliMUONRegHeader.cxx.
void AliMUONRegHeader::Clear | ( | Option_t * | opt | ) |
Clear TClones arrays instead of deleting
Definition at line 162 of file AliMUONRegHeader.cxx.
|
inline |
Return Busy.
Definition at line 80 of file AliMUONRegHeader.h.
|
inline |
Return regional clock.
Definition at line 106 of file AliMUONRegHeader.h.
|
inline |
Return DarcPhysFlag.
Definition at line 62 of file AliMUONRegHeader.h.
|
inline |
Return darc word.
Definition at line 30 of file AliMUONRegHeader.h.
|
inline |
Return end of regional info word.
Definition at line 97 of file AliMUONRegHeader.h.
Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawWriter::WriteTriggerDDL().
|
inline |
Return ErrorBits.
Definition at line 58 of file AliMUONRegHeader.h.
|
inline |
Return error word.
Definition at line 99 of file AliMUONRegHeader.h.
Referenced by AliMUONPayloadTrigger::Decode().
|
inline |
Return EventInRam.
Definition at line 78 of file AliMUONRegHeader.h.
|
inline |
Return FPGANumber.
Definition at line 60 of file AliMUONRegHeader.h.
|
inline |
Return header.
Definition at line 102 of file AliMUONRegHeader.h.
Referenced by AliMUONPayloadTrigger::Decode(), AliMUONRawStreamTriggerHP::GetDDLTrigger(), and AliMUONRawWriter::WriteTriggerDDL().
|
inline |
Return header length in word.
Definition at line 95 of file AliMUONRegHeader.h.
Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawWriter::WriteTriggerDDL().
|
inline |
Return regional hold (dead time)
Definition at line 110 of file AliMUONRegHeader.h.
|
inline |
Return Id.
Definition at line 49 of file AliMUONRegHeader.h.
|
inline |
Return regional input.
Definition at line 34 of file AliMUONRegHeader.h.
|
inline |
Return L0.
Definition at line 36 of file AliMUONRegHeader.h.
|
inline |
Return L0Status.
Definition at line 76 of file AliMUONRegHeader.h.
|
inline |
Return L1Status.
Definition at line 74 of file AliMUONRegHeader.h.
|
inline |
Return L2AccStatus.
Definition at line 72 of file AliMUONRegHeader.h.
|
inline |
Return L2RejStatus.
Definition at line 70 of file AliMUONRegHeader.h.
|
inline |
get TClonesArray
Definition at line 122 of file AliMUONRegHeader.h.
Referenced by AliMUONDDLTrigger::AddLocStruct().
|
inline |
get entries
Definition at line 125 of file AliMUONRegHeader.h.
Referenced by main(), and MUONRawStreamTrigger().
|
inline |
get entry
Definition at line 128 of file AliMUONRegHeader.h.
Referenced by AliMUONRawStreamTrigger::GetNextLocalStruct(), main(), and MUONRawStreamTrigger().
|
inline |
Return mask.
Definition at line 38 of file AliMUONRegHeader.h.
|
inline |
Return Output.
Definition at line 53 of file AliMUONRegHeader.h.
|
inline |
Return PresentFlag.
Definition at line 64 of file AliMUONRegHeader.h.
|
inline |
Return RamNotEmptyFlag.
Definition at line 68 of file AliMUONRegHeader.h.
|
inline |
Return RamNotFullFlag.
Definition at line 66 of file AliMUONRegHeader.h.
|
inline |
Return RegPhysFlag.
Definition at line 43 of file AliMUONRegHeader.h.
|
inline |
Return ResetNb.
Definition at line 45 of file AliMUONRegHeader.h.
|
inline |
Return regional ouput.
Definition at line 108 of file AliMUONRegHeader.h.
|
inline |
get scaler length
Definition at line 116 of file AliMUONRegHeader.h.
Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawWriter::WriteTriggerDDL().
|
inline |
Return scalers.
Definition at line 113 of file AliMUONRegHeader.h.
Referenced by AliMUONPayloadTrigger::Decode(), AliMUONRawStreamTriggerHP::GetDDLTrigger(), and AliMUONRawWriter::WriteTriggerDDL().
|
inline |
Return SerialNb.
Definition at line 47 of file AliMUONRegHeader.h.
|
inline |
Return Version.
Definition at line 51 of file AliMUONRegHeader.h.
|
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.
|
inline |
Set darc word.
Definition at line 83 of file AliMUONRegHeader.h.
Referenced by AliMUONRawWriter::WriteTriggerDDL().
|
inline |
Set regional input.
Definition at line 91 of file AliMUONRegHeader.h.
Referenced by AliMUONRawWriter::WriteTriggerDDL().
|
inline |
Set L0.
Definition at line 89 of file AliMUONRegHeader.h.
|
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().
|
inline |
Set first reg word.
Definition at line 85 of file AliMUONRegHeader.h.
Referenced by AliMUONRawWriter::WriteTriggerDDL().
|
private |
regional clock
Definition at line 144 of file AliMUONRegHeader.h.
Referenced by GetClock(), GetScalers(), operator=(), and SetScalersNumbers().
|
private |
darc word
Definition at line 137 of file AliMUONRegHeader.h.
Referenced by GetBusy(), GetDarcPhysFlag(), GetDarcWord(), GetErrorBits(), GetEventInRam(), GetFPGANumber(), GetHeader(), GetL0Status(), GetL1Status(), GetL2AccStatus(), GetL2RejStatus(), GetPresentFlag(), GetRamNotEmptyFlag(), GetRamNotFullFlag(), operator=(), and SetDarcWord().
|
staticprivate |
end of regional info word
Definition at line 150 of file AliMUONRegHeader.h.
Referenced by GetEndOfReg().
|
staticprivate |
error word when a regional board is missing
Definition at line 151 of file AliMUONRegHeader.h.
Referenced by GetErrorWord().
|
staticprivate |
header length in word
Definition at line 149 of file AliMUONRegHeader.h.
Referenced by GetHeaderLength().
|
staticprivate |
length of regional scaler in word
Definition at line 148 of file AliMUONRegHeader.h.
Referenced by GetScalerLength().
|
private |
regional hold (dead time)
Definition at line 146 of file AliMUONRegHeader.h.
Referenced by GetHold(), operator=(), and SetScalersNumbers().
|
private |
regional input
Definition at line 139 of file AliMUONRegHeader.h.
Referenced by AliMUONRegHeader(), GetInput(), operator=(), and SetInput().
|
private |
L0 counter (16 bits)
Definition at line 141 of file AliMUONRegHeader.h.
Referenced by GetL0(), operator=(), and SetL0().
|
private |
array of local structure
Definition at line 153 of file AliMUONRegHeader.h.
Referenced by AliMUONRegHeader(), Clear(), GetLocalArray(), GetLocalEntries(), GetLocalEntry(), operator=(), and ~AliMUONRegHeader().
|
private |
local mask ("poids faible" 16 bits)
Definition at line 140 of file AliMUONRegHeader.h.
Referenced by GetMask(), operator=(), and SetMask().
|
private |
regional ouput
Definition at line 145 of file AliMUONRegHeader.h.
Referenced by AliMUONRegHeader(), GetScaler(), operator=(), and SetScalersNumbers().
|
private |
first reg word
Definition at line 138 of file AliMUONRegHeader.h.
Referenced by GetId(), GetOutput(), GetRegPhysFlag(), GetResetNb(), GetSerialNb(), GetVersion(), GetWord(), operator=(), and SetWord().