![]() |
AliRoot Core
edcc906 (edcc906)
|
MUON DSP header for tracker event. More...
#include <AliMUONDspHeader.h>
Public Member Functions | |
AliMUONDspHeader () | |
AliMUONDspHeader (TRootIOCtor *dummy) | |
AliMUONDspHeader (const AliMUONDspHeader &event) | |
AliMUONDspHeader & | operator= (const AliMUONDspHeader &event) |
virtual | ~AliMUONDspHeader () |
Int_t | GetDataKey () const |
Return Data key word for FRT header. More... | |
Int_t | GetTotalLength () const |
Return total length of block structure. More... | |
Int_t | GetLength () const |
Return length of raw data. More... | |
Int_t | GetDspId () const |
Return Dsp id. More... | |
Int_t | GetBlkL1ATrigger () const |
Return L1 accept in Block Structure (CRT) More... | |
Int_t | GetMiniEventId () const |
Return Mini Event Id in bunch crossing. More... | |
Int_t | GetL1ATrigger () const |
Return Number of L1 accept in DSP Structure (FRT) More... | |
Int_t | GetL1RTrigger () const |
Return Number of L1 reject in DSP Structure (FRT) More... | |
UInt_t | GetPaddingWord () const |
Return padding dummy word for 64 bits transfer. More... | |
Int_t | GetErrorWord () const |
Return Error word. More... | |
Int_t | GetHeaderLength () const |
Return header length. More... | |
UInt_t | GetDefaultDataKey () const |
Return default data key word for FRT header. More... | |
UInt_t | GetDefaultPaddingWord () const |
Return default padding word value. More... | |
void | SetDataKey (Int_t d) |
Set Data key word for FRT header. More... | |
void | SetTotalLength (Int_t l) |
Set total length of block structure. More... | |
void | SetLength (Int_t l) |
Set length of raw data. More... | |
void | SetDspId (Int_t d) |
Set Dsp id. More... | |
void | SetBlkL1ATrigger (Int_t l1) |
Set L1 accept in Block Structure (CRT) More... | |
void | SetMiniEventId (Int_t id) |
Set Mini Event Id in bunch crossing. More... | |
void | SetL1ATrigger (Int_t l1a) |
Set Number of L1 accept in DSP Structure (FRT) More... | |
void | SetL1RTrigger (Int_t l1r) |
Set Number of L1 reject in DSP Structure (FRT) More... | |
void | SetPaddingWord (UInt_t w) |
Set padding dummy word for 64 bits transfer. More... | |
void | SetErrorWord (Int_t w) |
Set Error word. More... | |
Int_t * | GetHeader () |
Return header. More... | |
void | AddBusPatch (const AliMUONBusStruct &busPatch) |
TClonesArray * | GetBusPatchArray () const |
get TClonesArray More... | |
Int_t | GetBusPatchEntries () const |
get entries More... | |
AliMUONBusStruct * | GetBusPatchEntry (Int_t i) const |
get entry More... | |
void | Clear (Option_t *opt) |
void | Print (Option_t *) const |
Private Attributes | |
Int_t | fDataKey |
Data key word for FRT header. More... | |
Int_t | fTotalLength |
total length of block structure More... | |
Int_t | fLength |
length of raw data More... | |
Int_t | fDspId |
Dsp id. More... | |
Int_t | fBlkL1ATrigger |
L1 accept in Block Structure (CRT) More... | |
Int_t | fMiniEventId |
Mini Event Id in bunch crossing. More... | |
Int_t | fL1ATrigger |
Number of L1 accept in DSP Structure (FRT) More... | |
Int_t | fL1RTrigger |
Number of L1 reject in DSP Structure (FRT) More... | |
Int_t | fPaddingWord |
padding dummy word for 64 bits transfer More... | |
Int_t | fErrorWord |
Error word. More... | |
TClonesArray * | fBusPatchArray |
array of buspatch structure More... | |
Static Private Attributes | |
static const Int_t | fgkHeaderLength = 10 |
header length More... | |
static const UInt_t | fgkDefaultDataKey = 0xF000000F |
default data key word for FRT header More... | |
static const UInt_t | fgkDefaultPaddingWord = 0xBEEFFACE |
default padding word value More... | |
MUON DSP header for tracker event.
DSP structure for tracker raw data. Each block contains at most 5 Dsp structures. Beside the total length and length of the below data the header of the Dsp contains the front end DSP id, trigger words and event word (1 for nb of word is odd and 0 if not
Definition at line 19 of file AliMUONDspHeader.h.
AliMUONDspHeader::AliMUONDspHeader | ( | ) |
ctor
Definition at line 65 of file AliMUONDspHeader.cxx.
AliMUONDspHeader::AliMUONDspHeader | ( | TRootIOCtor * | dummy | ) |
ctor
Definition at line 44 of file AliMUONDspHeader.cxx.
AliMUONDspHeader::AliMUONDspHeader | ( | const AliMUONDspHeader & | event | ) |
copy constructor
Definition at line 96 of file AliMUONDspHeader.cxx.
|
virtual |
dtr
Definition at line 86 of file AliMUONDspHeader.cxx.
void AliMUONDspHeader::AddBusPatch | ( | const AliMUONBusStruct & | busPatch | ) |
adding buspatch info into TClonesArray
Definition at line 150 of file AliMUONDspHeader.cxx.
Referenced by GetHeader().
void AliMUONDspHeader::Clear | ( | Option_t * | opt | ) |
Clear TClones arrays instead of deleting
Definition at line 160 of file AliMUONDspHeader.cxx.
Referenced by GetBusPatchEntry().
|
inline |
Return L1 accept in Block Structure (CRT)
Definition at line 39 of file AliMUONDspHeader.h.
|
inline |
get TClonesArray
Definition at line 85 of file AliMUONDspHeader.h.
Referenced by AliMUONDDLTracker::AddBusPatch().
|
inline |
get entries
Definition at line 88 of file AliMUONDspHeader.h.
|
inline |
get entry
Definition at line 91 of file AliMUONDspHeader.h.
Referenced by AliMUONRawStreamTracker::GetNextBusStruct().
|
inline |
Return Data key word for FRT header.
Definition at line 31 of file AliMUONDspHeader.h.
|
inline |
Return default data key word for FRT header.
Definition at line 54 of file AliMUONDspHeader.h.
Referenced by AliMUONPayloadTracker::Decode().
|
inline |
Return default padding word value.
Definition at line 56 of file AliMUONDspHeader.h.
Referenced by AliMUONPayloadTracker::Decode(), and AliMUONRawWriter::WriteTrackerDDL().
|
inline |
Return Dsp id.
Definition at line 37 of file AliMUONDspHeader.h.
|
inline |
Return Error word.
Definition at line 49 of file AliMUONDspHeader.h.
Referenced by AliMUONPayloadTracker::Decode().
|
inline |
Return header.
Definition at line 80 of file AliMUONDspHeader.h.
Referenced by AliMUONPayloadTracker::Decode(), AliMUONRawStreamTrackerHP::GetDDLTracker(), and AliMUONRawWriter::WriteTrackerDDL().
|
inline |
Return header length.
Definition at line 52 of file AliMUONDspHeader.h.
Referenced by AliMUONPayloadTracker::Decode(), and AliMUONRawWriter::WriteTrackerDDL().
|
inline |
Return Number of L1 accept in DSP Structure (FRT)
Definition at line 43 of file AliMUONDspHeader.h.
|
inline |
Return Number of L1 reject in DSP Structure (FRT)
Definition at line 45 of file AliMUONDspHeader.h.
|
inline |
Return length of raw data.
Definition at line 35 of file AliMUONDspHeader.h.
|
inline |
Return Mini Event Id in bunch crossing.
Definition at line 41 of file AliMUONDspHeader.h.
|
inline |
Return padding dummy word for 64 bits transfer.
Definition at line 47 of file AliMUONDspHeader.h.
Referenced by AliMUONPayloadTracker::Decode().
|
inline |
Return total length of block structure.
Definition at line 33 of file AliMUONDspHeader.h.
Referenced by AliMUONPayloadTracker::Decode().
AliMUONDspHeader & AliMUONDspHeader::operator= | ( | const AliMUONDspHeader & | event | ) |
assignemnt constructor
Definition at line 123 of file AliMUONDspHeader.cxx.
void AliMUONDspHeader::Print | ( | Option_t * | ) | const |
|
inline |
Set L1 accept in Block Structure (CRT)
Definition at line 67 of file AliMUONDspHeader.h.
|
inline |
Set Data key word for FRT header.
Definition at line 59 of file AliMUONDspHeader.h.
|
inline |
Set Dsp id.
Definition at line 65 of file AliMUONDspHeader.h.
|
inline |
Set Error word.
Definition at line 77 of file AliMUONDspHeader.h.
|
inline |
Set Number of L1 accept in DSP Structure (FRT)
Definition at line 71 of file AliMUONDspHeader.h.
|
inline |
Set Number of L1 reject in DSP Structure (FRT)
Definition at line 73 of file AliMUONDspHeader.h.
|
inline |
Set length of raw data.
Definition at line 63 of file AliMUONDspHeader.h.
|
inline |
Set Mini Event Id in bunch crossing.
Definition at line 69 of file AliMUONDspHeader.h.
|
inline |
Set padding dummy word for 64 bits transfer.
Definition at line 75 of file AliMUONDspHeader.h.
|
inline |
Set total length of block structure.
Definition at line 61 of file AliMUONDspHeader.h.
|
private |
L1 accept in Block Structure (CRT)
Definition at line 107 of file AliMUONDspHeader.h.
Referenced by GetBlkL1ATrigger(), operator=(), Print(), and SetBlkL1ATrigger().
|
private |
array of buspatch structure
Definition at line 118 of file AliMUONDspHeader.h.
Referenced by AddBusPatch(), AliMUONDspHeader(), Clear(), GetBusPatchArray(), GetBusPatchEntries(), GetBusPatchEntry(), operator=(), and ~AliMUONDspHeader().
|
private |
Data key word for FRT header.
Definition at line 103 of file AliMUONDspHeader.h.
Referenced by GetDataKey(), GetHeader(), operator=(), Print(), and SetDataKey().
|
private |
Dsp id.
Definition at line 106 of file AliMUONDspHeader.h.
Referenced by GetDspId(), operator=(), Print(), and SetDspId().
|
private |
Error word.
Definition at line 112 of file AliMUONDspHeader.h.
Referenced by GetErrorWord(), operator=(), Print(), and SetErrorWord().
|
staticprivate |
default data key word for FRT header
Definition at line 115 of file AliMUONDspHeader.h.
Referenced by GetDefaultDataKey().
|
staticprivate |
default padding word value
Definition at line 116 of file AliMUONDspHeader.h.
Referenced by GetDefaultPaddingWord().
|
staticprivate |
|
private |
Number of L1 accept in DSP Structure (FRT)
Definition at line 109 of file AliMUONDspHeader.h.
Referenced by GetL1ATrigger(), operator=(), Print(), and SetL1ATrigger().
|
private |
Number of L1 reject in DSP Structure (FRT)
Definition at line 110 of file AliMUONDspHeader.h.
Referenced by GetL1RTrigger(), operator=(), Print(), and SetL1RTrigger().
|
private |
length of raw data
Definition at line 105 of file AliMUONDspHeader.h.
Referenced by GetLength(), operator=(), Print(), and SetLength().
|
private |
Mini Event Id in bunch crossing.
Definition at line 108 of file AliMUONDspHeader.h.
Referenced by GetMiniEventId(), operator=(), Print(), and SetMiniEventId().
|
private |
padding dummy word for 64 bits transfer
Definition at line 111 of file AliMUONDspHeader.h.
Referenced by GetPaddingWord(), operator=(), Print(), and SetPaddingWord().
|
private |
total length of block structure
Definition at line 104 of file AliMUONDspHeader.h.
Referenced by GetTotalLength(), operator=(), Print(), and SetTotalLength().