]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TEPEMGEN/AliGenQEDBg.cxx
Debug msg
[u/mrichter/AliRoot.git] / TEPEMGEN / AliGenQEDBg.cxx
index a0b175b312fc0434ca5fb20c8319aab10ef4a203..74609d345b3c9360a69da0eec2e7480ad8854cd0 100644 (file)
@@ -54,7 +54,7 @@
   The most useful way of using it is in the overlay with other generators (using the cocktail):
   In the Config.C 
   // load the library:
-  gSystem->Load("libTEPEMGEN.so");
+  gSystem->Load("libTEPEMGEN");
   //
   // add to AliGenCocktail as:
   AliGenCocktail *cocktail = new AliGenCocktail();
@@ -121,7 +121,7 @@ void AliGenQEDBg::Init()
   AliInfo(Form("Estimating x-section with min.relative precision of %f and min/max test: %d/%d",
               fXSectionEps,int(fMinXSTest),int(fMaxXSTest)));
   //
-  double yElectron,yPositron,xElectron,xPositron,phi12,weight,err;
+  double yElectron,yPositron,xElectron,xPositron,phi12,weight,err=0;
   fXSection = -1;
   do {
     fEpEmGen->GenerateEvent(fYMin,fYMax,fPtMin,fPtMax,yElectron,yPositron,xElectron,xPositron,phi12,weight);