]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONLocalStruct.h
Reverting back the TPC set branch (Marian)
[u/mrichter/AliRoot.git] / MUON / AliMUONLocalStruct.h
index 2489a5d429690310da8c4169558b2f1da30b6866..ba1b269a6daf3c837f8947d679077b5939e43c26 100644 (file)
@@ -7,7 +7,7 @@
 
 /// \ingroup raw
 /// \class AliMUONLocalStruct
-/// \brief rawdata local card structure for trigger
+/// \brief Rawdata local card structure for trigger
 ///
 //  Author Christian Finck
 
@@ -56,6 +56,7 @@ public:
    UChar_t  GetId()  const  {return fData[4] >> 19 &  0xF;}
             /// Return Dec
    UChar_t  GetDec() const  {return fData[4] >> 15 &  0xF;}
+            /// Return TrigY
    Bool_t   GetTrigY() const {return (fData[4] >> 14 & 0x1);}
             /// Return TriggerY
    Bool_t   GetTriggerY() const {return !(GetTrigY() && GetYPos()==15);}
@@ -91,9 +92,9 @@ public:
             /// Return local clock
    UInt_t  GetClock()   const {return fClk;}
             /// Return switch
-   UChar_t GetSwitch()  const {return (fEOS >> 2) & 0x3FF;}
+   UShort_t GetSwitch()  const {return (fEOS >> 1) & 0x3FF;}
             /// Return ComptXY
-   UChar_t GetComptXY() const {return  fEOS & 3;}
+   UChar_t GetComptXY() const {return  fEOS & 1;}
 
             /// Return XY1
    UShort_t GetXY1(Int_t n) const {return  (n % 2 == 0) ?
@@ -162,6 +163,6 @@ public:
    static const UInt_t fgkEndOfLocal;   ///< end of local info word
    static const UInt_t fgkDisableWord;  ///< Word for "empty" slots
 
-   ClassDef(AliMUONLocalStruct,3)
+   ClassDef(AliMUONLocalStruct,3) //Rawdata local card structure for trigger
 };
 #endif