]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONLocalStruct.h
changed binning
[u/mrichter/AliRoot.git] / MUON / AliMUONLocalStruct.h
index b6274b6e28a4dc7d7971e92e69fb649441100831..84620b5e2e7f3176e0e0eb0df8e90143d1177207 100644 (file)
@@ -92,27 +92,27 @@ public:
             /// Return local clock
    UInt_t  GetClock()   const {return fClk;}
             /// Return switch
-   UChar_t GetSwitch()  const {return (fEOS >> 1) & 0x3FF;}
+   UShort_t GetSwitch()  const {return (fEOS >> 1) & 0x3FF;}
             /// Return ComptXY
    UChar_t GetComptXY() const {return  fEOS & 1;}
 
             /// Return XY1
-   UShort_t GetXY1(Int_t n) const {return  (n % 2 == 0) ?
+   UShort_t GetXY1(Int_t n) const {return  (n % 2 == 1) ?
        (fScaler[TMath::Nint(Float_t(n/2))] &  0xFFFF) : 
        (fScaler[TMath::Nint(Float_t(n/2))] >> 16) &  0xFFFF;}
 
             /// Return XY2
-   UShort_t GetXY2(Int_t n) const {return  (n % 2 == 0) ?
+   UShort_t GetXY2(Int_t n) const {return  (n % 2 == 1) ?
        (fScaler[8 + TMath::Nint(Float_t(n/2))] &  0xFFFF) : 
        (fScaler[8 + TMath::Nint(Float_t(n/2))] >> 16) &  0xFFFF;}
 
             /// Return XY3
-   UShort_t GetXY3(Int_t n) const {return  (n % 2 == 0) ?
+   UShort_t GetXY3(Int_t n) const {return  (n % 2 == 1) ?
        (fScaler[8*2 + TMath::Nint(Float_t(n/2))] &  0xFFFF) : 
        (fScaler[8*2 + TMath::Nint(Float_t(n/2))] >> 16) &  0xFFFF;}
 
             /// Return XY4
-   UShort_t GetXY4(Int_t n) const {return  (n % 2 == 0) ?
+   UShort_t GetXY4(Int_t n) const {return  (n % 2 == 1) ?
        (fScaler[8*3 + TMath::Nint(Float_t(n/2))] &  0xFFFF) : 
        (fScaler[8*3 + TMath::Nint(Float_t(n/2))] >> 16) &  0xFFFF;}