]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRecPoint.h
Still fixing AliITSsimulationSSD.h for missing AliITSTableSSD's.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecPoint.h
index 0a86afc013bd2b5aada8d98d59341656746713b2..d8fb01fe8f02dc22a9d316065070190b210b58e0 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "AliRecPoint.h"
 #include "AliPHOSDigit.h"
-#include "AliPHOSGeometry.h"
-class AliPHOSGeometry;
 
 class AliPHOSRecPoint : public AliRecPoint {
 
@@ -31,6 +29,7 @@ class AliPHOSRecPoint : public AliRecPoint {
   typedef TObjArray RecPointsList ; 
 
   AliPHOSRecPoint() ;                   // ctor         
+  AliPHOSRecPoint(const char * opt) ;   // ctor 
   AliPHOSRecPoint(const AliPHOSRecPoint & rp) {
     // cpy ctor requested by Coding Convention 
     // but not yet needed
@@ -45,31 +44,29 @@ class AliPHOSRecPoint : public AliRecPoint {
     assert(0==1) ; 
   }
   virtual  void   AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ; 
-  virtual Int_t   Compare(const TObject * obj) const { 
-    // check why this is done
-    assert(0==1) ; return 1 ; 
-  }   
+  virtual Int_t   Compare(const TObject * obj) const = 0 ;   
   virtual Int_t   DistancetoPrimitive(Int_t px, Int_t py);
   virtual void    Draw(Option_t * option="") ;
   virtual void    ExecuteEvent(Int_t event, Int_t px, Int_t py) ;
-  virtual Int_t   GetPHOSMod(void) ;
-  virtual Int_t * GetPrimaries(Int_t & number) ;
-  virtual Bool_t  IsEmc(void){
-    // says that this is a EMC
-    return kTRUE ;
-  } 
+  virtual void    EvalAll(Float_t logWeight,TClonesArray * digits) ;  
+  virtual void    EvalPHOSMod(AliPHOSDigit * digit) ;  
+  virtual void    EvalPrimaries(TClonesArray * digits) ;  
+  virtual void    GetGlobalPosition(TVector3 & gpos, TMatrix & gmat) const ; // return global position in ALICE
+  virtual Int_t   GetPHOSMod(void) const {return fPHOSMod ; }
+  virtual Int_t * GetPrimaries(Int_t & number) const {number = fMulTrack ; 
+                                                      return fTracksList ; }
+  virtual Bool_t  IsEmc(void)const { return kTRUE ;  } 
   virtual Bool_t  IsSortable() const { 
     // tells that this is a sortable object
     return kTRUE ; 
   }  
   virtual void    Paint(Option_t * option="");
-  virtual void    Print(Option_t * opt = "void") {
+  virtual void    Print(Option_t * opt = "void") const {
     // Print prototype
   } 
 
   AliPHOSRecPoint & operator = (const AliPHOSRecPoint & )  {
-    // assignement operator requested by coding convention
-    // but not needed
+    // assignement operator requested by coding convention but not needed
     assert(0==1) ;
     return *this ; 
   }
@@ -77,7 +74,6 @@ class AliPHOSRecPoint : public AliRecPoint {
 protected:
   
   Int_t fPHOSMod ;      // PHOS Module number in which the RecPoint is found
-//    AliPHOSGeometry * fGeom ; // pointer to the PHOS geometry class
   
   ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class)