1 #ifndef ALIMUONBUSSTRUCT_H
2 #define ALIMUONBUSSTRUCT_H
82 Int_t
Compare(
const TObject *obj)
const;
83 void Clear(Option_t* opt);
104 void Print(Option_t* opt)
const;
Int_t GetLength() const
Return length of raw data.
Int_t fLength
length of raw data
Int_t * GetHeader()
Return header.
UShort_t GetCharge(Int_t n) const
Int_t GetBufSize() const
Return initial size for data array.
Int_t GetBusPatchId() const
Return bus patch id.
Int_t fBlkId
block numer for monitoring
Int_t fBufSize
initial size for data array
void SetDspId(Int_t d)
Set Dsp number for monitoring.
static const Int_t fgkManuNofChannels
max number of channels per manu;
Bool_t IsSortable() const
Return true as Compare() is implemented.
UInt_t * GetData() const
Return data.
void SetData(UInt_t d, Int_t n)
Set data.
Int_t fTotalLength
total length of buspatch structure
static const Int_t fgkHeaderLength
header length in word
Int_t fDataKey
Data key word for bus patch header.
static Int_t GetHeaderLength()
Return header length in word.
void Clear(Option_t *opt)
void Print(Option_t *opt) const
Int_t Compare(const TObject *obj) const
Int_t GetDspId() const
Return Dsp number for monitoring.
static UInt_t GetDefaultDataKey()
Return default data key word for Bus Patch Header.
void SetTotalLength(Int_t l)
Set total length of buspatch structure.
AliMUONBusStruct & operator=(const AliMUONBusStruct &rhs)
UShort_t GetManuId(Int_t n) const
Int_t fDspId
Dsp number for monitoring.
Int_t fBusPatchId
bus patch id
Char_t GetParity(Int_t n) const
static const UInt_t fgkDefaultDataKey
default data key word for Bus Patch Header
void SetBusPatchId(Int_t b)
Set bus patch id.
Int_t GetTotalLength() const
Return total length of buspatch structure.
Int_t GetBlockId() const
Return block numer for monitoring.
void SetDataKey(Int_t d)
Set Data key word for bus patch header.
void SetAlloc(Int_t size)
void ResizeData(Int_t size=0)
void SetLength(Int_t l)
Set length of raw data.
virtual ~AliMUONBusStruct()
UChar_t GetChannelId(Int_t n) const
MUON buspatch structure for tracker.
Int_t GetDataKey() const
Return Data key word for bus patch header.
void SetBlockId(Int_t b)
Set block numer for monitoring.