Skip to content

use of GeneratorPYTHIA8 to generate background events instead of duplicate PYTHIA8 for injection mode#2273

Open
hkoley wants to merge 7 commits intoAliceO2Group:masterfrom
hkoley:master
Open

use of GeneratorPYTHIA8 to generate background events instead of duplicate PYTHIA8 for injection mode#2273
hkoley wants to merge 7 commits intoAliceO2Group:masterfrom
hkoley:master

Conversation

@hkoley
Copy link
Contributor

@hkoley hkoley commented Feb 16, 2026

No description provided.

@hkoley hkoley requested a review from a team as a code owner February 16, 2026 11:14
@github-actions
Copy link

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

@njacazio njacazio enabled auto-merge (squash) February 16, 2026 11:15
@njacazio
Copy link
Contributor

Hi, most of the changes were due to a different formatting, I unified it.

@jackal1-66
Copy link
Collaborator

Ciao @hkoley , first issue I can see is that: pythia8_inel_minbias.cfg is nowhere to be found, so a few tests are failing immediately. It should be located in MC/config/PWGLF/pythia8/pythia8_inel_minbias.cfg, but it's not there.
Second problem is that we're hitting the CI timeout. This happens because some generators are taking an absurd amount of time to run. When my tests are over I will post here a full report and tell you what to add in specific ini files

@jackal1-66
Copy link
Collaborator

I think the tests just hang at some point... could you please check if there is a condition that is never satisfied while generating Pythia8 events? To give you an example: GeneratorLF_Resonances_pp900.ini has currently generated 2826000 pythia events and it hasn't triggered an event since event 24.
From the log I see:

[4083736:generator-task]: [09:14:52][INFO] generateEvent (Injection) 25
[4083736:generator-task]: [09:14:52][INFO] Using configuration 12 out of 24, of which 0 are transport decayed and 24 are generator decayed
[4083736:generator-task]: [09:14:52][INFO] Using config container 
[4083736:generator-task]: [09:14:52][INFO] int mPdg = 123324
[4083736:generator-task]: [09:14:52][INFO] int mNInject = 1
[4083736:generator-task]: [09:14:52][INFO] float mPtMin = 0.000000
[4083736:generator-task]: [09:14:52][INFO] float mPtMax = 20.000000
[4083736:generator-task]: [09:14:52][INFO] float mMin = -1.200000
[4083736:generator-task]: [09:14:52][INFO] float mMax = 1.200000
[4083736:generator-task]: [09:14:52][INFO] double mMass = 1.823400
[4083736:generator-task]: [09:14:52][INFO] Generating triggered signal event for particle
[4083736:generator-task]: [09:14:52][INFO] int mPdg = 123324
[4083736:generator-task]: [09:14:52][INFO] int mNInject = 1
[4083736:generator-task]: [09:14:52][INFO] float mPtMin = 0.000000
[4083736:generator-task]: [09:14:52][INFO] float mPtMax = 20.000000
[4083736:generator-task]: [09:14:52][INFO] float mMin = -1.200000
[4083736:generator-task]: [09:14:52][INFO] float mMax = 1.200000
[4083736:generator-task]: [09:14:52][INFO] double mMass = 1.823400
[4083736:generator-task]: 

I hope this can help

auto-merge was automatically disabled February 17, 2026 09:13

Head branch was pushed to by a user without write access

@jackal1-66
Copy link
Collaborator

New errors:

[11:15:54][FATAL] Cannot use simple injection and have a configuration file. pythiaCfgSignal= `${O2DPG_MC_CONFIG_ROOT}/MC/config/PWGLF/pythia8/generator/pythia8_inel_pp900gev.cfg` must be empty

for GeneratorLF_Resonances_pp900.ini

[FATAL] Failed to init 'Pythia8': init returned with error

for GeneratorLF_ExoticResonances_pp1360.ini, GeneratorLF_Resonances_PbPb5360_injection.ini , GeneratorLF_Resonances_pp900_injection.ini, and GeneratorLF_Resonances_pp1360_injection.ini

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants