Skip to content

[PWGCF] Significant update where event mixing is changed as well as changed f…#10251

Merged
victor-gonzalez merged 13 commits intoAliceO2Group:masterfrom
Thorkj:master
Mar 5, 2025
Merged

[PWGCF] Significant update where event mixing is changed as well as changed f…#10251
victor-gonzalez merged 13 commits intoAliceO2Group:masterfrom
Thorkj:master

Conversation

@Thorkj
Copy link
Contributor

@Thorkj Thorkj commented Feb 28, 2025

…rom sparses to correlation container

@github-actions github-actions bot added the pwgcf label Feb 28, 2025
@github-actions github-actions bot changed the title Significant update where event mixing is changed as well as changed f… [PWGCF] Significant update where event mixing is changed as well as changed f… Feb 28, 2025
@Thorkj
Copy link
Contributor Author

Thorkj commented Feb 28, 2025

I can spend more time trying to fix the linter issue, but I feel like the name of the column and the getter feels appropriate for what it does.

@alibuild
Copy link
Collaborator

Error while checking build/O2Physics/o2 for af945df at 2025-02-28 17:10:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/10251-slc9_x86-64/0/PWGCF/TwoParticleCorrelations/Tasks/corrSparse.cxx:69:47: error: unused parameter 'collision' [-Werror=unused-parameter]
ninja: build stopped: subcommand failed.

Full log here.


namespace o2::aod
{
namespace multiplicity_nch
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would suggest a name more adapted to your analysis to avoid clashes
What about corrsparse?

{
namespace multiplicity_nch
{
DECLARE_SOA_COLUMN(Multiplicity, mulT, int);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please, use

DECLARE_SOA_COLUMN(Multiplicity, multiplicity, int);

as recommended by linter

void processSame(AodCollisions::iterator const& collision, AodTracks const& tracks)
{

// LOGF(info, "Process Same | Nch: %i | Mult from column %i", tracks.size(), collision.mulT());
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please, don't leave code commented

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, have a look at my comments

@victor-gonzalez
Copy link
Collaborator

I can spend more time trying to fix the linter issue, but I feel like the name of the column and the getter feels appropriate for what it does.

Not quite sure I understand what you mean by trying, there are not too many ways of following linter recommendations

[PWGCF] Please consider the following formatting changes to AliceO2Group#10251
@alibuild
Copy link
Collaborator

alibuild commented Mar 4, 2025

Error while checking build/O2Physics/o2 for a2b9aed at 2025-03-04 10:50:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/10251-slc9_x86-64/0/PWGCF/TwoParticleCorrelations/Tasks/corrSparse.cxx:69:47: error: unused parameter 'collision' [-Werror=unused-parameter]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild
Copy link
Collaborator

alibuild commented Mar 4, 2025

Error while checking build/O2Physics/o2 for 526592e at 2025-03-04 11:16:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/10251-slc9_x86-64/0/PWGCF/TwoParticleCorrelations/Tasks/corrSparse.cxx:69:47: error: unused parameter 'collision' [-Werror=unused-parameter]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild
Copy link
Collaborator

alibuild commented Mar 4, 2025

Error while checking build/O2Physics/o2 for da502d8 at 2025-03-04 21:46:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/10251-slc9_x86-64/0/PWGCF/TwoParticleCorrelations/Tasks/corrSparse.cxx:155:134: error: too many arguments for format [-Werror=format-extra-args]
/sw/SOURCES/O2Physics/10251-slc9_x86-64/0/PWGCF/TwoParticleCorrelations/Tasks/corrSparse.cxx:155:50: error: too many arguments for format [-Werror=format-extra-args]
/sw/SOURCES/O2Physics/10251-slc9_x86-64/0/PWGCF/TwoParticleCorrelations/Tasks/corrSparse.cxx:155:242: error: expected ')' before ';' token
/sw/SOURCES/O2Physics/10251-slc9_x86-64/0/PWGCF/TwoParticleCorrelations/Tasks/corrSparse.cxx:155:242: error: expected ')' before ';' token
/sw/SOURCES/O2Physics/10251-slc9_x86-64/0/PWGCF/TwoParticleCorrelations/Tasks/corrSparse.cxx:156:136: error: too many arguments for format [-Werror=format-extra-args]
/sw/SOURCES/O2Physics/10251-slc9_x86-64/0/PWGCF/TwoParticleCorrelations/Tasks/corrSparse.cxx:156:51: error: too many arguments for format [-Werror=format-extra-args]
/sw/SOURCES/O2Physics/10251-slc9_x86-64/0/PWGCF/TwoParticleCorrelations/Tasks/corrSparse.cxx:156:245: error: expected ')' before ';' token
/sw/SOURCES/O2Physics/10251-slc9_x86-64/0/PWGCF/TwoParticleCorrelations/Tasks/corrSparse.cxx:156:245: error: expected ')' before ';' token
ninja: build stopped: subcommand failed.

Full log here.

@victor-gonzalez victor-gonzalez merged commit 9e32de0 into AliceO2Group:master Mar 5, 2025
13 checks passed
njacazio pushed a commit that referenced this pull request Apr 11, 2025
…hanged f… (#10251)

Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
EmilGorm pushed a commit to EmilGorm/O2Physics that referenced this pull request Apr 15, 2025
…hanged f… (AliceO2Group#10251)

Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
ariedel-cern pushed a commit to ariedel-cern/O2Physics that referenced this pull request May 23, 2025
…hanged f… (AliceO2Group#10251)

Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
alibuild added a commit to alibuild/O2Physics that referenced this pull request Aug 11, 2025
…hanged f… (AliceO2Group#10251)

Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
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