File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,12 @@ namespace o2
2424namespace eventgen
2525{
2626struct QEDGenParam : public o2 ::conf::ConfigurableParamHelper<QEDGenParam> {
27-
28- float yMin = -6 .f; // /< min Y
29- float yMax = 6 .f; // /< max Y
30- float ptMin = 0.4e-3 ; // /< min pT
31- float ptMax = 10 .f; // /< min pT
27+ float yMin = -6 .f; // /< min Y
28+ float yMax = 6 .f; // /< max Y
29+ float ptMin = 0.4e-3 ; // /< min pT
30+ float ptMax = 10 .f; // /< min pT
31+ float cmEnergy = 5360 .f; // /< center of mass energy per nucleon pair in GeV
32+ float Z = 82 .f; // /< atomic number of the projectile/target (only symmetric systems are compatible for now)
3233 //
3334 float xSectionQED = -1 ; // /< estimated QED x-section in barns
3435 float xSectionHad = 8 .; // /< reference hadronic x-section for the same system
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ o2::eventgen::GeneratorTGenerator* QEDepem()
3535 genBg -> SetPtRange (qedParam .ptMin , qedParam .ptMax ); // Set pt limits (GeV) for e+-: 1MeV corresponds to max R=13.3mm at 5kGaus
3636 genBg -> SetOrigin (diamond .position [0 ], diamond .position [1 ], diamond .position [2 ]); // vertex position in space
3737 genBg -> SetSigma (diamond .width [0 ], diamond .width [1 ], diamond .width [2 ]); // vertex sigma
38+ genBg -> SetCMEnergy (qedParam .cmEnergy ); // center of mass energy per nucleon pair in GeV
39+ genBg -> SetZ (qedParam .Z ); // atomic number of the projectile/target (only symmetric systems are compatible for now)
3840 genBg -> SetTimeOrigin (0. ); // vertex position in time
3941 initialized = genBg -> Init ();
4042 if (!initialized ) {
You can’t perform that action at this time.
0 commit comments