]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONGlobalTriggerBoard.h
In AliMUONTrackerQADataMakerRec:
[u/mrichter/AliRoot.git] / MUON / AliMUONGlobalTriggerBoard.h
index 7982b798c354a2b3b45c72c80b94d5371bb7c559..a1b14301ad611b07613ee6824407a9c348ad4a98 100644 (file)
@@ -27,7 +27,7 @@ class AliMUONGlobalTriggerBoard : public AliMUONTriggerBoard
       virtual void     Response();
 
                        /// response of the algorithm
-      virtual UShort_t Algo(UShort_t i, UShort_t j, char *thres);
+      virtual UShort_t Algo(UShort_t i, UShort_t j, const char *thres);
                       
                        /// Reset regional board responses
       virtual void     Reset() {for (Int_t i=0; i<16; i++) fRegionalResponse[i] = 0;}
@@ -43,13 +43,17 @@ class AliMUONGlobalTriggerBoard : public AliMUONTriggerBoard
 
                        /// Build the 4 words (32bits) global input
       void             BuildGlobalInput();
-                       /// Apply masks to regional inputs
-      void             MaskRegionalInput();
+                       /// Apply masks to global input
+      void             MaskGlobalInput();
                        /// Global input 4 words (32bits) from regional responses
       UInt_t*          GetGlobalInput() { return fGlobalInput; }
+
+      void             RecomputeRegional(UInt_t globalInput[4]);
       
    private:
 
+      UShort_t InvertPairBits(Int_t iReg);
+
       UShort_t fRegionalResponse[16]; ///< Regional board responses
       UInt_t   fGlobalInput[4];       ///< Global input 
       UInt_t   fMask[4];              ///< Mask for the global input