]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Change Char_t to UChar_t (Christian)
authorpcrochet <pcrochet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Aug 2006 12:02:37 +0000 (12:02 +0000)
committerpcrochet <pcrochet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Aug 2006 12:02:37 +0000 (12:02 +0000)
MUON/AliMUONDarcHeader.h
MUON/AliMUONLocalStruct.h
MUON/AliMUONRegHeader.h

index a47a97aa6f0ce7bdf69a2760cace6a4ee01d6a4b..d0974672b103ee8538200736924c32050ce9efc0 100644 (file)
@@ -35,14 +35,14 @@ public:
    //GlobalFlag:1, CTP trig:1, DAQ:1, Reg pattern:8;
 
    Bool_t  GetEventType()  const {return (fWord &  0x40000000);}
-   Char_t  GetDarcType()   const {return (Char_t)(fWord >> 27) &  0x7;}
-   Char_t  GetSerialNb()   const {return (Char_t)(fWord >> 23) &  0xF;}
-   Char_t  GetVersion()    const {return (Char_t)(fWord >> 15) &  0xFF;}
+   UChar_t GetDarcType()   const {return (UChar_t)(fWord >> 27) &  0x7;}
+   UChar_t GetSerialNb()   const {return (UChar_t)(fWord >> 23) &  0xF;}
+   UChar_t GetVersion()    const {return (UChar_t)(fWord >> 15) &  0xFF;}
    Bool_t  GetVMETrig()    const {return (fWord &  0x800);}
    Bool_t  GetGlobalFlag() const {return (fWord &  0x400);}
    Bool_t  GetCTPTrig()    const {return (fWord &  0x200);}
    Bool_t  GetDAQFlag()    const {return (fWord &  0x100);}
-   Char_t  GetRegPattern() const {return (Char_t)(fWord &  0xFF);}
+   UChar_t GetRegPattern() const {return (UChar_t)(fWord &  0xFF);}
 
    void    SetWord(UInt_t w) {fWord = w;}
    void    SetGlobalInput(Int_t in, Int_t n) {fGlobalInput[n] = in;}
index 4ba4bd316ab21d4107bd6bab655d1eada2b98cab..9c533de6ea831a2ee180428748720736706805b4 100644 (file)
@@ -36,12 +36,12 @@ public:
    UShort_t GetY4() const {return (fData[3] >> 16) &  0xFFFF;}
    UShort_t GetY3() const {return (fData[3])       &  0xFFFF;}
 
-   Char_t   GetId()  const  {return fData[4] >> 19 &  0xF;}
-   Char_t   GetDec() const  {return fData[4] >> 15 &  0xF;}
-   Char_t   GetTriggerY() const {return fData[4] >> 14 &  0x1;}
-   Char_t   GetYPos() const {return fData[4] >> 10 &  0xF;}
-   Char_t   GetXDev() const {return fData[4] >> 5  &  0x1F;}
-   Char_t   GetXPos() const {return fData[4]       &  0x1F;}
+   UChar_t   GetId()  const  {return fData[4] >> 19 &  0xF;}
+   UChar_t   GetDec() const  {return fData[4] >> 15 &  0xF;}
+   UChar_t   GetTriggerY() const {return fData[4] >> 14 &  0x1;}
+   UChar_t   GetYPos() const {return fData[4] >> 10 &  0xF;}
+   UChar_t   GetXDev() const {return fData[4] >> 5  &  0x1F;}
+   UChar_t   GetXPos() const {return fData[4]       &  0x1F;}
 
    Int_t   GetLpt() const {return (GetDec() & 0x3);}
    Int_t   GetHpt() const {return (GetDec() >> 2) & 0x3;}
@@ -106,7 +106,7 @@ public:
    static const Int_t  fgkLength;       ///< local info length in word
    static const Int_t  fgkScalerLength; ///< scaler length in word
    static const UInt_t fgkEndOfLocal;   ///< end of local info word
-   static const UInt_t fgkDisableWord; ///< Word for "empty" slots
+   static const UInt_t fgkDisableWord;  ///< Word for "empty" slots
 
    ClassDef(AliMUONLocalStruct,3)
 };
index de64079e97f244cc9dcee6b4efc852f633c1e694..0c15a00f527679e75dd195ba62138f7b5e4b5c82 100644 (file)
@@ -34,16 +34,16 @@ public:
    //word: phys type:1, reset: 6, serialNb:5, Id:4, version: 8, regional output:8
    //true for phys, false for soft
    Bool_t   GetRegPhysFlag() const {return (fWord & 0x80000000);} 
-   Char_t   GetResetNb()     const {return (Char_t)(fWord >> 25) &  0x20;}
-   Char_t   GetSerialNb()    const {return (Char_t)(fWord >> 20) &  0x1F;}
-   Char_t   GetId()          const {return (Char_t)(fWord >> 16) &  0x0F;}
-   Char_t   GetVersion()     const {return (Char_t)(fWord >> 8)  &  0xFF;}
-   Char_t   GetOutput()      const {return (Char_t)(fWord)       &  0xFF;}
+   UChar_t   GetResetNb()    const {return (UChar_t)(fWord >> 25) &  0x20;}
+   UChar_t   GetSerialNb()   const {return (UChar_t)(fWord >> 20) &  0x1F;}
+   UChar_t   GetId()         const {return (UChar_t)(fWord >> 16) &  0x0F;}
+   UChar_t   GetVersion()    const {return (UChar_t)(fWord >> 8)  &  0xFF;}
+   UChar_t   GetOutput()     const {return (UChar_t)(fWord       &  0xFF);}
 
    //Darc Status: error:10, #fpag:3, MBZ:3, phys type:1, present:1, not_full:1
    // not_empty:1, L2Rej:1, L2Acc:1, L1:1, L0:1, #evt:4, busy:4
    UShort_t GetErrorBits()       const {return (UShort_t)(fDarcWord >> 21) &  0x3FF;}
-   Char_t   GetFPGANumber()      const {return (Char_t)  (fDarcWord >> 18) &  0x7;}
+   UChar_t  GetFPGANumber()      const {return (UChar_t)  (fDarcWord >> 18) &  0x7;}
    Bool_t   GetDarcPhysFlag()    const {return (fDarcWord  &  0x1000);}
    Bool_t   GetPresentFlag()     const {return (fDarcWord  &  0x800);}
    Bool_t   GetRamNotFullFlag()  const {return (fDarcWord  &  0x400);}
@@ -52,8 +52,8 @@ public:
    Bool_t   GetL2AccStatus()     const {return (fDarcWord  &  0x80);}
    Bool_t   GetL1Status()        const {return (fDarcWord  &  0x40);}
    Bool_t   GetL0Status()        const {return (fDarcWord  &  0x20);}
-   Char_t   GetEventInRam()      const {return (Char_t)  (fDarcWord >> 4)  &  0x4;}
-   Char_t   GetBusy()            const {return (Char_t)  (fDarcWord)       &  0x4;}
+   UChar_t  GetEventInRam()      const {return (UChar_t)  (fDarcWord >> 4)  &  0x4;}
+   UChar_t  GetBusy()            const {return (UChar_t)  (fDarcWord)       &  0x4;}
 
    void    SetDarcWord(UInt_t w) {fDarcWord = w;}
    void    SetWord(UInt_t w) {fWord = w;}