Skip to content

[PWGLF] Nuspex: deuteron proton correlaion: Add pileup rejection#16711

Closed
ercolessi wants to merge 10 commits into
AliceO2Group:masterfrom
ercolessi:jets
Closed

[PWGLF] Nuspex: deuteron proton correlaion: Add pileup rejection#16711
ercolessi wants to merge 10 commits into
AliceO2Group:masterfrom
ercolessi:jets

Conversation

@ercolessi

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions github-actions Bot added the pwglf label Jun 17, 2026
@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown

O2 linter results: ❌ 1 errors, ⚠️ 30 warnings, 🔕 0 disabled

@ercolessi ercolessi marked this pull request as ready for review June 17, 2026 12:37
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for fde5173 at 2026-06-17 14:44:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:777:106: error: 'struct o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> >::TableIteratorBase<o2::soa::DefaultIndexPolicy, o2::soa::Filtered<o2::soa::Filtered<o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> > > > >' has no member named 'isNoSameBunchPileup'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:857:108: error: 'struct o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> >::TableIteratorBase<o2::soa::DefaultIndexPolicy, o2::soa::Filtered<o2::soa::Filtered<o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> > > > >' has no member named 'isNoSameBunchPileup'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:902:108: error: 'struct o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> >::TableIteratorBase<o2::soa::DefaultIndexPolicy, o2::soa::Filtered<o2::soa::Filtered<o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> > > > >' has no member named 'isNoSameBunchPileup'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:991:108: error: 'struct o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> >::TableIteratorBase<o2::soa::DefaultIndexPolicy, o2::soa::Filtered<o2::soa::Filtered<o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> > > > >' has no member named 'isNoSameBunchPileup'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:993:108: error: 'struct o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> >::TableIteratorBase<o2::soa::DefaultIndexPolicy, o2::soa::Filtered<o2::soa::Filtered<o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> > > > >' has no member named 'isNoSameBunchPileup'
ninja: build stopped: subcommand failed.

Full log here.

@ercolessi ercolessi marked this pull request as draft June 17, 2026 12:47
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for fde5173 at 2026-06-17 14:51:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:777:106: error: 'struct o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> >::TableIteratorBase<o2::soa::DefaultIndexPolicy, o2::soa::Filtered<o2::soa::Filtered<o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> > > > >' has no member named 'isNoSameBunchPileup'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:857:108: error: 'struct o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> >::TableIteratorBase<o2::soa::DefaultIndexPolicy, o2::soa::Filtered<o2::soa::Filtered<o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> > > > >' has no member named 'isNoSameBunchPileup'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:902:108: error: 'struct o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> >::TableIteratorBase<o2::soa::DefaultIndexPolicy, o2::soa::Filtered<o2::soa::Filtered<o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> > > > >' has no member named 'isNoSameBunchPileup'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:991:108: error: 'struct o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> >::TableIteratorBase<o2::soa::DefaultIndexPolicy, o2::soa::Filtered<o2::soa::Filtered<o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> > > > >' has no member named 'isNoSameBunchPileup'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:993:108: error: 'struct o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> >::TableIteratorBase<o2::soa::DefaultIndexPolicy, o2::soa::Filtered<o2::soa::Filtered<o2::soa::Table<o2::aod::Hash<149707338>, o2::aod::Hash<1915116125>, o2::aod::Hash<2286545062> > > > >' has no member named 'isNoSameBunchPileup'
ninja: build stopped: subcommand failed.

Full log here.

@ercolessi ercolessi marked this pull request as ready for review June 17, 2026 14:08
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for ed4474d at 2026-06-17 16:14:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:147:91: error: wrong number of template arguments (2, should be 1)
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:147:40: error: '<expression error>' in namespace 'o2::soa' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:999:30: error: 'FilteredCollisionsExtra' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:999:64: error: expected ',' or '...' before 'const'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1303:31: error: 'FilteredCollisionsExtra' has not been declared
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1003:43: error: expected primary-expression before '.' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1005:30: error: 'tracks' was not declared in this scope; did you mean 'track'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1007:83: error: 'FilteredCollisionsExtra' was not declared in this scope; did you mean 'FilteredCollisions'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1007:83: error: template argument 1 is invalid
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1007:68: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1007:109: error: expected primary-expression before ')' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1036:48: error: expected primary-expression before '.' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1080:33: error: expected primary-expression before '.' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1081:33: error: expected primary-expression before '.' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1085:91: error: 'tracks' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1087:85: error: 'FilteredCollisionsExtra' was not declared in this scope; did you mean 'FilteredCollisions'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1087:85: error: template argument 1 is invalid
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1087:70: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1087:111: error: expected primary-expression before ')' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1130:82: error: 'tracks' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1132:85: error: 'FilteredCollisionsExtra' was not declared in this scope; did you mean 'FilteredCollisions'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1132:85: error: template argument 1 is invalid
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1132:70: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1132:111: error: expected primary-expression before ')' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:999:55: error: unused parameter 'iterator' [-Werror=unused-parameter]
/sw/slc9_x86-64/O2/daily-20260617-0000-local1/include/Framework/ASoAHelpers.h:141:9: error: 'int' is not a class, struct, or union type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1306:112: error: no match for 'operator*' (operand type is 'o2::soa::CombinationsGenerator<o2::soa::CombinationsBlockStrictlyUpperSameIndexPolicy<o2::framework::ColumnBinningPolicy<o2::aod::singletrackselector::PosZ, o2::aod::singletrackselector::Mult>, int, int, int> >::iterator' {aka 'o2::soa::CombinationsGenerator<o2::soa::CombinationsBlockStrictlyUpperSameIndexPolicy<o2::framework::ColumnBinningPolicy<o2::aod::singletrackselector::PosZ, o2::aod::singletrackselector::Mult>, int, int, int> >::CombinationsIterator'})
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1327:85: error: 'FilteredCollisionsExtra' was not declared in this scope; did you mean 'FilteredCollisions'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1327:85: error: template argument 1 is invalid
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1327:70: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1327:111: error: expected primary-expression before ')' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1329:85: error: 'FilteredCollisionsExtra' was not declared in this scope; did you mean 'FilteredCollisions'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1329:85: error: template argument 1 is invalid
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1329:70: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx:1329:111: error: expected primary-expression before ')' token
/sw/slc9_x86-64/O2/daily-20260617-0000-local1/include/Framework/ASoAHelpers.h:1196:46: error: 'const struct o2::soa::CombinationsGenerator<o2::soa::CombinationsBlockStrictlyUpperSameIndexPolicy<o2::framework::ColumnBinningPolicy<o2::aod::singletrackselector::PosZ, o2::aod::singletrackselector::Mult>, int, int, int> >::CombinationsIterator' has no member named 'mCurrent'
/sw/slc9_x86-64/O2/daily-20260617-0000-local1/include/Framework/ASoAHelpers.h:1196:61: error: 'const struct o2::soa::CombinationsGenerator<o2::soa::CombinationsBlockStrictlyUpperSameIndexPolicy<o2::framework::ColumnBinningPolicy<o2::aod::singletrackselector::PosZ, o2::aod::singletrackselector::Mult>, int, int, int> >::CombinationsIterator' has no member named 'mCurrent'
/sw/slc9_x86-64/O2/daily-20260617-0000-local1/include/Framework/AnalysisTask.h:681:58: error: no matching function for call to 'o2::framework::{anonymous}::AnalysisDataProcessorBuilder::invokeProcess(std::__shared_ptr<HadronNucleiCorrelation, __gnu_cxx::_S_atomic>::element_type&, o2::framework::InputRecord&, std::vector<std::pair<int, o2::framework::ConcreteDataMatcher> >&, void (HadronNucleiCorrelation::*&)(int), std::vector<ExpressionInfo>&, o2::framework::ArrowTableSlicingCache&, o2::header::DataOrigin&)'
/sw/slc9_x86-64/O2/daily-20260617-0000-local1/include/Framework/AnalysisTask.h:681:58: error: no matching function for call to 'o2::framework::{anonymous}::AnalysisDataProcessorBuilder::invokeProcess(std::__shared_ptr<HadronNucleiCorrelation, __gnu_cxx::_S_atomic>::element_type&, o2::framework::InputRecord&, std::vector<std::pair<int, o2::framework::ConcreteDataMatcher> >&, void (HadronNucleiCorrelation::*&)(const int&, const o2::soa::Filtered<o2::soa::Join<o2::soa::Table<o2::aod::Hash<4287127949>, o2::aod::Hash<3995424772>, o2::aod::Hash<2286545062> >, o2::soa::Table<o2::aod::Hash<2011970219>, o2::aod::Hash<3997245862>, o2::aod::Hash<2286545062> >, o2::soa::Table<o2::aod::Hash<2302762645>, o2::aod::Hash<4026735110>, o2::aod::Hash<2286545062> >, o2::soa::Table<o2::aod::Hash<1206714577>, o2::aod::Hash<2172400593>, o2::aod::Hash<2286545062> >, o2::soa::Table<o2::aod::Hash<1497468907>, o2::aod::Hash<1198409452>, o2::aod::Hash<2286545062> > > >&), std::vector<ExpressionInfo>&, o2::framework::ArrowTableSlicingCache&, o2::header::DataOrigin&)'
/sw/slc9_x86-64/O2/daily-20260617-0000-local1/include/Framework/AnalysisTask.h:168:49: error: no matching function for call to 'o2::framework::{anonymous}::AnalysisDataProcessorBuilder::inputsFromArgs(void (HadronNucleiCorrelation::*&)(int), const char*, bool&, std::vector<o2::framework::InputSpec>&, std::vector<ExpressionInfo>&, std::vector<o2::framework::InputInfo>&, o2::header::DataOrigin&)'
/sw/slc9_x86-64/O2/daily-20260617-0000-local1/include/Framework/AnalysisTask.h:168:49: error: no matching function for call to 'o2::framework::{anonymous}::AnalysisDataProcessorBuilder::inputsFromArgs(void (HadronNucleiCorrelation::*&)(const int&, const o2::soa::Filtered<o2::soa::Join<o2::soa::Table<o2::aod::Hash<4287127949>, o2::aod::Hash<3995424772>, o2::aod::Hash<2286545062> >, o2::soa::Table<o2::aod::Hash<2011970219>, o2::aod::Hash<3997245862>, o2::aod::Hash<2286545062> >, o2::soa::Table<o2::aod::Hash<2302762645>, o2::aod::Hash<4026735110>, o2::aod::Hash<2286545062> >, o2::soa::Table<o2::aod::Hash<1206714577>, o2::aod::Hash<2172400593>, o2::aod::Hash<2286545062> >, o2::soa::Table<o2::aod::Hash<1497468907>, o2::aod::Hash<1198409452>, o2::aod::Hash<2286545062> > > >&), const char*, bool&, std::vector<o2::framework::InputSpec>&, std::vector<ExpressionInfo>&, std::vector<o2::framework::InputInfo>&, o2::header::DataOrigin&)'
/sw/slc9_x86-64/O2/daily-20260617-0000-local1/include/Framework/AnalysisTask.h:179:48: error: no matching function for call to 'o2::framework::{anonymous}::AnalysisDataProcessorBuilder::cacheFromArgs(void (HadronNucleiCorrelation::*&)(int), bool&, o2::framework::Cache&, o2::framework::Cache&)'
/sw/slc9_x86-64/O2/daily-20260617-0000-local1/include/Framework/AnalysisTask.h:179:48: error: no matching function for call to 'o2::framework::{anonymous}::AnalysisDataProcessorBuilder::cacheFromArgs(void (HadronNucleiCorrelation::*&)(const int&, const o2::soa::Filtered<o2::soa::Join<o2::soa::Table<o2::aod::Hash<4287127949>, o2::aod::Hash<3995424772>, o2::aod::Hash<2286545062> >, o2::soa::Table<o2::aod::Hash<2011970219>, o2::aod::Hash<3997245862>, o2::aod::Hash<2286545062> >, o2::soa::Table<o2::aod::Hash<2302762645>, o2::aod::Hash<4026735110>, o2::aod::Hash<2286545062> >, o2::soa::Table<o2::aod::Hash<1206714577>, o2::aod::Hash<2172400593>, o2::aod::Hash<2286545062> >, o2::soa::Table<o2::aod::Hash<1497468907>, o2::aod::Hash<1198409452>, o2::aod::Hash<2286545062> > > >&), bool&, o2::framework::Cache&, o2::framework::Cache&)'
ninja: build stopped: subcommand failed.

Full log here.

@ercolessi ercolessi marked this pull request as draft June 17, 2026 14:16
@ercolessi ercolessi closed this Jun 17, 2026
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