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

[PWGCF] Updated CorrSparse with added histograms and a changed dPhi definition #8770

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Thorkj
Copy link
Contributor

@Thorkj Thorkj commented Dec 2, 2024

No description provided.

@github-actions github-actions bot added the pwgcf label Dec 2, 2024
@github-actions github-actions bot changed the title Updated CorrSparse with added histograms and a changed dPhi definition [PWGCF] Updated CorrSparse with added histograms and a changed dPhi definition Dec 2, 2024
victor-gonzalez
victor-gonzalez previously approved these changes Dec 2, 2024
Copy link
Collaborator

@victor-gonzalez victor-gonzalez left a comment

Choose a reason for hiding this comment

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

Please, for the next iteration consider the const-ref-in-process, the const-ref-in-for-loop, and the using PI constant and their multiples/fractions from o2::constants::math lint suggestions

I updated to use the o2::constants::math
@Thorkj
Copy link
Contributor Author

Thorkj commented Dec 3, 2024

I have troubleshooted the lint errors and can't find the solution, it seems to be the same setup as the previous accepted file. For some reason it causes issues now. Please let me know if you have any suggestions.

@@ -33,12 +37,8 @@ struct CorrSparse {
Configurable<float> cfgPtCutMin = {"minpt", 0.2, "Minimum accepted track pT. Default 0.2 GeV"};
Copy link
Collaborator

Choose a reason for hiding this comment

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

For this one, for example, you have to change it to

Configurable<float> cfgPtCutMin = {"cfgPtCutMin", 0.2, "Minimum accepted track pT. Default 0.2 GeV"};

to get rid of the error in that line
Similar for the similar errors


// define the filtered collisions and tracks

using aodCollisions = soa::Filtered<soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Cs>>;
Copy link
Collaborator

@victor-gonzalez victor-gonzalez Dec 3, 2024

Choose a reason for hiding this comment

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

For this one, as suggested, you have to use UpperCamelCase, i.e. AodCollisions
And similar for the similar ones

Copy link
Collaborator

@victor-gonzalez victor-gonzalez left a comment

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 suggestions

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.

3 participants