]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Warning message and error related to copy constructor corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 4 Aug 2003 09:33:25 +0000 (09:33 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 4 Aug 2003 09:33:25 +0000 (09:33 +0000)
TPHIC/AliGenTPHIC.cxx
TPHIC/AliGenTPHIC.h

index e3bb1e3bf9e0a8b2a01b5d5f89dbcdfec2563b76..932737d13a6598874abc12fa7a4f5b5a4047f0b4 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");
+}
+
index 851841c53ede486e2b1af66322e2da6bb4075898..4cf398d8f474eac96f4473f7cebbc569532e2198 100644 (file)
@@ -55,8 +55,9 @@ public:
   Float_t GetXSectionCurrent     ();
   Float_t GetXSection            ();
   Float_t GetXSectionError       ();
-
-protected:
+ private:
+  void Copy(AliGenTPHIC&) const;
+ protected:
   TPHICgen     *fTPHICgen;          //!generator TPHIC17
   AliPythia    *fPythia;            //!generator PYTHIA6
   TClonesArray *fParticles;         // Particle  List