]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSEmcRecPoint.h
Added Copy ctor and assignment operator to fulfill Coding Conventions
[u/mrichter/AliRoot.git] / PHOS / AliPHOSEmcRecPoint.h
index caf053646e786c297b9ce95c172369429ada12a6..cff01264177f7bad5767329ffb03e26717537ee7 100644 (file)
@@ -31,6 +31,12 @@ public:
     // default ctor
   } ;                    
   AliPHOSEmcRecPoint(Float_t W0, Float_t LocMaxCut) ;
+  AliPHOSEmcRecPoint(const AliPHOSEmcRecPoint & rp) {
+    // cpy ctor requested by Coding Convention 
+    // but not yet needed
+    assert(0==1) ; 
+  } 
   virtual ~AliPHOSEmcRecPoint() ;  
 
   virtual void  AddDigit(AliPHOSDigit & digit, Float_t Energy) ;  // add a digit to the digits list  
@@ -73,7 +79,14 @@ public:
     return kTRUE ; } 
   void        Print(Option_t * opt = "void") ; 
 
-private:
+  AliPHOSEmcRecPoint & operator = (AliPHOSEmcRecPoint const & rvalue)  {
+    // assignement operator requested by coding convention
+    // but not needed
+    assert(0==1) ;
+    return *this ; 
+  }
+
+ private:
 
   Bool_t AreNeighbours(AliPHOSDigit * digit1, AliPHOSDigit * digit2 ) ;