Skip to content

[PWGCF] adding new task for multiparticle cumulants#15997

Draft
pykuan wants to merge 5 commits intoAliceO2Group:masterfrom
pykuan:master
Draft

[PWGCF] adding new task for multiparticle cumulants#15997
pykuan wants to merge 5 commits intoAliceO2Group:masterfrom
pykuan:master

Conversation

@pykuan
Copy link
Copy Markdown

@pykuan pykuan commented Apr 28, 2026

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 28, 2026

O2 linter results: ❌ 2 errors, ⚠️ 5 warnings, 🔕 0 disabled

@github-actions github-actions Bot changed the title adding new task for multiparticle cumulants [PWGCF] adding new task for multiparticle cumulants Apr 28, 2026
Comment thread PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx Outdated
Comment thread PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx Outdated
Comment on lines +21 to +24
#include "Framework/AnalysisDataModel.h"
#include "Framework/AnalysisTask.h"
#include "Framework/DataTypes.h"
#include "Framework/runDataProcessing.h"
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.

This is still a wrong format.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

May I ask what's wrong with the format?

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.

You need angle brackets for external headers.

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.

wenyaCern
wenyaCern previously approved these changes Apr 29, 2026
@alibuild
Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for c1a4fb7 at 2026-04-29 08:51:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:647:10: error: 'THIF' was not declared in this scope; did you mean 'THnF'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:647:16: error: expected primary-expression before 'const'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:651:3: error: expected primary-expression before '}' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:651:3: error: expected ';' before '}' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:651:3: error: expected primary-expression before '}' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:651:3: error: expected ')' before '}' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:651:3: error: expected primary-expression before '}' token
ninja: build stopped: subcommand failed.

Full log here.

Comment thread PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx Outdated
qa.fQAHistogramsList->Add(qa.fQAHistograms[eQACent][0]);

wt.fWeightHistograms = getHistogramsWithWeights(tc.fFileWithWeights.c_str(), tc.fRunNumber.c_str());
for (THIF* const& hist : wt.fWeightHistograms) {
Copy link
Copy Markdown
Collaborator

@vkucera vkucera Apr 29, 2026

Choose a reason for hiding this comment

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

  • Here const& doesn't make sense because you have pointers. Silence the O2 linter error.
  • You should not use explicit casting here. Either it is redundant or it is wrong.

@vkucera vkucera marked this pull request as draft April 29, 2026 07:34
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.

5 participants