-
Notifications
You must be signed in to change notification settings - Fork 628
[PWGHF] Make default sgSelector parameters configurable #14923
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
Open
Rrantu
wants to merge
14
commits into
AliceO2Group:master
Choose a base branch
from
Rrantu:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+35
−20
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
99cd23c
add UPC infos in taskLc.cxx
Rrantu c567ada
difine new THnSphere axes for UPC and delete useless histos
Rrantu f5fc795
Removed the unnecessary axes in the UPC THnSparse
Rrantu 5d7212c
Removed the unnecessary axes
Rrantu 70622f6
Fix sgSelector parameters and make them configurable
Rrantu 4ef1765
Merge branch 'master' into master
Rrantu 285c47f
fixed configurable name
Rrantu 8294fb2
fix names and remove zdcThreshold
Rrantu 28e145b
fix configrable name
Rrantu 6fcc7c2
align the default values
Rrantu 53cb024
fix formatting issues
Rrantu fb7908f
Fix variable type
Rrantu b083b13
fix variable type
Rrantu 8cc0c64
use constants in defaults to itialise configurables
Rrantu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Please remove
zdcThreshold. It is unused.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.
Thanks for your suggestions, I've updated the code.
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.
Thanks. Please implement the remaining changes I had requested.
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.
Sorry, I missed one of the changes earlier. It has now been fixed.
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.
Also the default values.
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.
Hi @vkucera, As far as I understand, o2::hf_evsel::HfEventSelection::setSgPreselection is used during the skimming step.
The o2::analysis::hf_upc::HfUpcGapThresholds and
o2::analysis::hf_upc::defaults were already defined in this task and can be adjusted depending on the specific analysis needs.
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.
All three cases can be used simultaneously in the same task.
My question is: Why should the default values be different in these three cases?
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.
The default values in o2::analysis::hf_upc::defaults already existed in the code, and I am not sure of their original source.
When using these values in the analysis, I encountered some issues. After debugging, it turned out that the defaults in o2::analysis::hf_upc::defaults were not appropriate. For this reason, I made the parameters configurable through o2::analysis::hf_upc::HfUpcGapThresholds. And the default values in o2::analysis::hf_upc::HfUpcGapThresholds are consistent with those in o2::hf_evsel::HfEventSelection::setSgPreselection.
Now I have aligned o2::analysis::hf_upc::defaults to ensure full consistency across all three cases.
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.
The values are same but still independent. My request was to use the constants in
defaultsto initialise the configurables inHfUpcGapThresholds.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.
I‘ve update the code to use these constants to initialise the configurables.