]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSv0.h
Bug correction
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv0.h
index 3551409689384840427b5435d1bf5e6efceb5872..7bce39f721f518827ae70c8dc89baf7449054ca9 100644 (file)
@@ -23,14 +23,13 @@ class AliPHOSv0 : public AliPHOS {
 
   AliPHOSv0() {}
   AliPHOSv0(const char *name, const char *title="") ;
-  AliPHOSv0(const AliPHOSv0 & phos) : AliPHOS(phos) {
-    // cpy ctor: no implementation yet
-    // requested by the Coding Convention
-    Fatal("cpy ctor", "not implemented") ;
+  AliPHOSv0(AliPHOSv0 & phos) : AliPHOS(phos) {
+    phos.Copy(*this) ; 
   } 
   virtual ~AliPHOSv0(void){
     // dtor
   } 
+  virtual void Copy(AliPHOSv0 & phos) ; 
 
 //    virtual void   AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) {
   virtual void   AddHit( Int_t, Int_t, Int_t, Int_t, Float_t*) {