]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSPpsdRecPoint.h
Coordinate correction for inclined tracks is corrected in EvalLocalPosition()
[u/mrichter/AliRoot.git] / PHOS / AliPHOSPpsdRecPoint.h
index af1846b75feff96b9188a1425c00be26cdb39c5b..f2a101bef9fca6e51d452082b1147f39c2063e70 100644 (file)
@@ -3,13 +3,13 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-////////////////////////////////////////////////
-//  Cluster in the PPSD of PHOS               //
-//  Version SUBATECH                          //
-//  Author Yves Schutz     SUBATECH           //
-//      comment: its a list of AliPHOSDigit's //  
-//                                            //
-////////////////////////////////////////////////
+/* $Id$ */
+
+//_________________________________________________________________________
+//  A RecPoint (cluster) in the PPSD 
+//  A PPSD RecPoint ends up to be a single digit
+//  Oh yeah               
+//*--  Yves Schutz (SUBATECH)
 
 // --- ROOT system ---
 
@@ -24,31 +24,32 @@ class AliPHOSPpsdRecPoint : public AliPHOSRecPoint {
 
 public:
 
-  AliPHOSPpsdRecPoint() ;          // ctor   
-  virtual ~AliPHOSPpsdRecPoint() ; // dtor
- void AddDigit(AliDigitNew & digit, Float_t Energy) ;
-  Int_t   Compare(TObject * obj) ;                    // method to sort clusters
-
-  Float_t GetDelta(void) {return fDelta ;}
-  Int_t GetMultiplicity(void) const { return fMulDigit ; } 
-  Int_t GetMaximumMultiplicity() { return   fMaxDigit ; } 
-  void  GetLocalPosition(TVector3 &LPos) ; // computes the position in the module of the cluster center 
-                                           //projection of ALICE axes on PHOS Module, y = 0 .
-  Bool_t GetUp() ;               // true if cluster is in upper ppsd 
-  Bool_t      IsEmc(void) {return kFALSE ; } 
-  Bool_t  IsSortable() const { return kTRUE ; }
-  void Print(Option_t * opt = "void") ; 
-
-  //  AliPHOSPpsdRecPoint&  operator = (AliPHOSPpsdRecPoint Clu) ;
+  AliPHOSPpsdRecPoint() ;           // ctor   
+  virtual ~AliPHOSPpsdRecPoint(){
+    // dtor
+  }
+  virtual void AddDigit(AliPHOSDigit & digit, Float_t Energy) ;
+  Int_t   Compare(const TObject * obj) const;                    // method to sort clusters
+
+  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 * option) ; 
 
 private:
 
-  Float_t        fDelta ;         // parameter used for sorting
-
-
-public: 
+  Bool_t fUp ; 
   
-  ClassDef(AliPHOSPpsdRecPoint,1)  // PPSD RecPoint, version 1
+  ClassDef(AliPHOSPpsdRecPoint,1)  // PPSD RecPoint
 
 };