Skip to content

Commit 81f3222

Browse files
committed
Include QED for special runs
1 parent 992316d commit 81f3222

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Generators/include/Generators/QEDGenParam.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ namespace eventgen
2525
{
2626
struct QEDGenParam : public o2::conf::ConfigurableParamHelper<QEDGenParam> {
2727

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
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
32+
float cmEnergy = 5360.f; ///< center of mass energy per nucleon pair in GeV
33+
float Z = 82.f; ///< atomic number of the projectile/target (only symmetric systems are compatible for now)
3234
//
3335
float xSectionQED = -1; ///< estimated QED x-section in barns
3436
float xSectionHad = 8.; ///< reference hadronic x-section for the same system

Generators/share/external/QEDepem.C

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)