virtual void Clear(Option_t* = "") {}
/// Set the raw charge
- void SetADC(Int_t adc) {fADC = adc;}
+ void SetADC(Int_t adc) {fADC = adc;}
/// Return the raw charge
- Int_t GetADC() const {return fADC;}
+ Int_t GetADC() const {return fADC;}
/// Set the calibrated charge
void SetCharge(Double_t charge) {fCharge = charge;}
/// Return the cathode number, part of the uniqueID
Int_t GetCathode() const {return (GetUniqueID() & 0x40000000) >> 30;}
+ /// Set the pad as being calibrated or not
+ void SetCalibrated(Bool_t calibrated = kTRUE) {SetBit(BIT(14),calibrated);}
+ /// return kTRUE if the pad is calibrated
+ Bool_t IsCalibrated() const {return TestBit(BIT(14));}
+ /// Set the pad as being saturated or not
+ void SetSaturated(Bool_t saturated = kTRUE) {SetBit(BIT(15),saturated);}
+ /// return kTRUE if the pad is saturated
+ Bool_t IsSaturated() const {return TestBit(BIT(15));}
+
void Print(Option_t */*option*/ = "") const;