Skip to content

PWGCF: Update task multiparticle-correlations-ar#1114

Merged
saganatt merged 16 commits into
AliceO2Group:masterfrom
ariedel-cern:master
Aug 9, 2022
Merged

PWGCF: Update task multiparticle-correlations-ar#1114
saganatt merged 16 commits into
AliceO2Group:masterfrom
ariedel-cern:master

Conversation

@ariedel-cern

Copy link
Copy Markdown
Collaborator
  • Implement comments from previous pull request
  • Add support for calculation Qvectors

@saganatt saganatt 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.

Hi, I left some smaller suggestions for improving the code, please consider them.

Comment thread PWGCF/MultiparticleCorrelations/Tasks/multiparticle-correlations-ar.cxx Outdated
Comment thread PWGCF/MultiparticleCorrelations/Tasks/multiparticle-correlations-ar.cxx Outdated
Comment thread PWGCF/MultiparticleCorrelations/Tasks/multiparticle-correlations-ar.cxx Outdated
Comment thread PWGCF/MultiparticleCorrelations/Tasks/multiparticle-correlations-ar.cxx Outdated
}; // namespace MultiParticleCorrelationsARTaskGlobalVariables

// use an alias for our namespace
namespace AR = MultiParticleCorrelationsARTaskGlobalVariables;

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.

Suggested change
namespace AR = MultiParticleCorrelationsARTaskGlobalVariables;
using namespace AR = MultiParticleCorrelationsARTaskGlobalVariables;

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I acutally like using the namespace explicitly. Even though its more typing, I think it is easier to read and find the stuff during debugging.

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.

ah, you are right, I was thinking about using as creating an alias, but it does not work for namespaces in this way,

Comment thread PWGCF/MultiparticleCorrelations/Tasks/multiparticle-correlations-ar.cxx Outdated
- rename Enums for better readability
- Change Survive{Event,Track}Cuts to remove unnecessary flag
@ariedel-cern

Copy link
Copy Markdown
Collaborator Author

Thanks saganat, for looking over my PR. I really appreciate the feedback. I hope with the fixes implemented you can give my PR a +1.

@saganatt saganatt enabled auto-merge (squash) August 9, 2022 14:45
@saganatt saganatt merged commit ae7b33f into AliceO2Group:master Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants