]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONBusStruct.h
Bug fixes (some outliers in central events) (from Redmer)
[u/mrichter/AliRoot.git] / MUON / AliMUONBusStruct.h
index 387be6e402684e6fbccc299ddc8cac4930c337ac..b1a7d0fbcc62d42d2a398b4e1bdfb6e139bda681 100644 (file)
@@ -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
 
@@ -105,4 +106,5 @@ public:
 
    ClassDef(AliMUONBusStruct,3)  // MUON DDL Tracker
 };
+
 #endif