-
Notifications
You must be signed in to change notification settings - Fork 18
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
move main ALLEGRO tests to ddsim+k4run #109
move main ALLEGRO tests to ddsim+k4run #109
Conversation
Hi @BrieucF I think this PR is now ready for review, the new test supersedes a few tests and can then serve also as a template for run_digi_reco in FCC-config. When new tools are added (new cell digitisation + positioning tool, noise..) we can then create further PRs to update the test - or modify the test directly in the PRs implementing the new algorithms. |
Hi Giovanni, it looks good! Thanks! The test should be modified whithin the PR adding a new functionality in k4RecCalorimeter ;-) |
@kjvbrt is this ok for you? |
retcode=$? | ||
if [ $retcode -ne 0 ]; then | ||
echo "Simulation failed" | ||
exit $retcode | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is easier to check for the non-zero return value with:
ddsim .... || exit 1
This will exit the script with 1
if ddsim returnns non zero value (the commands for or are evaluated from left to right and if the result of the first command is already true the second command is skipped).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok will fix in next PR
Move ALLEGRO tests to ddsim + k4run, and reduce number of tests
WIP: need to include in main test clustering with x-talk (and remove the last test FCCeeLar_runxtalk)
There are two tests (FCCeeLar_benchmarkCalibration and FCCeeLAr_benchmarkCorrection) for which I think that: