]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRecPoint.h
Dimitri just makes it work
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecPoint.h
index 7c33b2a4e61829e5d6f491bafd6adf70296625a3..8d3c9f17ef7a97ef155131935a1cdfb4cab6b55a 100644 (file)
 #include "AliRecPoint.h"
 #include "AliPHOSDigit.h"
 
-typedef TObjArray       RecPointsList ; 
-
 class AliPHOSRecPoint : public AliRecPoint {
 
-public:
+ public:
+  
+  typedef TObjArray RecPointsList ; 
 
   AliPHOSRecPoint() ;                   // ctor         
-  virtual ~AliPHOSRecPoint(){}          // dtor
+  AliPHOSRecPoint(const AliPHOSRecPoint & rp) {
+    // cpy ctor requested by Coding Convention 
+    // but not yet needed
+    assert(0==1) ; 
+  } 
+  
+  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) {  assert(0==1) ; }   
+  virtual Int_t   Compare(TObject * obj) { 
+    // check why this is done
+    assert(0==1) ; return 1 ; 
+  }   
   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){return kTRUE ;} 
-  virtual Bool_t  IsSortable() const { return kTRUE ; }  
+  virtual Bool_t  IsEmc(void){
+    // says that this is a EMC
+    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") {
+    // Print prototype
+  } 
 
-protected:
+  AliPHOSRecPoint & operator = (const AliPHOSRecPoint & rvalue)  {
+    // assignement operator requested by coding convention
+    // but not needed
+    assert(0==1) ;
+    return *this ; 
+  }
+
+ protected:
   
   Int_t fPHOSMod ;      // PHOS Module number in which the RecPoint is found
 
+
   ClassDef(AliPHOSRecPoint,1) // RecPoint for PHOS (Base Class)
  
 };