Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created EPOS4 external example generator #1789

Merged
merged 11 commits into from
Nov 15, 2024

Conversation

jackal1-66
Copy link
Collaborator

In order to run on hyperloop an external generator based on the automatic FIFOs mechanism has been setup for EPOS4.
The generation has been tested locally using this example command

o2-sim-dpl-eventgen --generator external --nEvents 1000 --aggregate-timeframe 2 --configFile $O2DPG_MC_CONFIG_ROOT/MC/config/examples/ini/GeneratorEPOS4.ini -b | o2-sim-mctracks-to-aod -b | o2-analysis-mctracks-to-aod-simple-task -b

or changing the parameters with

o2-sim-dpl-eventgen --generator external --nEvents 1000 --aggregate-timeframe 2 --configFile $O2DPG_MC_CONFIG_ROOT/MC/config/examples/ini/GeneratorEPOS4.ini --configKeyValues "GeneratorExternal.funcName=generateEPOS4(\"my/path/example2.optns\", 1000)" -b | o2-sim-mctracks-to-aod -b | o2-analysis-mctracks-to-aod-simple-task -b

It is important that in the optns file the option set ihepmc 2 is set, otherwise the generation won't work (as specified also in the HepMC EPOS4 generation tutorial).

Copy link

github-actions bot commented Nov 7, 2024

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-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1

@jackal1-66
Copy link
Collaborator Author

I checked again the modifications and I didn't find any issue. I retested everything thoroughly both locally and on LXPLUS and the test passed successfully. I think the issue might be either related to the slc7 build, or to issues when creating the automatic FIFO with the child spawning of EPOS4. Unfortanately I am not able to say more since I don't have access to the CI machines.

@jackal1-66
Copy link
Collaborator Author

Issue with CI is related to the fact that the environment variables seem not to be set correctly in the docker. This can be easily fixed by editing the running script (since it seems instead that EPOS4_ROOT is set correctly). Adding this check and variable exports in epos.sh fixed the test that is now working fine. Merging since the CI check passed. As a note, the problems could be reproduced in lxplus (or locally) by simply unsetting EPO4, HTO, CHK and OPT.

@jackal1-66 jackal1-66 merged commit 8585daa into AliceO2Group:master Nov 15, 2024
7 checks passed
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.

2 participants