X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONBusStruct.h;h=b1a7d0fbcc62d42d2a398b4e1bdfb6e139bda681;hb=f3f5888a932f29865d7e09739c9d93337bd9b97c;hp=fb879ce33cc39d13b53c739931418c399faab187;hpb=71a2d3aa63e94daa0244d8d6d1c7c162ae29a374;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONBusStruct.h b/MUON/AliMUONBusStruct.h index fb879ce33cc..b1a7d0fbcc6 100644 --- a/MUON/AliMUONBusStruct.h +++ b/MUON/AliMUONBusStruct.h @@ -21,6 +21,11 @@ public: AliMUONBusStruct(const AliMUONBusStruct& rhs); AliMUONBusStruct& operator=(const AliMUONBusStruct& rhs); + /// Return header length in word + static Int_t GetHeaderLength() {return fgkHeaderLength;} + /// Return default data key word for Bus Patch Header + static UInt_t GetDefaultDataKey() {return fgkDefaultDataKey;} + // header /// Return Data key word for bus patch header Int_t GetDataKey() const {return fDataKey;} @@ -31,11 +36,6 @@ public: /// Return bus patch id Int_t GetBusPatchId() const {return fBusPatchId;} - /// Return header length in word - Int_t GetHeaderLength() const {return fgkHeaderLength;} - /// Return default data key word for Bus Patch Header - UInt_t GetDefaultDataKey() const {return fgkDefaultDataKey;} - /// Return header Int_t* GetHeader() {return &fDataKey;} @@ -51,7 +51,7 @@ public: Char_t GetParity(Int_t n) const; UShort_t GetManuId(Int_t n) const; - Char_t GetChannelId(Int_t n) const; + UChar_t GetChannelId(Int_t n) const; UShort_t GetCharge(Int_t n) const; UInt_t GetData(Int_t n) const; @@ -90,6 +90,7 @@ public: static const Int_t fgkHeaderLength; ///< header length in word static const UInt_t fgkDefaultDataKey; ///< default data key word for Bus Patch Header + static const Int_t fgkManuNofChannels;///< max number of channels per manu; Int_t fBufSize; ///< initial size for data array @@ -100,6 +101,10 @@ public: void ResizeData(Int_t size = 0); + void Print(Option_t* opt) const; + + ClassDef(AliMUONBusStruct,3) // MUON DDL Tracker }; + #endif