Warning message and error related to copy constructor corrected.
[u/mrichter/AliRoot.git] / TPHIC / AliGenTPHIC.cxx
index e3bb1e3..932737d 100644 (file)
@@ -91,7 +91,8 @@ AliGenTPHIC::AliGenTPHIC()
 }
 
 //____________________________________________________________
-AliGenTPHIC::AliGenTPHIC(const AliGenTPHIC & gen)
+AliGenTPHIC::AliGenTPHIC(const AliGenTPHIC & gen):
+    AliGenMC(gen)
 {
   // copy constructor
   gen.Copy(*this);
@@ -394,3 +395,12 @@ void AliGenTPHIC::SetProcess       (Int_t   proc  )
   // calculated so far
   return fTPHICgen->GetXSTOTE();
 }
+
+void AliGenTPHIC::Copy(AliGenTPHIC&) const
+{
+    //
+    // Copy 
+    //
+    Fatal("Copy","Not implemented!\n");
+}
+