Skip to content

Conversation

@aferrero2707
Copy link
Contributor

The default number of matching candidates to be saved in output AO2Ds is set to 5 for pp and 20 for Pb-Pb. For other beam types it is set to zero, which prevents from adding the FwdMatching.saveMode and FwdMatching.nCandidates options to the forward matching workflow.

Setting the MUON_MATCHING_NCANDIDATES environment variable overrides the default values.

@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

@aferrero2707
Copy link
Contributor Author

+async-label async-2024-PbPb-apass2, async-2023-PbPb-apass5

@aferrero2707
Copy link
Contributor Author

@mcoquet642 could you please have a look? Thanks a lot!

@mcoquet642
Copy link
Collaborator

Thanks Andrea, this looks fine for me

@mcoquet642
Copy link
Collaborator

Dear @sawenzel , @chiarazampolli, @shahor02 could you please see if this could be merged, so that it can be included in the software freeze ? Thanks

@alcaliva alcaliva enabled auto-merge (squash) March 7, 2025 09:33
@alcaliva alcaliva self-requested a review March 7, 2025 09:33
@alcaliva
Copy link
Collaborator

alcaliva commented Mar 7, 2025

@sawenzel, can you check and if all is fine merge this PR? We need this to produce the new tag for PbPb apass

@sawenzel
Copy link
Contributor

sawenzel commented Mar 8, 2025

@davidrohr

@alcaliva
Copy link
Collaborator

alcaliva commented Mar 9, 2025

Dear @davidrohr , could you please check this PR? We need this to produce the new tag for PbPb

@davidrohr
Copy link
Collaborator

sorry, didn't see this. Is this needed only for async? Then I would prefer to have it in setenv_extra.sh, not in the general setenv.sh.

@aferrero2707
Copy link
Contributor Author

aferrero2707 commented Mar 10, 2025

@davidrohr yes, it is only needed for async. I will move the initializations in setenv_extra.sh and update the PR.

@alcaliva
Copy link
Collaborator

Hi @aferrero2707, did you move the initializations to setenv_extra.sh?

The default number of matching candidates to be saved in output AO2Ds
is set to 5 for pp and 20 for Pb-Pb. For other beam typoes it is set
to zero, which prevents from adding the FwdMatching.saveMode and
FwdMatching.nCandidates options to the forward matching workflow.

Setting the MUON_MATCHING_NCANDIDATES environment variable ovverrides the
default values.

The variable initialization has been moved to the setenv_extra.sh file
because it is only used for async processing.
auto-merge was automatically disabled March 11, 2025 14:48

Head branch was pushed to by a user without write access

@aferrero2707 aferrero2707 force-pushed the muon-matching-set-default-ncandidates branch from c0542f5 to e00df37 Compare March 11, 2025 14:48
@aferrero2707
Copy link
Contributor Author

@alcaliva @davidrohr @mcoquet642 I moved the initializations in setenv_extra.sh as suggested, and tested locally. Could you please have a final look? Thanks!

[[ ! -z ${ITS_STROBE:-} ]] && ITSMFT_STROBES+="ITSAlpideParam.roFrameLengthInBC=$ITS_STROBE;"
[[ ! -z ${MFT_STROBE:-} ]] && ITSMFT_STROBES+="MFTAlpideParam.roFrameLengthInBC=$MFT_STROBE;"

MFTMCH_NCANDIDATES_OPT=
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aferrero2707 : Sorry, but this line must stay in setenv.sh, since this one is also used in online :(.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davidrohr why you say this is needed for online as well? AFAIK we are not using the option for multiple candidates in online.

In the previous PR I have put the lines in setenv.sh because I was not aware of the setenv_extra.sh specific for async processing...

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, ok, I didn't know that.
I thought also MFTMCH_NCANDIDATES_OPT must be set for sync, since it is used.
But it is actually used like [[ ! -z ${MFTMCH_NCANDIDATES_OPT:-} ]] && , so ok if unset.
I'll revert my moving of the fail. Thx for checking and sorry for the confusion.

@davidrohr
Copy link
Collaborator

I'll move it back myself to get this going.

@davidrohr davidrohr merged commit bafcb11 into AliceO2Group:master Mar 12, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants