Skip to content

[PWGCF] LambdaR2Correlation Update#9076

Merged
victor-gonzalez merged 2 commits into
AliceO2Group:masterfrom
yashpatley:lambda-r2-update
Dec 20, 2024
Merged

[PWGCF] LambdaR2Correlation Update#9076
victor-gonzalez merged 2 commits into
AliceO2Group:masterfrom
yashpatley:lambda-r2-update

Conversation

@yashpatley

Copy link
Copy Markdown
Contributor

No description provided.

float retVal = 0.;

if (std::string(obj->ClassName()) == "TH1F") {
histos.fill(HIST("Tracks/h1f_tracks_info"), 21.5);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I would recommend to use an enum with named constants for the different tracks_info cases
If the corresponding histogram x axis starts with -0.5 the enum named constants can be used straight on
Additionally appropriate string labels can be used to identify each bin when shown

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Dear Victor, Thank you for this suggestion. I will try to update accordingly in next PR.

@victor-gonzalez victor-gonzalez left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Have a look at my comment in case you want to consider it for further iterations

@victor-gonzalez victor-gonzalez merged commit 62e8fc9 into AliceO2Group:master Dec 20, 2024
feisenhu pushed a commit to feisenhu/O2Physics that referenced this pull request Jan 8, 2025
smaff92 pushed a commit to smaff92/O2Physics that referenced this pull request Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants