- AliPHOSDigit& operator+(AliPHOSDigit const &rValue) ;
-
- Int_t Compare(const TObject * obj) const ;
- Int_t GetNprimary() const {
- // returns the number of primaries
- return fNprimary ; }
- Int_t GetPrimary(Int_t index) const ;
- Bool_t IsSortable() const {
- // says that AliPHOSDigits are sortable (needed for Sort method
- return kTRUE ; }
- void SetAmp(Int_t Amp) {
- // sets the amplitude data member
- fAmp=Amp ; }
- void ShiftPrimary(Int_t shift); // shift to semarate different TreeK in merging
+
+ AliPHOSDigit& operator += (AliPHOSDigit const &rValue) ;
+ AliPHOSDigit& operator *= (Float_t factor) ;
+
+public:
+
+ AliPHOSDigit& operator=(const AliPHOSDigit) {
+ Fatal("operator = ", "not implemented") ; return *this ; }
+ Int_t Compare(const TObject * obj) const ;
+ Int_t GetNprimary() const { return fNprimary ; }
+ Int_t GetPrimary(Int_t index) const ;
+ Float_t GetEnergy(void) const {return fEnergy ;}
+ Float_t GetTime(void) const {return fTime ;}
+ Float_t GetTimeR(void) const {return fTimeR ;}
+ Int_t GetNSamplesHG() const {return fNSamplesHG;}
+ Int_t GetNSamplesLG() const {return fNSamplesLG;}
+ UShort_t *GetSamplesHG() const {return fSamplesHG;}
+ UShort_t *GetSamplesLG() const {return fSamplesLG;}
+ Bool_t IsSortable() const { return kTRUE ; }
+ void Print(const Option_t * = "") const;
+ void SetAmp(Int_t Amp) {fAmp = Amp ;}
+ void SetEnergy(Float_t E) {fEnergy= E ;}
+ void SetTime(Float_t time) {fTime = time ;}
+ void SetTimeR(Float_t time) {fTimeR = time ;}
+ void SetALTROSamplesHG(Int_t nSamplesHG, Int_t *samplesHG);
+ void SetALTROSamplesLG(Int_t nSamplesLG, Int_t *samplesLG);
+ void ShiftPrimary(Int_t shift); // shift to separate different TreeK in merging