![]() |
AliRoot Core
3abf5b4 (3abf5b4)
|
MUON Darc header for Trigger. More...
#include <AliMUONDarcHeader.h>
Public Member Functions | |
AliMUONDarcHeader () | |
AliMUONDarcHeader (TRootIOCtor *dummy) | |
AliMUONDarcHeader (const AliMUONDarcHeader &event) | |
AliMUONDarcHeader & | operator= (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... | |
AliMUONRegHeader * | GetRegHeaderEntry (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... | |
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.
Definition at line 19 of file AliMUONDarcHeader.h.
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.
|
virtual |
dtor
Definition at line 185 of file AliMUONDarcHeader.cxx.
void AliMUONDarcHeader::Clear | ( | Option_t * | opt | ) |
Clear TClones arrays instead of deleting
Definition at line 238 of file AliMUONDarcHeader.cxx.
|
inline |
Return CPT trigger.
Definition at line 56 of file AliMUONDarcHeader.h.
|
inline |
Return DAQ flag.
Definition at line 58 of file AliMUONDarcHeader.h.
|
inline |
Return DARC clock.
Definition at line 91 of file AliMUONDarcHeader.h.
|
inline |
Return default type for DARC def.
Definition at line 124 of file AliMUONDarcHeader.h.
Referenced by AliMUONPayloadTrigger::Decode().
|
inline |
Return darc header length.
Definition at line 70 of file AliMUONDarcHeader.h.
Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawWriter::WriteTriggerDDL().
|
inline |
Return DARC hold (dead time)
Definition at line 93 of file AliMUONDarcHeader.h.
|
inline |
Return DARC L0 received and used.
Definition at line 81 of file AliMUONDarcHeader.h.
|
inline |
Return DARC L1 physics.
Definition at line 83 of file AliMUONDarcHeader.h.
|
inline |
Return DARC L1 software.
Definition at line 85 of file AliMUONDarcHeader.h.
|
inline |
Return DARC L2 accept.
Definition at line 87 of file AliMUONDarcHeader.h.
|
inline |
Return DARC L2 reject.
Definition at line 89 of file AliMUONDarcHeader.h.
|
inline |
Return length of DARC scaler in word.
Definition at line 116 of file AliMUONDarcHeader.h.
Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawWriter::WriteTriggerDDL().
|
inline |
Return DARC L0 received and used.
Definition at line 99 of file AliMUONDarcHeader.h.
Referenced by AliMUONPayloadTrigger::Decode(), AliMUONRawStreamTriggerHP::GetDDLTrigger(), and AliMUONRawWriter::WriteTriggerDDL().
|
inline |
Return Darc type.
Definition at line 46 of file AliMUONDarcHeader.h.
Referenced by AliMUONPayloadTrigger::Decode().
|
inline |
Return default type for DARC def.
Definition at line 126 of file AliMUONDarcHeader.h.
Referenced by AliMUONPayloadTrigger::Decode().
|
inline |
Return end of darc info word.
Definition at line 119 of file AliMUONDarcHeader.h.
Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawWriter::WriteTriggerDDL().
|
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().
|
inline |
Return global clock.
Definition at line 105 of file AliMUONDarcHeader.h.
|
inline |
Return global config.
Definition at line 37 of file AliMUONDarcHeader.h.
|
inline |
Return global flag.
Definition at line 54 of file AliMUONDarcHeader.h.
|
inline |
Return global header length.
Definition at line 72 of file AliMUONDarcHeader.h.
Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawWriter::WriteTriggerDDL().
|
inline |
Return global hold (dead time)
Definition at line 109 of file AliMUONDarcHeader.h.
|
inline |
Return global input.
Definition at line 33 of file AliMUONDarcHeader.h.
Referenced by AliMUONPayloadTrigger::Decode(), AliMUONRawStreamTriggerHP::GetDDLTrigger(), main(), and AliMUONRawWriter::WriteTriggerDDL().
|
inline |
Return global input.
Definition at line 77 of file AliMUONDarcHeader.h.
|
inline |
Return global L0.
Definition at line 103 of file AliMUONDarcHeader.h.
|
inline |
Return global output.
Definition at line 35 of file AliMUONDarcHeader.h.
Referenced by main(), and MUONRawStreamTrigger().
|
inline |
Return global scaler.
Definition at line 107 of file AliMUONDarcHeader.h.
|
inline |
Return length of global scaler in word.
Definition at line 114 of file AliMUONDarcHeader.h.
Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawWriter::WriteTriggerDDL().
|
inline |
Return global L0.
Definition at line 97 of file AliMUONDarcHeader.h.
Referenced by AliMUONPayloadTrigger::Decode(), AliMUONRawStreamTriggerHP::GetDDLTrigger(), and AliMUONRawWriter::WriteTriggerDDL().
|
inline |
Return global spare.
Definition at line 111 of file AliMUONDarcHeader.h.
|
inline |
Return header.
Definition at line 75 of file AliMUONDarcHeader.h.
Referenced by AliMUONPayloadTrigger::Decode(), AliMUONRawStreamTriggerHP::GetDDLTrigger(), and AliMUONRawWriter::WriteTriggerDDL().
|
inline |
get TClonesArray
Definition at line 132 of file AliMUONDarcHeader.h.
Referenced by AliMUONDDLTrigger::AddRegHeader(), and AliMUONPayloadTrigger::ResetDDL().
|
inline |
get entries
Definition at line 135 of file AliMUONDarcHeader.h.
Referenced by main(), and MUONRawStreamTrigger().
|
inline |
get entry
Definition at line 138 of file AliMUONDarcHeader.h.
Referenced by AliMUONDDLTrigger::AddLocStruct(), AliMUONRawStreamTrigger::GetNextRegHeader(), main(), and MUONRawStreamTrigger().
|
inline |
Return reg pattern.
Definition at line 60 of file AliMUONDarcHeader.h.
|
inline |
Return serial number.
Definition at line 48 of file AliMUONDarcHeader.h.
|
inline |
Return version.
Definition at line 50 of file AliMUONDarcHeader.h.
|
inline |
Return VME trig.
Definition at line 52 of file AliMUONDarcHeader.h.
|
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.
|
inline |
Set global input.
Definition at line 65 of file AliMUONDarcHeader.h.
Referenced by AliMUONRawWriter::WriteTriggerDDL().
|
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().
|
inline |
Set first word.
Definition at line 63 of file AliMUONDarcHeader.h.
Referenced by AliMUONRawWriter::WriteTriggerDDL().
|
private |
DARC clock.
Definition at line 168 of file AliMUONDarcHeader.h.
Referenced by GetDarcClock(), operator=(), and SetScalersNumbers().
|
private |
DARC hold (dead time)
Definition at line 169 of file AliMUONDarcHeader.h.
Referenced by GetDarcHold(), operator=(), and SetScalersNumbers().
|
private |
DARC L0 received and used.
Definition at line 163 of file AliMUONDarcHeader.h.
Referenced by GetDarcL0R(), GetDarcScalers(), operator=(), and SetScalersNumbers().
|
private |
DARC L1 physics.
Definition at line 164 of file AliMUONDarcHeader.h.
Referenced by GetDarcL1P(), operator=(), and SetScalersNumbers().
|
private |
DARC L1 software.
Definition at line 165 of file AliMUONDarcHeader.h.
Referenced by GetDarcL1S(), operator=(), and SetScalersNumbers().
|
private |
DARC L2 accept.
Definition at line 166 of file AliMUONDarcHeader.h.
Referenced by GetDarcL2A(), operator=(), and SetScalersNumbers().
|
private |
DARC L2 reject.
Definition at line 167 of file AliMUONDarcHeader.h.
Referenced by GetDarcL2R(), operator=(), and SetScalersNumbers().
|
private |
DARC Empty slot (for the moment)
Definition at line 170 of file AliMUONDarcHeader.h.
Referenced by operator=(), and SetScalersNumbers().
|
staticprivate |
default type for DARC def.
Definition at line 177 of file AliMUONDarcHeader.h.
Referenced by GetDarcDefaultType().
|
staticprivate |
darc header length
Definition at line 150 of file AliMUONDarcHeader.h.
Referenced by GetDarcHeaderLength().
|
staticprivate |
length of DARC scaler in word
Definition at line 172 of file AliMUONDarcHeader.h.
Referenced by GetDarcScalerLength().
|
staticprivate |
default type for DARC vadorh
Definition at line 178 of file AliMUONDarcHeader.h.
Referenced by GetDarcVadohrType().
|
staticprivate |
end of darc info word
Definition at line 174 of file AliMUONDarcHeader.h.
Referenced by GetEndOfDarc().
|
staticprivate |
end of global info word
Definition at line 175 of file AliMUONDarcHeader.h.
Referenced by GetEndOfGlobal().
|
staticprivate |
global header length
Definition at line 151 of file AliMUONDarcHeader.h.
Referenced by GetGlobalHeaderLength().
|
staticprivate |
length of global scaler in word
Definition at line 160 of file AliMUONDarcHeader.h.
Referenced by GetGlobalScalerLength().
|
private |
global clock
Definition at line 156 of file AliMUONDarcHeader.h.
Referenced by GetGlobalClock(), operator=(), and SetScalersNumbers().
|
private |
global hold (dead time)
Definition at line 158 of file AliMUONDarcHeader.h.
Referenced by GetGlobalHold(), operator=(), and SetScalersNumbers().
|
private |
global input
Definition at line 147 of file AliMUONDarcHeader.h.
Referenced by AliMUONDarcHeader(), GetGlobalInput(), operator=(), and SetGlobalInput().
|
private |
global L0
Definition at line 155 of file AliMUONDarcHeader.h.
Referenced by GetGlobalL0(), GetGlobalScalers(), operator=(), and SetScalersNumbers().
|
private |
global ouput
Definition at line 148 of file AliMUONDarcHeader.h.
Referenced by GetGlobalConfig(), GetGlobalOutput(), operator=(), and SetGlobalOutput().
|
private |
global ouput
Definition at line 157 of file AliMUONDarcHeader.h.
Referenced by AliMUONDarcHeader(), GetGlobalScaler(), operator=(), and SetScalersNumbers().
|
private |
global spare
Definition at line 159 of file AliMUONDarcHeader.h.
Referenced by GetGlobalSpare(), operator=(), and SetScalersNumbers().
|
private |
container for regional header
Definition at line 181 of file AliMUONDarcHeader.h.
Referenced by AliMUONDarcHeader(), Clear(), GetRegHeaderArray(), GetRegHeaderEntries(), GetRegHeaderEntry(), operator=(), and ~AliMUONDarcHeader().
|
private |
first word
Definition at line 146 of file AliMUONDarcHeader.h.
Referenced by GetCTPTrig(), GetDAQFlag(), GetDarcType(), GetEventType(), GetGlobalFlag(), GetHeader(), GetRegPattern(), GetSerialNb(), GetVersion(), GetVMETrig(), GetWord(), operator=(), and SetWord().