Skip to content

Commit 17c15b3

Browse files
jackal1-66sawenzel
authored andcommitted
Included default Z and cmEnergy values
Fix necessary when using the generator in standalone mode, otherwise parameters are not properly initialised
1 parent 92442d3 commit 17c15b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TEPEMGEN/TGenEpEmv1.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ class TGenEpEmv1 : public TEpEmGen {
5454
Double_t fYMin, fYMax;
5555
Double_t fPhiMin, fPhiMax;
5656
Double_t fPtMin, fPtMax;
57-
Double_t fCMEnergy; // center of mass energy per nucleon pair in GeV
58-
Double_t fZ; // atomic number of the projectile/target (only symmetric systems are compatible for now)
57+
Double_t fCMEnergy = 5160.; // center of mass energy per nucleon pair in GeV
58+
Double_t fZ = 82.; // atomic number of the projectile/target (only symmetric systems are compatible for now)
5959
Double_t fTimeOrigin, fOrigin[3], fOsigma[3];
6060

6161
Double_t fXSection; // estimated cross section in barns

0 commit comments

Comments
 (0)