-void AliMUONGlobalTrigger::SetGlobalPattern(Int_t gloTrigPat)
-{
- /// Set class member from global pattern
- /// coming from rawdata
- /// [Hpt, Lpt] with [+, -, LS, US]
-
- fSinglePlusLpt = (gloTrigPat ) & 0x1;
- fSinglePlusHpt = (gloTrigPat >> 1) & 0x1;
- fSinglePlusApt = (gloTrigPat >> 2) & 0x1;
-
- fSingleMinusLpt = (gloTrigPat >> 3) & 0x1;
- fSingleMinusHpt = (gloTrigPat >> 4) & 0x1;
- fSingleMinusApt = (gloTrigPat >> 5) & 0x1;
-
- fSingleUndefLpt = (gloTrigPat >> 6) & 0x1;
- fSingleUndefHpt = (gloTrigPat >> 7) & 0x1;
- fSingleUndefApt = (gloTrigPat >> 8) & 0x1;
-
- fPairUnlikeLpt = (gloTrigPat >> 9) & 0x1;
- fPairUnlikeHpt = (gloTrigPat >> 10) & 0x1;
- fPairUnlikeApt = (gloTrigPat >> 11) & 0x1;
-
- fPairLikeLpt = (gloTrigPat >> 12) & 0x1;
- fPairLikeHpt = (gloTrigPat >> 13) & 0x1;
- fPairLikeApt = (gloTrigPat >> 14) & 0x1;
-
-}
-//-----------------------------------------------------------
-void AliMUONGlobalTrigger::SetGlobalPattern(UShort_t globalResponse)
-{
- /// Set class member from global response
- /// coming from trigger electronics
- /// should be unformized with rawdata (->oct 06)
- /// [Hpt, Lpt, Apt] with [+, -, US, LS]
- fSinglePlusLpt = ((globalResponse & 0xC0) >> 6) == 2;
- fSinglePlusHpt = ((globalResponse & 0xC00) >> 10) == 2;
- fSinglePlusApt = ((globalResponse & 0xC) >> 2) == 2;
-
- fSingleMinusLpt = ((globalResponse & 0xC0) >> 6) == 1;
- fSingleMinusHpt = ((globalResponse & 0xC00) >> 10) == 1;
- fSingleMinusApt = ((globalResponse & 0xC) >> 2) == 1;
-
- fSingleUndefLpt = ((globalResponse & 0xC0) >> 6) == 3;
- fSingleUndefHpt = ((globalResponse & 0xC00) >> 10) == 3;
- fSingleUndefApt = ((globalResponse & 0xC) >> 2) == 3;
-
- fPairUnlikeLpt = (globalResponse & 0x10) >> 4;
- fPairUnlikeHpt = (globalResponse & 0x100) >> 8;
- fPairUnlikeApt = (globalResponse & 0x1);
-
- fPairLikeLpt = (globalResponse & 0x20) >> 5;
- fPairLikeHpt = (globalResponse & 0x200) >> 9;
- fPairLikeApt = (globalResponse & 0x2) >> 1;
-
-}
-//-----------------------------------------------------------
-void AliMUONGlobalTrigger::SetFromGlobalResponse(UChar_t globalResponse)