Skip to content

[PWGHF] check origin of tracks without collision association#998

Merged
vkucera merged 7 commits into
AliceO2Group:masterfrom
fgrosa:hfqa
Jul 15, 2022
Merged

[PWGHF] check origin of tracks without collision association#998
vkucera merged 7 commits into
AliceO2Group:masterfrom
fgrosa:hfqa

Conversation

@fgrosa

@fgrosa fgrosa commented Jul 15, 2022

Copy link
Copy Markdown
Collaborator

No description provided.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for cc20e0d at 2022-07-15 11:05:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:250:36: error: 'using element_type = class TH1' {aka 'class TH1'} has no member named 'SetBinLabel'; did you mean 'static bool TH1::CheckBinLabels(const TAxis*, const TAxis*)'? (not accessible from this context)
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:251:36: error: 'using element_type = class TH1' {aka 'class TH1'} has no member named 'SetBinLabel'; did you mean 'static bool TH1::CheckBinLabels(const TAxis*, const TAxis*)'? (not accessible from this context)
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:252:36: error: 'using element_type = class TH1' {aka 'class TH1'} has no member named 'SetBinLabel'; did you mean 'static bool TH1::CheckBinLabels(const TAxis*, const TAxis*)'? (not accessible from this context)
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:253:36: error: 'using element_type = class TH1' {aka 'class TH1'} has no member named 'SetBinLabel'; did you mean 'static bool TH1::CheckBinLabels(const TAxis*, const TAxis*)'? (not accessible from this context)
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:283:17: error: 'const struct o2::soa::Table<o2::aod::mcparticle::Phi, o2::aod::mcparticle::Eta, o2::aod::mcparticle::Pt, o2::aod::mcparticle::P, o2::aod::mcparticle::Y, o2::soa::Index<0, -1>, o2::aod::mcparticle::McCollisionId, o2::aod::mcparticle::PdgCode, o2::aod::mcparticle::StatusCode, o2::aod::mcparticle::Flags, o2::aod::mcparticle::MothersIds, o2::aod::mcparticle::DaughtersIdSlice, o2::aod::mcparticle::Weight, o2::aod::mcparticle::Px, o2::aod::mcparticle::Py, o2::aod::mcparticle::Pz, o2::aod::mcparticle::E, o2::aod::mcparticle::Vx, o2::aod::mcparticle::Vy, o2::aod::mcparticle::Vz, o2::aod::mcparticle::Vt, o2::aod::mcparticle::ProducedByGenerator<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::FromBackgroundEvent<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::GetGenStatusCode<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::GetProcess<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::IsPhysicalPrimary<o2::aod::mcparticle::Flags> >::RowViewBase<o2::soa::FilteredIndexPolicy, o2::soa::FilteredBase<o2::soa::Join<o2::aod::McParticles_001Extension, o2::soa::Table<o2::soa::Index<0, -1>, o2::aod::mcparticle::McCollisionId, o2::aod::mcparticle::PdgCode, o2::aod::mcparticle::StatusCode, o2::aod::mcparticle::Flags, o2::aod::mcparticle::MothersIds, o2::aod::mcparticle::DaughtersIdSlice, o2::aod::mcparticle::Weight, o2::aod::mcparticle::Px, o2::aod::mcparticle::Py, o2::aod::mcparticle::Pz, o2::aod::mcparticle::E, o2::aod::mcparticle::Vx, o2::aod::mcparticle::Vy, o2::aod::mcparticle::Vz, o2::aod::mcparticle::Vt, o2::aod::mcparticle::ProducedByGenerator<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::FromBackgroundEvent<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::GetGenStatusCode<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::GetProcess<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::IsPhysicalPrimary<o2::aod::mcparticle::Flags> > > >, o2::aod::McParticles_001Extension, o2::soa::Table<o2::soa::Index<0, -1>, o2::aod::mcparticle::McCollisionId, o2::aod::mcparticle::PdgCode, o2::aod::mcparticle::StatusCode, o2::aod::mcparticle::Flags, o2::aod::mcparticle::MothersIds, o2::aod::mcparticle::DaughtersIdSlice, o2::aod::mcparticle::Weight, o2::aod::mcparticle::Px, o2::aod::mcparticle::Py, o2::aod::mcparticle::Pz, o2::aod::mcparticle::E, o2::aod::mcparticle::Vx, o2::aod::mcparticle::Vy, o2::aod::mcparticle::Vz, o2::aod::mcparticle::Vt, o2::aod::mcparticle::ProducedByGenerator<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::FromBackgroundEvent<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::GetGenStatusCode<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::GetProcess<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::IsPhysicalPrimary<o2::aod::mcparticle::Flags> > >' has no member named 'has_mcParticle'
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:284:25: error: 'arrDaughters' was not declared in this scope
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:284:38: error: 'iProng' was not declared in this scope
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:286:9: error: 'histOriginNonAssociatedTracks' was not declared in this scope; did you mean 'collNonAssociatedTracks'?
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:288:9: error: 'histOriginNonAssociatedTracks' was not declared in this scope; did you mean 'collNonAssociatedTracks'?
ninja: build stopped: subcommand failed.

Full log here.

Comment thread PWGHF/Tasks/HFMCValidation.cxx Outdated
Comment thread PWGHF/Tasks/HFMCValidation.cxx Outdated
Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 7e42555 at 2022-07-15 12:13:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:252:30: error: comparison of integer expressions of different signedness: 'int' and 'std::array<std::shared_ptr<TH1>, 2>::size_type' {aka 'long unsigned int'} [-Werror=sign-compare]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for a0462e4 at 2022-07-15 12:14:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:250:10: error: 'histOriginTracks' declared as array of 'auto'
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:251:10: error: 'histOriginTracks' declared as array of 'auto'
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:252:30: error: comparison of integer expressions of different signedness: 'int' and 'std::array<std::shared_ptr<TH1>, 2>::size_type' {aka 'long unsigned int'} [-Werror=sign-compare]
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:253:32: error: 'using element_type = class TH1' {aka 'class TH1'} has no member named 'SetBinLabel'; did you mean 'static bool TH1::CheckBinLabels(const TAxis*, const TAxis*)'? (not accessible from this context)
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:254:32: error: 'using element_type = class TH1' {aka 'class TH1'} has no member named 'SetBinLabel'; did you mean 'static bool TH1::CheckBinLabels(const TAxis*, const TAxis*)'? (not accessible from this context)
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:255:32: error: 'using element_type = class TH1' {aka 'class TH1'} has no member named 'SetBinLabel'; did you mean 'static bool TH1::CheckBinLabels(const TAxis*, const TAxis*)'? (not accessible from this context)
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:256:32: error: 'using element_type = class TH1' {aka 'class TH1'} has no member named 'SetBinLabel'; did you mean 'static bool TH1::CheckBinLabels(const TAxis*, const TAxis*)'? (not accessible from this context)
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:288:17: error: 'const struct o2::soa::Table<o2::aod::mcparticle::Phi, o2::aod::mcparticle::Eta, o2::aod::mcparticle::Pt, o2::aod::mcparticle::P, o2::aod::mcparticle::Y, o2::soa::Index<0, -1>, o2::aod::mcparticle::McCollisionId, o2::aod::mcparticle::PdgCode, o2::aod::mcparticle::StatusCode, o2::aod::mcparticle::Flags, o2::aod::mcparticle::MothersIds, o2::aod::mcparticle::DaughtersIdSlice, o2::aod::mcparticle::Weight, o2::aod::mcparticle::Px, o2::aod::mcparticle::Py, o2::aod::mcparticle::Pz, o2::aod::mcparticle::E, o2::aod::mcparticle::Vx, o2::aod::mcparticle::Vy, o2::aod::mcparticle::Vz, o2::aod::mcparticle::Vt, o2::aod::mcparticle::ProducedByGenerator<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::FromBackgroundEvent<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::GetGenStatusCode<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::GetProcess<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::IsPhysicalPrimary<o2::aod::mcparticle::Flags> >::RowViewBase<o2::soa::FilteredIndexPolicy, o2::soa::FilteredBase<o2::soa::Join<o2::aod::McParticles_001Extension, o2::soa::Table<o2::soa::Index<0, -1>, o2::aod::mcparticle::McCollisionId, o2::aod::mcparticle::PdgCode, o2::aod::mcparticle::StatusCode, o2::aod::mcparticle::Flags, o2::aod::mcparticle::MothersIds, o2::aod::mcparticle::DaughtersIdSlice, o2::aod::mcparticle::Weight, o2::aod::mcparticle::Px, o2::aod::mcparticle::Py, o2::aod::mcparticle::Pz, o2::aod::mcparticle::E, o2::aod::mcparticle::Vx, o2::aod::mcparticle::Vy, o2::aod::mcparticle::Vz, o2::aod::mcparticle::Vt, o2::aod::mcparticle::ProducedByGenerator<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::FromBackgroundEvent<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::GetGenStatusCode<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::GetProcess<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::IsPhysicalPrimary<o2::aod::mcparticle::Flags> > > >, o2::aod::McParticles_001Extension, o2::soa::Table<o2::soa::Index<0, -1>, o2::aod::mcparticle::McCollisionId, o2::aod::mcparticle::PdgCode, o2::aod::mcparticle::StatusCode, o2::aod::mcparticle::Flags, o2::aod::mcparticle::MothersIds, o2::aod::mcparticle::DaughtersIdSlice, o2::aod::mcparticle::Weight, o2::aod::mcparticle::Px, o2::aod::mcparticle::Py, o2::aod::mcparticle::Pz, o2::aod::mcparticle::E, o2::aod::mcparticle::Vx, o2::aod::mcparticle::Vy, o2::aod::mcparticle::Vz, o2::aod::mcparticle::Vt, o2::aod::mcparticle::ProducedByGenerator<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::FromBackgroundEvent<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::GetGenStatusCode<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::GetProcess<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::IsPhysicalPrimary<o2::aod::mcparticle::Flags> > >' has no member named 'has_mcParticle'
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:289:25: error: 'arrDaughters' was not declared in this scope
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:289:38: error: 'iProng' was not declared in this scope
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:298:17: error: 'const struct o2::soa::Table<o2::aod::mcparticle::Phi, o2::aod::mcparticle::Eta, o2::aod::mcparticle::Pt, o2::aod::mcparticle::P, o2::aod::mcparticle::Y, o2::soa::Index<0, -1>, o2::aod::mcparticle::McCollisionId, o2::aod::mcparticle::PdgCode, o2::aod::mcparticle::StatusCode, o2::aod::mcparticle::Flags, o2::aod::mcparticle::MothersIds, o2::aod::mcparticle::DaughtersIdSlice, o2::aod::mcparticle::Weight, o2::aod::mcparticle::Px, o2::aod::mcparticle::Py, o2::aod::mcparticle::Pz, o2::aod::mcparticle::E, o2::aod::mcparticle::Vx, o2::aod::mcparticle::Vy, o2::aod::mcparticle::Vz, o2::aod::mcparticle::Vt, o2::aod::mcparticle::ProducedByGenerator<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::FromBackgroundEvent<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::GetGenStatusCode<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::GetProcess<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::IsPhysicalPrimary<o2::aod::mcparticle::Flags> >::RowViewBase<o2::soa::FilteredIndexPolicy, o2::soa::FilteredBase<o2::soa::Join<o2::aod::McParticles_001Extension, o2::soa::Table<o2::soa::Index<0, -1>, o2::aod::mcparticle::McCollisionId, o2::aod::mcparticle::PdgCode, o2::aod::mcparticle::StatusCode, o2::aod::mcparticle::Flags, o2::aod::mcparticle::MothersIds, o2::aod::mcparticle::DaughtersIdSlice, o2::aod::mcparticle::Weight, o2::aod::mcparticle::Px, o2::aod::mcparticle::Py, o2::aod::mcparticle::Pz, o2::aod::mcparticle::E, o2::aod::mcparticle::Vx, o2::aod::mcparticle::Vy, o2::aod::mcparticle::Vz, o2::aod::mcparticle::Vt, o2::aod::mcparticle::ProducedByGenerator<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::FromBackgroundEvent<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::GetGenStatusCode<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::GetProcess<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::IsPhysicalPrimary<o2::aod::mcparticle::Flags> > > >, o2::aod::McParticles_001Extension, o2::soa::Table<o2::soa::Index<0, -1>, o2::aod::mcparticle::McCollisionId, o2::aod::mcparticle::PdgCode, o2::aod::mcparticle::StatusCode, o2::aod::mcparticle::Flags, o2::aod::mcparticle::MothersIds, o2::aod::mcparticle::DaughtersIdSlice, o2::aod::mcparticle::Weight, o2::aod::mcparticle::Px, o2::aod::mcparticle::Py, o2::aod::mcparticle::Pz, o2::aod::mcparticle::E, o2::aod::mcparticle::Vx, o2::aod::mcparticle::Vy, o2::aod::mcparticle::Vz, o2::aod::mcparticle::Vt, o2::aod::mcparticle::ProducedByGenerator<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::FromBackgroundEvent<o2::aod::mcparticle::Flags>, o2::aod::mcparticle::GetGenStatusCode<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::GetProcess<o2::aod::mcparticle::Flags, o2::aod::mcparticle::StatusCode>, o2::aod::mcparticle::IsPhysicalPrimary<o2::aod::mcparticle::Flags> > >' has no member named 'has_mcParticle'
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:299:25: error: 'arrDaughters' was not declared in this scope
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:299:38: error: 'iProng' was not declared in this scope
ninja: build stopped: subcommand failed.

Full log here.

@vkucera vkucera self-requested a review July 15, 2022 10:19
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 13320f2 at 2022-07-15 12:59:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/998-slc7_x86-64/0/PWGHF/Tasks/HFMCValidation.cxx:252:30: error: comparison of integer expressions of different signedness: 'int' and 'std::array<std::shared_ptr<TH1>, 2>::size_type' {aka 'long unsigned int'} [-Werror=sign-compare]
ninja: build stopped: subcommand failed.

Full log here.

@fgrosa

fgrosa commented Jul 15, 2022

Copy link
Copy Markdown
Collaborator Author

Hi @vkucera I implemented all your comments, could you please approve it so that we have it in the tomorrow's tag and we can check the new MC productions? Thanks!

@vkucera vkucera enabled auto-merge (squash) July 15, 2022 12:41
@vkucera vkucera merged commit 13fd6b5 into AliceO2Group:master Jul 15, 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.

3 participants