]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSPpsdRecPoint.h
new design: digits are not data members of AliPHOS anymore (use IndexToObject)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSPpsdRecPoint.h
index 36bbe4db9d7c6d5aaf36daaf49a20d5a7dec2f2e..f2a101bef9fca6e51d452082b1147f39c2063e70 100644 (file)
@@ -30,21 +30,24 @@ public:
   }
   virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) ;
   Int_t   Compare(const TObject * obj) const;                    // method to sort clusters
-  void    EvalAll() ;
-  void    EvalLocalPosition() ;              // computes the position in the module of the cluster center
-  Float_t GetDelta(void) const {return fDelta ;  }              // returns the parameter used for sorting
-  Int_t   GetMultiplicity(void) const { return fMulDigit ;  }   // returns the multiplicity of digits at 
-                                                                // the origin of this recpoint
-  Int_t   GetMaximumMultiplicity() const { return   fMaxDigit ; }     // returns the maximum allowed digit multiplicity 
-  Bool_t  GetUp() const ;               // true if cluster is in upper ppsd 
-  Bool_t  IsEmc(void) const {return kFALSE ; }      // tells that this is not a EMC
-  Bool_t  IsSortable() const { return kTRUE ;  }    // tells that this is a sortable object
+
+  void    EvalAll(Float_t LogWeight,TClonesArray * digits) ;
+  void    EvalLocalPosition(Float_t LogWeight,TClonesArray * digits) ;   
+                                                    // computes the position in the module of the cluster center
+  void    EvalUp(TClonesArray * digits) ;              
+
+  Int_t   GetMultiplicity(void)    const { return fMulDigit ;  } // returns the multiplicity of digits at 
+                                                                 // the origin of this recpoint
+  Int_t   GetMaximumMultiplicity() const { return   fMaxDigit ;} // returns the maximum allowed digit multiplicity 
+  Bool_t  GetUp()      const {return fUp;     }    // true if cluster is in upper ppsd 
+  Bool_t  IsEmc(void)  const {return kFALSE ; }    // tells that this is not a EMC
+  Bool_t  IsSortable() const { return kTRUE ; }    // tells that this is a sortable object
   virtual void  Paint(Option_t * option="");
-  void    Print(Option_t * opt = "void") ; 
+  void    Print(Option_t * option) ; 
 
 private:
 
-  Float_t        fDelta ;         // parameter used for sorting
+  Bool_t fUp ; 
   
   ClassDef(AliPHOSPpsdRecPoint,1)  // PPSD RecPoint