]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PYTHIA6/AliGenPythiaJets.cxx
preprocessor made by Tomasz and fully his responsibility
[u/mrichter/AliRoot.git] / PYTHIA6 / AliGenPythiaJets.cxx
index ead7d309cdaa5d590d0f2d8ab42c1f2fb297870c..f805ab4eaf5b56446df5bbd48f6f2325d6e4a37b 100644 (file)
@@ -46,7 +46,8 @@ AliGenPythiaJets::AliGenPythiaJets(Int_t npart)
     fTitle= "Jet Generator using PYTHIA";
 }
 
-AliGenPythiaJets::AliGenPythiaJets(const AliGenPythiaJets & Pythia)
+AliGenPythiaJets::AliGenPythiaJets(const AliGenPythiaJets & Pythia):
+    AliGenPythia(Pythia)
 {
 // copy constructor
     Pythia.Copy(*this);
@@ -218,6 +219,7 @@ Bool_t AliGenPythiaJets::CheckTrigger()
 AliGenPythiaJets& AliGenPythiaJets::operator=(const  AliGenPythiaJets& rhs)
 {
 // Assignment operator
+    rhs.Copy(*this);
     return *this;
 }