1 #ifndef ALIMUONLOCALSTRUCT_H
2 #define ALIMUONLOCALSTRUCT_H
34 UShort_t
GetX2()
const {
return (
fData[0] >> 16) & 0xFFFF;}
38 UShort_t
GetX4()
const {
return (
fData[1] >> 16) & 0xFFFF;}
47 UShort_t
GetY2()
const {
return (
fData[2] >> 16) & 0xFFFF;}
51 UShort_t
GetY4()
const {
return (
fData[3] >> 16) & 0xFFFF;}
100 UShort_t
GetXY1(Int_t n)
const {
return (n % 2 == 1) ?
101 (
fScaler[TMath::Nint(Float_t(n/2))] & 0xFFFF) :
102 (
fScaler[TMath::Nint(Float_t(n/2))] >> 16) & 0xFFFF;}
105 UShort_t
GetXY2(Int_t n)
const {
return (n % 2 == 1) ?
106 (
fScaler[8 + TMath::Nint(Float_t(n/2))] & 0xFFFF) :
107 (
fScaler[8 + TMath::Nint(Float_t(n/2))] >> 16) & 0xFFFF;}
110 UShort_t
GetXY3(Int_t n)
const {
return (n % 2 == 1) ?
111 (
fScaler[8*2 + TMath::Nint(Float_t(n/2))] & 0xFFFF) :
112 (
fScaler[8*2 + TMath::Nint(Float_t(n/2))] >> 16) & 0xFFFF;}
115 UShort_t
GetXY4(Int_t n)
const {
return (n % 2 == 1) ?
116 (
fScaler[8*3 + TMath::Nint(Float_t(n/2))] & 0xFFFF) :
117 (
fScaler[8*3 + TMath::Nint(Float_t(n/2))] >> 16) & 0xFFFF;}
UInt_t GetClock() const
Return local clock.
UInt_t fEOS
contains switches conf. & flag for reading X (0) or Y (1) in fScaler
UInt_t fLPtLTrig
local low Pt left trigger
Rawdata local card structure for trigger.
UInt_t GetEndOfLocal() const
Return end of local info word.
static const Int_t fgkLength
local info length in word
UShort_t GetXY2(Int_t n) const
Return XY2.
UInt_t fHold
local hold (dead time)
UShort_t GetY3() const
Return Y3.
Int_t GetHpt() const
Return HPT.
UInt_t fLPtNTrig
local low Pt no trigger
UChar_t GetSXDev() const
Get Sign of X deviation.
UShort_t GetXY1(Int_t n) const
Return XY1.
UShort_t GetXY3(Int_t n) const
Return XY3.
UChar_t GetDec() const
Return Dec.
Int_t GetLength() const
Return local info length in word.
Int_t GetScalerLength() const
Return scaler length in word.
UInt_t GetDisableWord() const
Return Word for "empty" slots.
UInt_t fHPtSTrig
local high Pt straight trigger
Bool_t GetTrigY() const
Return TrigY.
UInt_t GetData(Int_t n) const
Return local data.
UChar_t GetComptXY() const
Return ComptXY.
UShort_t GetY4() const
Return Y4.
UInt_t fLPtRTrig
local low Pt right trigger
UShort_t GetX1() const
Return X1.
UInt_t * GetData()
Return data.
UInt_t fHPtRTrig
local high Pt right trigger
Bool_t GetTriggerY() const
Return TriggerY.
UInt_t GetHold() const
Return local hold (dead time)
UInt_t GetL0() const
Return local L0.
AliMUONLocalStruct & operator=(const AliMUONLocalStruct &event)
Bool_t GetTriggerX() const
Return TriggerX.
UShort_t GetY2() const
Return Y2.
UShort_t GetY1() const
Return Y1.
void GetXPattern(TArrayS &array) const
return X pattern array
UInt_t fHPtLTrig
local high Pt left trigger
void GetYPattern(TArrayS &array) const
return Y pattern array
static const UInt_t fgkEndOfLocal
end of local info word
UInt_t fHPtNTrig
local high Pt no trigger
virtual ~AliMUONLocalStruct()
UInt_t fScaler[8 *4]
local data
UChar_t GetXPos() const
Return Xpos.
UChar_t GetId() const
Return Id.
UChar_t GetXDev() const
Get X deviation.
UShort_t GetXY4(Int_t n) const
Return XY4.
Int_t GetLpt() const
Return LPT.
static const UInt_t fgkDisableWord
Word for "empty" slots.
UInt_t * GetScalers()
Return scalers.
static const Int_t fgkScalerLength
scaler length in word
void SetData(UInt_t d, Int_t n)
Set local data.
UInt_t fReset
reset signal
UInt_t fData[5]
local data
UShort_t GetX3() const
Return X3.
UShort_t GetX4() const
Return X4.
UShort_t GetSwitch() const
Return switch.
UShort_t GetX2() const
Return X2.
UInt_t fLPtSTrig
local low Pt straight trigger
UChar_t GetYPos() const
Return Upos.