]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSDigit.h
after fix by Andreas the AliEn API is now working on ia64.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSDigit.h
index 576ad0b80434c5539d5de7301e49f907ff83821e..2e3278e2ed47a9fc8a35eec71a6f1e9a573132b2 100644 (file)
@@ -17,7 +17,7 @@
 
 // --- ROOT system ---
 
-#include "TObject.h" 
+//#include "TObject.h" 
 
 // --- Standard library ---
 
@@ -38,32 +38,26 @@ class AliPHOSDigit : public AliDigitNew {
 
   Bool_t operator==(const AliPHOSDigit &rValue) const;
   AliPHOSDigit& operator+(AliPHOSDigit const &rValue) ;
-    
+  AliPHOSDigit& operator*(Float_t factor) ; 
+  //  AliPHOSDigit& operator=(const AliPHOSDigit) {
+  //  Fatal("operator = ", "not implemented") ; return *this ; } 
   Int_t   Compare(const TObject * obj) const ;  
-  Int_t   GetNprimary() const { 
-    // returns the number of primaries
-    return fNprimary ; }
+  Int_t   GetNprimary() const { return fNprimary ; }
   Int_t   GetPrimary(Int_t index) const ; 
   Float_t GetTime(void) const {return fTime ;}
-  Bool_t  IsSortable() const { 
-    // says that AliPHOSDigits are sortable (needed for Sort method
-    return kTRUE ; }
-  void    Print(Option_t *option) const;
-  void    SetAmp(Int_t Amp) { 
-    // sets the amplitude data member 
-    fAmp=Amp ; } 
+  Bool_t  IsSortable() const { return kTRUE ; }
+  void    Print() const;
+  void    SetAmp(Int_t Amp) { fAmp=Amp ; } 
   void    SetTime(Float_t Time) {fTime = Time ;}
-  void ShiftPrimary(Int_t shift); // shift to separate different TreeK in merging
+  void    ShiftPrimary(Int_t shift); // shift to separate different TreeK in merging
 
  private:
 
-  Int_t fNprimary ;         // Number of primaries
-  Int_t fNMaxPrimary ;      //! Max Number of primaries
-  Int_t fPrimary[5] ;       // Array of primaries      
-  Int_t fShiftOffset ;      // offset to be applied to the primary article numbering in case of event mixing
-  Float_t fTime ;           // Calculcated time 
+  Int_t fNprimary ;        // Number of primaries
+  Int_t * fPrimary ;       //[fNprimary] Array of primaries      
+  Float_t fTime ;          // Calculcated time 
     
-  ClassDef(AliPHOSDigit,1)   // Digit in PHOS 
+  ClassDef(AliPHOSDigit,2)   // Digit in PHOS 
 
 } ;