From 81f3222b4b7f282a084e690b47ce546e048ef3c9 Mon Sep 17 00:00:00 2001 From: Marco Giacalone Date: Wed, 7 May 2025 00:28:16 +0200 Subject: [PATCH 1/3] Include QED for special runs --- Generators/include/Generators/QEDGenParam.h | 10 ++++++---- Generators/share/external/QEDepem.C | 2 ++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Generators/include/Generators/QEDGenParam.h b/Generators/include/Generators/QEDGenParam.h index 1c78b14cfc516..15e31b20d1d78 100644 --- a/Generators/include/Generators/QEDGenParam.h +++ b/Generators/include/Generators/QEDGenParam.h @@ -25,10 +25,12 @@ namespace eventgen { struct QEDGenParam : public o2::conf::ConfigurableParamHelper { - float yMin = -6.f; ///< min Y - float yMax = 6.f; ///< max Y - float ptMin = 0.4e-3; ///< min pT - float ptMax = 10.f; ///< min pT + float yMin = -6.f; ///< min Y + float yMax = 6.f; ///< max Y + float ptMin = 0.4e-3; ///< min pT + float ptMax = 10.f; ///< min pT + float cmEnergy = 5360.f; ///< center of mass energy per nucleon pair in GeV + float Z = 82.f; ///< atomic number of the projectile/target (only symmetric systems are compatible for now) // float xSectionQED = -1; ///< estimated QED x-section in barns float xSectionHad = 8.; ///< reference hadronic x-section for the same system diff --git a/Generators/share/external/QEDepem.C b/Generators/share/external/QEDepem.C index 1e464ec69be00..d9103d1476df0 100644 --- a/Generators/share/external/QEDepem.C +++ b/Generators/share/external/QEDepem.C @@ -35,6 +35,8 @@ o2::eventgen::GeneratorTGenerator* QEDepem() genBg->SetPtRange(qedParam.ptMin, qedParam.ptMax); // Set pt limits (GeV) for e+-: 1MeV corresponds to max R=13.3mm at 5kGaus genBg->SetOrigin(diamond.position[0], diamond.position[1], diamond.position[2]); // vertex position in space genBg->SetSigma(diamond.width[0], diamond.width[1], diamond.width[2]); // vertex sigma + genBg->SetCMEnergy(qedParam.cmEnergy); // center of mass energy per nucleon pair in GeV + genBg->SetZ(qedParam.Z); // atomic number of the projectile/target (only symmetric systems are compatible for now) genBg->SetTimeOrigin(0.); // vertex position in time initialized = genBg->Init(); if (!initialized) { From e6aed27d4718f629c4eeb0918ae9fe0bccca2ba5 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Tue, 6 May 2025 22:30:10 +0000 Subject: [PATCH 2/3] Please consider the following formatting changes --- Generators/include/Generators/QEDGenParam.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Generators/include/Generators/QEDGenParam.h b/Generators/include/Generators/QEDGenParam.h index 15e31b20d1d78..399a7aef56c68 100644 --- a/Generators/include/Generators/QEDGenParam.h +++ b/Generators/include/Generators/QEDGenParam.h @@ -25,12 +25,12 @@ namespace eventgen { struct QEDGenParam : public o2::conf::ConfigurableParamHelper { - float yMin = -6.f; ///< min Y - float yMax = 6.f; ///< max Y - float ptMin = 0.4e-3; ///< min pT - float ptMax = 10.f; ///< min pT - float cmEnergy = 5360.f; ///< center of mass energy per nucleon pair in GeV - float Z = 82.f; ///< atomic number of the projectile/target (only symmetric systems are compatible for now) + float yMin = -6.f; ///< min Y + float yMax = 6.f; ///< max Y + float ptMin = 0.4e-3; ///< min pT + float ptMax = 10.f; ///< min pT + float cmEnergy = 5360.f; ///< center of mass energy per nucleon pair in GeV + float Z = 82.f; ///< atomic number of the projectile/target (only symmetric systems are compatible for now) // float xSectionQED = -1; ///< estimated QED x-section in barns float xSectionHad = 8.; ///< reference hadronic x-section for the same system From a5d853da3bcc3082043f29bed0ad0a9e95975676 Mon Sep 17 00:00:00 2001 From: Sandro Wenzel Date: Fri, 16 May 2025 13:59:37 +0200 Subject: [PATCH 3/3] Update QEDGenParam.h --- Generators/include/Generators/QEDGenParam.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Generators/include/Generators/QEDGenParam.h b/Generators/include/Generators/QEDGenParam.h index 399a7aef56c68..0a79f113fc4ac 100644 --- a/Generators/include/Generators/QEDGenParam.h +++ b/Generators/include/Generators/QEDGenParam.h @@ -24,7 +24,6 @@ namespace o2 namespace eventgen { struct QEDGenParam : public o2::conf::ConfigurableParamHelper { - float yMin = -6.f; ///< min Y float yMax = 6.f; ///< max Y float ptMin = 0.4e-3; ///< min pT