![]() |
AliRoot Core
edcc906 (edcc906)
|
MUON block (Crocus CRT) header for tracker event. More...
#include <AliMUONBlockHeader.h>
Public Member Functions | |
AliMUONBlockHeader () | |
AliMUONBlockHeader (TRootIOCtor *dummy) | |
AliMUONBlockHeader (const AliMUONBlockHeader &event) | |
AliMUONBlockHeader & | operator= (const AliMUONBlockHeader &event) |
virtual | ~AliMUONBlockHeader () |
Int_t | GetDataKey () const |
Return data key word for CRT header. More... | |
Int_t | GetTotalLength () const |
Return total length of block structure (w/o padding word) More... | |
Int_t | GetLength () const |
Return length of raw data. More... | |
Int_t | GetDspId () const |
Return Dsp id. More... | |
Int_t | GetL0Trigger () const |
Return L0 trigger word. More... | |
Int_t | GetMiniEventId () const |
Return Bunch Crossing for mini-event id (see TDR chapter 8) More... | |
Int_t | GetEventId1 () const |
Return Event Id in bunch crossing. More... | |
Int_t | GetEventId2 () const |
Return Event Id in orbit number. More... | |
Int_t | GetHeaderLength () const |
Return header length in word. More... | |
UInt_t | GetDefaultDataKey () const |
Return default data key word for CRT header. More... | |
UInt_t | GetDdlDataKey () const |
Return data key end word for CRT header. More... | |
void | SetDataKey (Int_t d) |
Set data key word for CRT header. More... | |
void | SetTotalLength (Int_t l) |
Set total length of block structure (w/o padding word) More... | |
void | SetLength (Int_t l) |
Set length of raw data. More... | |
void | SetDspId (Int_t d) |
Set Dsp id. More... | |
void | SetL0Trigger (Int_t l) |
Set L0 trigger word. More... | |
void | SetMiniEventId (Int_t e) |
Set Bunch Crossing for mini-event id (see TDR chapter 8) More... | |
void | SetEventId1 (Int_t e) |
Set Event Id in bunch crossing. More... | |
void | SetEventId2 (Int_t e) |
Set Event Id in orbit number. More... | |
Int_t * | GetHeader () |
Return header. More... | |
void | AddDspHeader (const AliMUONDspHeader &dspHeader) |
TClonesArray * | GetDspHeaderArray () const |
get TClonesArray More... | |
Int_t | GetDspHeaderEntries () const |
get entries More... | |
AliMUONDspHeader * | GetDspHeaderEntry (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 CRT header. More... | |
Int_t | fTotalLength |
total length of block structure (w/o padding word) More... | |
Int_t | fLength |
length of raw data More... | |
Int_t | fDspId |
Dsp id. More... | |
Int_t | fL0Trigger |
L0 trigger word. More... | |
Int_t | fMiniEventId |
Bunch Crossing for mini-event id (see TDR chapter 8) More... | |
Int_t | fEventId1 |
Event Id in bunch crossing. More... | |
Int_t | fEventId2 |
Event Id in orbit number. More... | |
TClonesArray * | fDspHeaderArray |
array of block header More... | |
Static Private Attributes | |
static const Int_t | fgkHeaderLength = 8 |
header length in word More... | |
static const UInt_t | fgkDefaultDataKey = 0xFC0000FC |
default data key word for CRT header More... | |
static const UInt_t | fgkDdlDataKey = 0xD000000D |
data key end word for CRT header More... | |
MUON block (Crocus CRT) header for tracker event.
Block structure for tracker raw data each DDL contains two blocks, each block contains at most 5 dsp structure. Beside the total length and length of the below data the header of the block contains the front end DSP id, trigger words and paddind word
Definition at line 19 of file AliMUONBlockHeader.h.
AliMUONBlockHeader::AliMUONBlockHeader | ( | ) |
ctor
Definition at line 64 of file AliMUONBlockHeader.cxx.
AliMUONBlockHeader::AliMUONBlockHeader | ( | TRootIOCtor * | dummy | ) |
ctor
Definition at line 45 of file AliMUONBlockHeader.cxx.
AliMUONBlockHeader::AliMUONBlockHeader | ( | const AliMUONBlockHeader & | event | ) |
copy ctor
Definition at line 94 of file AliMUONBlockHeader.cxx.
|
virtual |
dtor
Definition at line 84 of file AliMUONBlockHeader.cxx.
void AliMUONBlockHeader::AddDspHeader | ( | const AliMUONDspHeader & | dspHeader | ) |
adding the dsp structure into the TClonesArray
Definition at line 146 of file AliMUONBlockHeader.cxx.
Referenced by GetHeader().
void AliMUONBlockHeader::Clear | ( | Option_t * | opt | ) |
Clear TClones arrays instead of deleting
Definition at line 157 of file AliMUONBlockHeader.cxx.
Referenced by GetDspHeaderEntry().
|
inline |
Return data key word for CRT header.
Definition at line 33 of file AliMUONBlockHeader.h.
|
inline |
Return data key end word for CRT header.
Definition at line 54 of file AliMUONBlockHeader.h.
Referenced by AliMUONPayloadTracker::Decode(), and AliMUONRawWriter::WriteTrackerDDL().
|
inline |
Return default data key word for CRT header.
Definition at line 52 of file AliMUONBlockHeader.h.
Referenced by AliMUONPayloadTracker::Decode().
|
inline |
get TClonesArray
Definition at line 80 of file AliMUONBlockHeader.h.
Referenced by AliMUONDDLTracker::AddDspHeader().
|
inline |
get entries
Definition at line 83 of file AliMUONBlockHeader.h.
|
inline |
get entry
Definition at line 86 of file AliMUONBlockHeader.h.
Referenced by AliMUONDDLTracker::AddBusPatch(), and AliMUONRawStreamTracker::GetNextDspHeader().
|
inline |
Return Dsp id.
Definition at line 39 of file AliMUONBlockHeader.h.
Referenced by AliMUONPayloadTracker::Decode().
|
inline |
Return Event Id in bunch crossing.
Definition at line 45 of file AliMUONBlockHeader.h.
|
inline |
Return Event Id in orbit number.
Definition at line 47 of file AliMUONBlockHeader.h.
|
inline |
Return header.
Definition at line 75 of file AliMUONBlockHeader.h.
Referenced by AliMUONPayloadTracker::Decode(), AliMUONRawStreamTrackerHP::GetDDLTracker(), and AliMUONRawWriter::WriteTrackerDDL().
|
inline |
Return header length in word.
Definition at line 50 of file AliMUONBlockHeader.h.
Referenced by AliMUONPayloadTracker::Decode(), and AliMUONRawWriter::WriteTrackerDDL().
|
inline |
Return L0 trigger word.
Definition at line 41 of file AliMUONBlockHeader.h.
|
inline |
Return length of raw data.
Definition at line 37 of file AliMUONBlockHeader.h.
|
inline |
Return Bunch Crossing for mini-event id (see TDR chapter 8)
Definition at line 43 of file AliMUONBlockHeader.h.
|
inline |
Return total length of block structure (w/o padding word)
Definition at line 35 of file AliMUONBlockHeader.h.
Referenced by AliMUONPayloadTracker::Decode().
AliMUONBlockHeader & AliMUONBlockHeader::operator= | ( | const AliMUONBlockHeader & | event | ) |
assignment operator
Definition at line 119 of file AliMUONBlockHeader.cxx.
void AliMUONBlockHeader::Print | ( | Option_t * | ) | const |
|
inline |
Set data key word for CRT header.
Definition at line 57 of file AliMUONBlockHeader.h.
|
inline |
Set Dsp id.
Definition at line 63 of file AliMUONBlockHeader.h.
|
inline |
Set Event Id in bunch crossing.
Definition at line 69 of file AliMUONBlockHeader.h.
|
inline |
Set Event Id in orbit number.
Definition at line 71 of file AliMUONBlockHeader.h.
|
inline |
Set L0 trigger word.
Definition at line 65 of file AliMUONBlockHeader.h.
|
inline |
Set length of raw data.
Definition at line 61 of file AliMUONBlockHeader.h.
|
inline |
Set Bunch Crossing for mini-event id (see TDR chapter 8)
Definition at line 67 of file AliMUONBlockHeader.h.
|
inline |
Set total length of block structure (w/o padding word)
Definition at line 59 of file AliMUONBlockHeader.h.
|
private |
Data key word for CRT header.
Definition at line 98 of file AliMUONBlockHeader.h.
Referenced by GetDataKey(), GetHeader(), operator=(), Print(), and SetDataKey().
|
private |
array of block header
Definition at line 112 of file AliMUONBlockHeader.h.
Referenced by AddDspHeader(), AliMUONBlockHeader(), Clear(), GetDspHeaderArray(), GetDspHeaderEntries(), GetDspHeaderEntry(), operator=(), and ~AliMUONBlockHeader().
|
private |
Dsp id.
Definition at line 101 of file AliMUONBlockHeader.h.
Referenced by GetDspId(), operator=(), Print(), and SetDspId().
|
private |
Event Id in bunch crossing.
Definition at line 104 of file AliMUONBlockHeader.h.
Referenced by GetEventId1(), operator=(), Print(), and SetEventId1().
|
private |
Event Id in orbit number.
Definition at line 105 of file AliMUONBlockHeader.h.
Referenced by GetEventId2(), operator=(), Print(), and SetEventId2().
|
staticprivate |
data key end word for CRT header
Definition at line 110 of file AliMUONBlockHeader.h.
Referenced by GetDdlDataKey().
|
staticprivate |
default data key word for CRT header
Definition at line 109 of file AliMUONBlockHeader.h.
Referenced by GetDefaultDataKey().
|
staticprivate |
header length in word
Definition at line 108 of file AliMUONBlockHeader.h.
Referenced by GetHeaderLength().
|
private |
L0 trigger word.
Definition at line 102 of file AliMUONBlockHeader.h.
Referenced by GetL0Trigger(), operator=(), Print(), and SetL0Trigger().
|
private |
length of raw data
Definition at line 100 of file AliMUONBlockHeader.h.
Referenced by GetLength(), operator=(), Print(), and SetLength().
|
private |
Bunch Crossing for mini-event id (see TDR chapter 8)
Definition at line 103 of file AliMUONBlockHeader.h.
Referenced by GetMiniEventId(), operator=(), Print(), and SetMiniEventId().
|
private |
total length of block structure (w/o padding word)
Definition at line 99 of file AliMUONBlockHeader.h.
Referenced by GetTotalLength(), operator=(), Print(), and SetTotalLength().