]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRecPoint.h
Improved algoritms, coding convensions applied.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecPoint.h
index de65da8780b59c78435a73bdbcb0fa0e1db101c5..8d3c9f17ef7a97ef155131935a1cdfb4cab6b55a 100644 (file)
@@ -24,6 +24,8 @@
 class AliPHOSRecPoint : public AliRecPoint {
 
  public:
+  
+  typedef TObjArray RecPointsList ; 
 
   AliPHOSRecPoint() ;                   // ctor         
   AliPHOSRecPoint(const AliPHOSRecPoint & rp) {
@@ -35,6 +37,10 @@ class AliPHOSRecPoint : public AliRecPoint {
   virtual ~AliPHOSRecPoint(){
     // dtor
   }
+  virtual  void   AddDigit(AliDigitNew &){
+    // do not use this definition but the one below
+    assert(0==1) ; 
+  }
   virtual  void   AddDigit(AliPHOSDigit & digit, Float_t Energy) = 0 ; 
   virtual Int_t   Compare(TObject * obj) { 
     // check why this is done
@@ -58,7 +64,7 @@ class AliPHOSRecPoint : public AliRecPoint {
     // Print prototype
   } 
 
-  AliPHOSRecPoint & operator = (AliPHOSRecPoint const & rvalue)  {
+  AliPHOSRecPoint & operator = (const AliPHOSRecPoint & rvalue)  {
     // assignement operator requested by coding convention
     // but not needed
     assert(0==1) ;
@@ -69,9 +75,6 @@ class AliPHOSRecPoint : public AliRecPoint {
   
   Int_t fPHOSMod ;      // PHOS Module number in which the RecPoint is found
 
- private:
-  
-  typedef TObjArray RecPointsList ; 
 
   ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class)