AliPHOSDigit() ;
AliPHOSDigit(Int_t primary, Int_t id, Int_t DigEnergy, Int_t index = -1) ;
AliPHOSDigit(const AliPHOSDigit & digit) ;
- virtual ~AliPHOSDigit(){
- // dtor
- }
+ virtual ~AliPHOSDigit() ;
- Bool_t operator==(AliPHOSDigit const &rValue) const;
+ Bool_t operator==(const AliPHOSDigit &rValue) const;
AliPHOSDigit& operator+(AliPHOSDigit const &rValue) ;
- Int_t Compare(TObject * obj) ;
+ Int_t Compare(const TObject * obj) const ;
Int_t GetNprimary() const {
// returns the number of primaries
return fNprimary ; }
private:
- Int_t fPrimary1 ; // first primary (because objects in a TClonesArray bust have constant length)
- Int_t fPrimary2 ; // second primary (because objects in a TClonesArray bust have constant lengt)
- Int_t fPrimary3 ; // third primary (because objects in a TClonesArray bust have constant lengt)
- Int_t fNprimary ; // Number of primaries
+ Int_t fNprimary ; // Number of primaries
+ Int_t fNMaxPrimary ; //! Max Number of primaries
+ Int_t fPrimary[5] ; // Array of primaries
ClassDef(AliPHOSDigit,1) // Digit in PHOS