//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;}
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;}
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)
};
//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);}
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;}