Warning message and error concerning copy constructor corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 4 Aug 2003 09:18:59 +0000 (09:18 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 4 Aug 2003 09:18:59 +0000 (09:18 +0000)
TEPEMGEN/AliGenEpEmv1.cxx
TEPEMGEN/AliGenEpEmv1.h

index aac7950..467c3a1 100644 (file)
@@ -88,6 +88,7 @@ AliGenEpEmv1::AliGenEpEmv1()
 
 //____________________________________________________________
 AliGenEpEmv1::AliGenEpEmv1(const AliGenEpEmv1 & gen)
+    :AliGenMC(gen)
 {
   // copy constructor
   gen.Copy(*this);
index 59e9c28..24a34f5 100644 (file)
@@ -26,7 +26,9 @@ public:
   void SetDebug(Int_t debug) {fDebug=debug;}
   
   AliGenEpEmv1(const AliGenEpEmv1 & gen);
-protected:
+ private:
+  void Copy(AliGenEpEmv1&) const;
+ protected:
   Float_t    fMass;    // electron mass
   TEpEmGen * fEpEmGen; // e+e- generator
   Int_t      fDebug;   // debug level