From 7752ffd8871bf3297a18d3cf04f1af667ee2eb38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Jacazio?= Date: Tue, 25 Nov 2025 11:57:35 +0100 Subject: [PATCH 1/5] Add cr2 pythia at 13 TeV --- .../ALICE3/ini/pythia8_pp_ropes1_13tev.ini | 9 ++++ .../generator/pthia8_pp_ropes1_13tev.cfg | 43 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 MC/config/ALICE3/ini/pythia8_pp_ropes1_13tev.ini create mode 100644 MC/config/ALICE3/pythia8/generator/pthia8_pp_ropes1_13tev.cfg diff --git a/MC/config/ALICE3/ini/pythia8_pp_ropes1_13tev.ini b/MC/config/ALICE3/ini/pythia8_pp_ropes1_13tev.ini new file mode 100644 index 000000000..f3622c4de --- /dev/null +++ b/MC/config/ALICE3/ini/pythia8_pp_ropes1_13tev.ini @@ -0,0 +1,9 @@ +[Diamond] +width[2]=6.0 + +[GeneratorExternal] +fileName=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C +funcName=generator_pythia8_ALICE3() + +[GeneratorPythia8] +config=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator/pythia8_pp_ropes_13tev.cfg diff --git a/MC/config/ALICE3/pythia8/generator/pthia8_pp_ropes1_13tev.cfg b/MC/config/ALICE3/pythia8/generator/pthia8_pp_ropes1_13tev.cfg new file mode 100644 index 000000000..eb015ab3a --- /dev/null +++ b/MC/config/ALICE3/pythia8/generator/pthia8_pp_ropes1_13tev.cfg @@ -0,0 +1,43 @@ +### Specify beams +Beams:idA = 2212 +Beams:idB = 2212 +Beams:eCM = 13000. ### energy + +Beams:frameType = 1 +ParticleDecays:limitTau0 = on +ParticleDecays:tau0Max = 10. ### match alice: 1cm/c = 10.0mm/c + +### processes +SoftQCD:inelastic = on # all inelastic processes + +### Ropes settings +MultiPartonInteractions:pT0Ref = 2.15 + +BeamRemnants:remnantMode = 1 +BeamRemnants:saturation = 5 + +ColourReconnection:mode = 2 +ColourReconnection:allowDoubleJunRem = off +ColourReconnection:m0 = 0.3 +ColourReconnection:allowJunctions = on +ColourReconnection:junctionCorrection = 1.2 +ColourReconnection:timeDilationMode = 2 +ColourReconnection:timeDilationPar = 0.18 + +Ropewalk:RopeHadronization = on +Ropewalk:doShoving = on +Ropewalk:tInit = 1.5 # Propagation time +Ropewalk:deltat = 0.05 +Ropewalk:tShove 0.1 +Ropewalk:gAmplitude = 0. # Set shoving strength to 0 explicitly +Ropewalk:doFlavour = on +Ropewalk:r0 = 0.5 +Ropewalk:m0 = 0.2 +Ropewalk:beta = 0.1 + +### Enabling setting of vertex information. +PartonVertex:setVertex = on +PartonVertex:protonRadius = 0.7 +PartonVertex:emissionWidth = 0.1 + +Random:setSeed = on From 35f43113a579cdefdb47936608fa8cf50a6da5ab Mon Sep 17 00:00:00 2001 From: navneetkumar231295 <71565461+navneetkumar231295@users.noreply.github.com> Date: Fri, 5 Dec 2025 00:59:49 +0530 Subject: [PATCH 2/5] configuration file for CLR-BLC3 tune (#2200) * configuration file for CLR-BLC3 tune * configuration for CLR-BLC3 --------- Co-authored-by: Navneet --- .../ALICE3/ini/pythia8_pp_ropes1_13tev.ini | 2 +- .../generator/pythia8_pp_ropes3_13tev.cfg | 44 +++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 MC/config/ALICE3/pythia8/generator/pythia8_pp_ropes3_13tev.cfg diff --git a/MC/config/ALICE3/ini/pythia8_pp_ropes1_13tev.ini b/MC/config/ALICE3/ini/pythia8_pp_ropes1_13tev.ini index f3622c4de..e13ae8b94 100644 --- a/MC/config/ALICE3/ini/pythia8_pp_ropes1_13tev.ini +++ b/MC/config/ALICE3/ini/pythia8_pp_ropes1_13tev.ini @@ -6,4 +6,4 @@ fileName=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALIC funcName=generator_pythia8_ALICE3() [GeneratorPythia8] -config=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator/pythia8_pp_ropes_13tev.cfg +config=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator/pythia8_pp_ropes3_13tev.cfg diff --git a/MC/config/ALICE3/pythia8/generator/pythia8_pp_ropes3_13tev.cfg b/MC/config/ALICE3/pythia8/generator/pythia8_pp_ropes3_13tev.cfg new file mode 100644 index 000000000..0534f4403 --- /dev/null +++ b/MC/config/ALICE3/pythia8/generator/pythia8_pp_ropes3_13tev.cfg @@ -0,0 +1,44 @@ +### ============================================ +### PYTHIA 8 — CLR-BLC Mode 3 configuration +### Based on table: Monash vs CLR-BLC (Mode 3) +### ============================================ + +### Beams +Beams:idA = 2212 +Beams:idB = 2212 +Beams:eCM = 13000. +Beams:frameType = 1 + +### Decays (match ALICE) +ParticleDecays:limitTau0 = on +ParticleDecays:tau0Max = 10.0 + +### Processes and base tune +SoftQCD:inelastic = on # all inelastic processes +Tune:pp = 14 # Monash 2013 as baseline + +### String fragmentation +StringPT:sigma = 0.335 +StringZ:aLund = 0.36 +StringZ:bLund = 0.56 +StringFlav:probQQtoQ = 0.078 # probQQtoQ → Q (Mode 3) +StringFlav:probStoUD = 0.20 # s/u,d suppression (Mode 3) + +# Diquark–diquark join probabilities (vector of 4 numbers) +StringFlav:probQQ1toQQ0join = 0.0275,0.0275,0.0275,0.0275 # Mode 3 +### Multi-parton interactions +MultiPartonInteractions:pT0Ref = 2.05 # Mode 3 pT0Ref + +### Beam remnants +BeamRemnants:remnantMode = 1 # required for CR mode 1 +BeamRemnants:saturation = 5 + +### Colour reconnection: CLR-BLC Mode 3 +ColourReconnection:mode = 1 # new CR scheme +ColourReconnection:allowDoubleJunRem = off # as in table +ColourReconnection:m0 = 0.3 # Mode 3 mass scale +ColourReconnection:allowJunctions = on +ColourReconnection:junctionCorrection = 1.15 # Mode 3 +ColourReconnection:timeDilationMode = 3 # Mode 3 +ColourReconnection:timeDilationPar = 0.073 # Mode 3 + From c2dab28c0828f5dcc99f99aed856ecffa405e7fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Jacazio?= Date: Thu, 4 Dec 2025 21:15:57 +0100 Subject: [PATCH 3/5] Add blc0,2,3 --- ...3tev.ini => pythia8_pp_clr-blc0_13tev.ini} | 2 +- .../ALICE3/ini/pythia8_pp_clr-blc2_13tev.ini | 9 ++++ .../ALICE3/ini/pythia8_pp_clr-blc3_13tev.ini | 9 ++++ .../generator/pthia8_pp_ropes1_13tev.cfg | 43 ------------------ .../generator/pythia8_pp_clr-blc0_13tev.cfg | 43 ++++++++++++++++++ .../generator/pythia8_pp_clr-blc2_13tev.cfg | 44 +++++++++++++++++++ .../generator/pythia8_pp_clr-blc3_13tev.cfg | 44 +++++++++++++++++++ .../generator/pythia8_pp_ropes3_13tev.cfg | 44 ------------------- 8 files changed, 150 insertions(+), 88 deletions(-) rename MC/config/ALICE3/ini/{pythia8_pp_ropes1_13tev.ini => pythia8_pp_clr-blc0_13tev.ini} (88%) create mode 100644 MC/config/ALICE3/ini/pythia8_pp_clr-blc2_13tev.ini create mode 100644 MC/config/ALICE3/ini/pythia8_pp_clr-blc3_13tev.ini delete mode 100644 MC/config/ALICE3/pythia8/generator/pthia8_pp_ropes1_13tev.cfg create mode 100644 MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc0_13tev.cfg create mode 100644 MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc2_13tev.cfg create mode 100644 MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc3_13tev.cfg delete mode 100644 MC/config/ALICE3/pythia8/generator/pythia8_pp_ropes3_13tev.cfg diff --git a/MC/config/ALICE3/ini/pythia8_pp_ropes1_13tev.ini b/MC/config/ALICE3/ini/pythia8_pp_clr-blc0_13tev.ini similarity index 88% rename from MC/config/ALICE3/ini/pythia8_pp_ropes1_13tev.ini rename to MC/config/ALICE3/ini/pythia8_pp_clr-blc0_13tev.ini index e13ae8b94..a08d45738 100644 --- a/MC/config/ALICE3/ini/pythia8_pp_ropes1_13tev.ini +++ b/MC/config/ALICE3/ini/pythia8_pp_clr-blc0_13tev.ini @@ -6,4 +6,4 @@ fileName=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALIC funcName=generator_pythia8_ALICE3() [GeneratorPythia8] -config=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator/pythia8_pp_ropes3_13tev.cfg +config=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc0_13tev.cfg diff --git a/MC/config/ALICE3/ini/pythia8_pp_clr-blc2_13tev.ini b/MC/config/ALICE3/ini/pythia8_pp_clr-blc2_13tev.ini new file mode 100644 index 000000000..25474d61c --- /dev/null +++ b/MC/config/ALICE3/ini/pythia8_pp_clr-blc2_13tev.ini @@ -0,0 +1,9 @@ +[Diamond] +width[2]=6.0 + +[GeneratorExternal] +fileName=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C +funcName=generator_pythia8_ALICE3() + +[GeneratorPythia8] +config=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc2_13tev.cfg diff --git a/MC/config/ALICE3/ini/pythia8_pp_clr-blc3_13tev.ini b/MC/config/ALICE3/ini/pythia8_pp_clr-blc3_13tev.ini new file mode 100644 index 000000000..00ee82a3f --- /dev/null +++ b/MC/config/ALICE3/ini/pythia8_pp_clr-blc3_13tev.ini @@ -0,0 +1,9 @@ +[Diamond] +width[2]=6.0 + +[GeneratorExternal] +fileName=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator_pythia8_ALICE3.C +funcName=generator_pythia8_ALICE3() + +[GeneratorPythia8] +config=${O2DPG_MC_CONFIG_ROOT}/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc3_13tev.cfg diff --git a/MC/config/ALICE3/pythia8/generator/pthia8_pp_ropes1_13tev.cfg b/MC/config/ALICE3/pythia8/generator/pthia8_pp_ropes1_13tev.cfg deleted file mode 100644 index eb015ab3a..000000000 --- a/MC/config/ALICE3/pythia8/generator/pthia8_pp_ropes1_13tev.cfg +++ /dev/null @@ -1,43 +0,0 @@ -### Specify beams -Beams:idA = 2212 -Beams:idB = 2212 -Beams:eCM = 13000. ### energy - -Beams:frameType = 1 -ParticleDecays:limitTau0 = on -ParticleDecays:tau0Max = 10. ### match alice: 1cm/c = 10.0mm/c - -### processes -SoftQCD:inelastic = on # all inelastic processes - -### Ropes settings -MultiPartonInteractions:pT0Ref = 2.15 - -BeamRemnants:remnantMode = 1 -BeamRemnants:saturation = 5 - -ColourReconnection:mode = 2 -ColourReconnection:allowDoubleJunRem = off -ColourReconnection:m0 = 0.3 -ColourReconnection:allowJunctions = on -ColourReconnection:junctionCorrection = 1.2 -ColourReconnection:timeDilationMode = 2 -ColourReconnection:timeDilationPar = 0.18 - -Ropewalk:RopeHadronization = on -Ropewalk:doShoving = on -Ropewalk:tInit = 1.5 # Propagation time -Ropewalk:deltat = 0.05 -Ropewalk:tShove 0.1 -Ropewalk:gAmplitude = 0. # Set shoving strength to 0 explicitly -Ropewalk:doFlavour = on -Ropewalk:r0 = 0.5 -Ropewalk:m0 = 0.2 -Ropewalk:beta = 0.1 - -### Enabling setting of vertex information. -PartonVertex:setVertex = on -PartonVertex:protonRadius = 0.7 -PartonVertex:emissionWidth = 0.1 - -Random:setSeed = on diff --git a/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc0_13tev.cfg b/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc0_13tev.cfg new file mode 100644 index 000000000..fe0137430 --- /dev/null +++ b/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc0_13tev.cfg @@ -0,0 +1,43 @@ +### ============================================ +### PYTHIA 8 — CLR-BLC Mode 0 configuration +### Based on table: Monash vs CLR-BLC (Mode 0) https://link.springer.com/article/10.1007/JHEP08(2015)003 in Appendix A +### ============================================ + +### Beams +Beams:idA = 2212 +Beams:idB = 2212 +Beams:eCM = 13000. +Beams:frameType = 1 + +### Decays (match ALICE) +ParticleDecays:limitTau0 = on +ParticleDecays:tau0Max = 10.0 + +### Processes and base tune +SoftQCD:inelastic = on # all inelastic processes +Tune:pp = 14 # Monash 2013 as baseline + +### String fragmentation +StringPT:sigma = 0.335 +StringZ:aLund = 0.36 +StringZ:bLund = 0.56 +StringFlav:probQQtoQ = 0.078 # probQQtoQ → Q (Mode 0,2,3) +StringFlav:probStoUD = 0.20 # s/u,d suppression (Mode 0,2,3) + +# Diquark–diquark join probabilities (vector of 4 numbers) +StringFlav:probQQ1toQQ0join = 0.0275,0.0275,0.0275,0.0275 # (Mode 0,2,3) +### Multi-parton interactions +MultiPartonInteractions:pT0Ref = 2.12 # Mode 0 pT0Ref + +### Beam remnants +BeamRemnants:remnantMode = 1 # required for CR mode 1 +BeamRemnants:saturation = 5 + +### Colour reconnection: CLR-BLC Mode 0 +ColourReconnection:mode = 1 # new CR scheme +ColourReconnection:allowDoubleJunRem = off # as in table +ColourReconnection:m0 = 2.9 # Mode 0 mass scale +ColourReconnection:allowJunctions = on +ColourReconnection:junctionCorrection = 1.43 # Mode 0 +ColourReconnection:timeDilationMode = 0 # Mode 0 + diff --git a/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc2_13tev.cfg b/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc2_13tev.cfg new file mode 100644 index 000000000..7c6ebcde8 --- /dev/null +++ b/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc2_13tev.cfg @@ -0,0 +1,44 @@ +### ============================================ +### PYTHIA 8 — CLR-BLC Mode 2 configuration +### Based on table: Monash vs CLR-BLC (Mode 2) https://link.springer.com/article/10.1007/JHEP08(2015)003 in Appendix A +### ============================================ + +### Beams +Beams:idA = 2212 +Beams:idB = 2212 +Beams:eCM = 13000. +Beams:frameType = 1 + +### Decays (match ALICE) +ParticleDecays:limitTau0 = on +ParticleDecays:tau0Max = 10.0 + +### Processes and base tune +SoftQCD:inelastic = on # all inelastic processes +Tune:pp = 14 # Monash 2013 as baseline + +### String fragmentation +StringPT:sigma = 0.335 +StringZ:aLund = 0.36 +StringZ:bLund = 0.56 +StringFlav:probQQtoQ = 0.078 # probQQtoQ → Q (Mode 0,2,3) +StringFlav:probStoUD = 0.20 # s/u,d suppression (Mode 0,2,3) + +# Diquark–diquark join probabilities (vector of 4 numbers) +StringFlav:probQQ1toQQ0join = 0.0275,0.0275,0.0275,0.0275 # (Mode 0,2,3) +### Multi-parton interactions +MultiPartonInteractions:pT0Ref = 2.15 # Mode 2 pT0Ref + +### Beam remnants +BeamRemnants:remnantMode = 1 # required for CR mode 1 +BeamRemnants:saturation = 5 + +### Colour reconnection: CLR-BLC Mode 2 +ColourReconnection:mode = 1 # new CR scheme +ColourReconnection:allowDoubleJunRem = off # as in table +ColourReconnection:m0 = 0.3 # Mode 2 mass scale +ColourReconnection:allowJunctions = on +ColourReconnection:junctionCorrection = 1.2 # Mode 2 +ColourReconnection:timeDilationMode = 2 # Mode 2 +ColourReconnection:timeDilationPar = 0.18 # Mode 2 + diff --git a/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc3_13tev.cfg b/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc3_13tev.cfg new file mode 100644 index 000000000..45ced6727 --- /dev/null +++ b/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc3_13tev.cfg @@ -0,0 +1,44 @@ +### ============================================ +### PYTHIA 8 — CLR-BLC Mode 3 configuration +### Based on table: Monash vs CLR-BLC (Mode 3) https://link.springer.com/article/10.1007/JHEP08(2015)003 in Appendix A +### ============================================ + +### Beams +Beams:idA = 2212 +Beams:idB = 2212 +Beams:eCM = 13000. +Beams:frameType = 1 + +### Decays (match ALICE) +ParticleDecays:limitTau0 = on +ParticleDecays:tau0Max = 10.0 + +### Processes and base tune +SoftQCD:inelastic = on # all inelastic processes +Tune:pp = 14 # Monash 2013 as baseline + +### String fragmentation +StringPT:sigma = 0.335 +StringZ:aLund = 0.36 +StringZ:bLund = 0.56 +StringFlav:probQQtoQ = 0.078 # probQQtoQ → Q (Mode 0,2,3) +StringFlav:probStoUD = 0.20 # s/u,d suppression (Mode 0,2,3) + +# Diquark–diquark join probabilities (vector of 4 numbers) +StringFlav:probQQ1toQQ0join = 0.0275,0.0275,0.0275,0.0275 # (Mode 0,2,3) +### Multi-parton interactions +MultiPartonInteractions:pT0Ref = 2.05 # Mode 3 pT0Ref + +### Beam remnants +BeamRemnants:remnantMode = 1 # required for CR mode 1 +BeamRemnants:saturation = 5 + +### Colour reconnection: CLR-BLC Mode 3 +ColourReconnection:mode = 1 # new CR scheme +ColourReconnection:allowDoubleJunRem = off # as in table +ColourReconnection:m0 = 0.3 # Mode 3 mass scale +ColourReconnection:allowJunctions = on +ColourReconnection:junctionCorrection = 1.15 # Mode 3 +ColourReconnection:timeDilationMode = 3 # Mode 3 +ColourReconnection:timeDilationPar = 0.073 # Mode 3 + diff --git a/MC/config/ALICE3/pythia8/generator/pythia8_pp_ropes3_13tev.cfg b/MC/config/ALICE3/pythia8/generator/pythia8_pp_ropes3_13tev.cfg deleted file mode 100644 index 0534f4403..000000000 --- a/MC/config/ALICE3/pythia8/generator/pythia8_pp_ropes3_13tev.cfg +++ /dev/null @@ -1,44 +0,0 @@ -### ============================================ -### PYTHIA 8 — CLR-BLC Mode 3 configuration -### Based on table: Monash vs CLR-BLC (Mode 3) -### ============================================ - -### Beams -Beams:idA = 2212 -Beams:idB = 2212 -Beams:eCM = 13000. -Beams:frameType = 1 - -### Decays (match ALICE) -ParticleDecays:limitTau0 = on -ParticleDecays:tau0Max = 10.0 - -### Processes and base tune -SoftQCD:inelastic = on # all inelastic processes -Tune:pp = 14 # Monash 2013 as baseline - -### String fragmentation -StringPT:sigma = 0.335 -StringZ:aLund = 0.36 -StringZ:bLund = 0.56 -StringFlav:probQQtoQ = 0.078 # probQQtoQ → Q (Mode 3) -StringFlav:probStoUD = 0.20 # s/u,d suppression (Mode 3) - -# Diquark–diquark join probabilities (vector of 4 numbers) -StringFlav:probQQ1toQQ0join = 0.0275,0.0275,0.0275,0.0275 # Mode 3 -### Multi-parton interactions -MultiPartonInteractions:pT0Ref = 2.05 # Mode 3 pT0Ref - -### Beam remnants -BeamRemnants:remnantMode = 1 # required for CR mode 1 -BeamRemnants:saturation = 5 - -### Colour reconnection: CLR-BLC Mode 3 -ColourReconnection:mode = 1 # new CR scheme -ColourReconnection:allowDoubleJunRem = off # as in table -ColourReconnection:m0 = 0.3 # Mode 3 mass scale -ColourReconnection:allowJunctions = on -ColourReconnection:junctionCorrection = 1.15 # Mode 3 -ColourReconnection:timeDilationMode = 3 # Mode 3 -ColourReconnection:timeDilationPar = 0.073 # Mode 3 - From 94ebdb22dbca2b47826bdad8fc16c33cefb71fe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Jacazio?= Date: Thu, 4 Dec 2025 21:20:35 +0100 Subject: [PATCH 4/5] Add checks --- .../ini/tests/pythia8_pp_clr-blc0_13tev.C | 19 +++++++++++++++++++ .../ini/tests/pythia8_pp_clr-blc2_13tev.C | 1 + .../ini/tests/pythia8_pp_clr-blc3_13tev.C | 1 + 3 files changed, 21 insertions(+) create mode 100644 MC/config/ALICE3/ini/tests/pythia8_pp_clr-blc0_13tev.C create mode 120000 MC/config/ALICE3/ini/tests/pythia8_pp_clr-blc2_13tev.C create mode 120000 MC/config/ALICE3/ini/tests/pythia8_pp_clr-blc3_13tev.C diff --git a/MC/config/ALICE3/ini/tests/pythia8_pp_clr-blc0_13tev.C b/MC/config/ALICE3/ini/tests/pythia8_pp_clr-blc0_13tev.C new file mode 100644 index 000000000..d258500c3 --- /dev/null +++ b/MC/config/ALICE3/ini/tests/pythia8_pp_clr-blc0_13tev.C @@ -0,0 +1,19 @@ +int External() +{ + std::string path{"o2sim_Kine.root"}; + + TFile file(path.c_str(), "read"); + if (file.IsZombie()) { + std::cerr << "Cannot open ROOT file " << path << std::endl; + return 1; + } + + TTree* tree = (TTree*)file.Get("o2sim"); + + if (!tree) { + std::cerr << "Cannot find tree o2sim in file " << path << "\n"; + return 1; + } + + return 0; +} diff --git a/MC/config/ALICE3/ini/tests/pythia8_pp_clr-blc2_13tev.C b/MC/config/ALICE3/ini/tests/pythia8_pp_clr-blc2_13tev.C new file mode 120000 index 000000000..fbe2c4ed8 --- /dev/null +++ b/MC/config/ALICE3/ini/tests/pythia8_pp_clr-blc2_13tev.C @@ -0,0 +1 @@ +pythia8_pp_clr-blc0_13tev.C \ No newline at end of file diff --git a/MC/config/ALICE3/ini/tests/pythia8_pp_clr-blc3_13tev.C b/MC/config/ALICE3/ini/tests/pythia8_pp_clr-blc3_13tev.C new file mode 120000 index 000000000..fbe2c4ed8 --- /dev/null +++ b/MC/config/ALICE3/ini/tests/pythia8_pp_clr-blc3_13tev.C @@ -0,0 +1 @@ +pythia8_pp_clr-blc0_13tev.C \ No newline at end of file From 5668c158eaa0d1d804ec6a349dbe4ead9017a52a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Jacazio?= Date: Thu, 4 Dec 2025 21:23:31 +0100 Subject: [PATCH 5/5] Add set seed --- MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc0_13tev.cfg | 1 + MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc2_13tev.cfg | 1 + MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc3_13tev.cfg | 1 + 3 files changed, 3 insertions(+) diff --git a/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc0_13tev.cfg b/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc0_13tev.cfg index fe0137430..a5fc8e17f 100644 --- a/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc0_13tev.cfg +++ b/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc0_13tev.cfg @@ -41,3 +41,4 @@ ColourReconnection:allowJunctions = on ColourReconnection:junctionCorrection = 1.43 # Mode 0 ColourReconnection:timeDilationMode = 0 # Mode 0 +Random:setSeed = on diff --git a/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc2_13tev.cfg b/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc2_13tev.cfg index 7c6ebcde8..405de08bb 100644 --- a/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc2_13tev.cfg +++ b/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc2_13tev.cfg @@ -42,3 +42,4 @@ ColourReconnection:junctionCorrection = 1.2 # Mode 2 ColourReconnection:timeDilationMode = 2 # Mode 2 ColourReconnection:timeDilationPar = 0.18 # Mode 2 +Random:setSeed = on diff --git a/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc3_13tev.cfg b/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc3_13tev.cfg index 45ced6727..34c006469 100644 --- a/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc3_13tev.cfg +++ b/MC/config/ALICE3/pythia8/generator/pythia8_pp_clr-blc3_13tev.cfg @@ -42,3 +42,4 @@ ColourReconnection:junctionCorrection = 1.15 # Mode 3 ColourReconnection:timeDilationMode = 3 # Mode 3 ColourReconnection:timeDilationPar = 0.073 # Mode 3 +Random:setSeed = on