1 #ifndef ALIESDMUONPAD_H 2 #define ALIESDMUONPAD_H 22 virtual void Copy(TObject &obj)
const;
25 virtual void Clear(Option_t* =
"") {}
40 Int_t
GetManuId()
const {
return (GetUniqueID() & 0x00FFF000) >> 12;}
44 Int_t
GetCathode()
const {
return (GetUniqueID() & 0x40000000) >> 30;}
47 void SetCalibrated(Bool_t calibrated = kTRUE) {SetBit(BIT(14),calibrated);}
51 void SetSaturated(Bool_t saturated = kTRUE) {SetBit(BIT(15),saturated);}
55 void Print(Option_t * =
"")
const;
Int_t GetADC() const
Return the raw charge.
Class to describe the MUON pads in the Event Summary Data.
Int_t GetManuId() const
Return electronic card id, part of the uniqueID.
AliESDMuonPad & operator=(const AliESDMuonPad &pad)
void SetCalibrated(Bool_t calibrated=kTRUE)
Set the pad as being calibrated or not.
void Print(Option_t *="") const
void SetCharge(Double_t charge)
Set the calibrated charge.
Int_t GetCathode() const
Return the cathode number, part of the uniqueID.
Bool_t IsSaturated() const
return kTRUE if the pad is saturated
void SetADC(Int_t adc)
Set the raw charge.
Double_t GetCharge() const
Return the calibrated charge.
Bool_t IsCalibrated() const
return kTRUE if the pad is calibrated
virtual void Clear(Option_t *="")
Clear method (used by TClonesArray)
virtual void Copy(TObject &obj) const
virtual ~AliESDMuonPad()
Destructor.
Double32_t fCharge
Calibrated charge.
Int_t GetDetElemId() const
Return detection element id, part of the uniqueID.
void SetSaturated(Bool_t saturated=kTRUE)
Set the pad as being saturated or not.
Int_t GetManuChannel() const
Return the channel within ManuId(), part of the uniqueID.