]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPHIC/AliGenTPHIC.cxx
Warning message and error related to copy constructor corrected.
[u/mrichter/AliRoot.git] / TPHIC / AliGenTPHIC.cxx
index bc8574001fbc0c0519ec0da720fefe7ab21212e1..932737d13a6598874abc12fa7a4f5b5a4047f0b4 100644 (file)
 
 /* $Id$ */
 
-/*
-$Log$
-Revision 1.1.2.1  2003/05/20 17:27:07  hristov
-Merging with v3-09-09
-
-Revision 1.1  2003/05/09 09:18:11  hristov
-Adding TPHIC
-
-*/
-
 // Event generator of two-photon processes
 // in ultra-peripheral ion collisions.
 // 5 two-photon process are implemented, see comments to SetProcess().
@@ -101,7 +91,8 @@ AliGenTPHIC::AliGenTPHIC()
 }
 
 //____________________________________________________________
-AliGenTPHIC::AliGenTPHIC(const AliGenTPHIC & gen)
+AliGenTPHIC::AliGenTPHIC(const AliGenTPHIC & gen):
+    AliGenMC(gen)
 {
   // copy constructor
   gen.Copy(*this);
@@ -185,7 +176,7 @@ void AliGenTPHIC::Generate()
     tof     = kconv*iparticle->T();
     if (ks == 1) trackIt = 1;
     else         trackIt = 0;
-    SetTrack(fTrackIt*trackIt,iparent,kf,p,origin,polar,tof,kPPrimary,nt,weight,ks);
+    PushTrack(fTrackIt*trackIt,iparent,kf,p,origin,polar,tof,kPPrimary,nt,weight,ks);
     KeepTrack(nt); 
 
     if (fDebug == 2)
@@ -404,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");
+}
+