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();
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);