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 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");
+}
+
index 851841c..4cf398d 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