Skip to content

[PWGLF] Added analysis scripts phiphimctrigger.cxx and phiphimcinjected.cxx for phi-phi trigger and injected MC - #18559

Open
sawankumawat wants to merge 6 commits into
AliceO2Group:masterfrom
sawankumawat:master
Open

sawankumawat wants to merge 6 commits into
AliceO2Group:masterfrom
sawankumawat:master

Conversation

@sawankumawat

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

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

@alibuild

alibuild commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for d4bcc9b at 2026-11-02 18:35:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'To reproduce the results below locally, run: '\''aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'\''.'
To reproduce the results below locally, run: 'aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'.
++ echo 'To apply all automatic fixes, add the '\''-e O2PHYSICS_CHECKER_FIX=1'\'' option.'
To apply all automatic fixes, add the '-e O2PHYSICS_CHECKER_FIX=1' option.
++ echo 'See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.'
See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.
++ echo 'Found 50 errors and 12 warnings.'
Found 50 errors and 12 warnings.
++ [[ 50 -gt 0 ]]
++ cat /sw/BUILD/09e5564ed754befaef2d25cc079c243590081d85/O2Physics-code-check/errors.txt
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:26:1: error: included header Vector4D.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:35:15: error: no header providing "ROOT::Math::PxPyPzMVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:48:12: error: no header providing "o2::framework::ConfigurableGroup" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:49:5: error: no header providing "o2::framework::Configurable" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:61:46: error: no header providing "o2::framework::OutputObjHandlingPolicy" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:64:3: error: no header providing "o2::framework::ConfigurableAxis" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:69:13: error: no header providing "o2::framework::InitContext" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:73:69: error: no header providing "o2::framework::kTH1F" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:76:116: error: no header providing "o2::framework::kTHnSparseF" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:78:120: error: no header providing "o2::constants::math::PI" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:125:21: error: no header providing "std::abs" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:166:34: error: no header providing "o2::soa::Join" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:166:44: error: no header providing "o2::aod::Collisions" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:167:44: error: no header providing "o2::aod::Tracks" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:167:57: error: no header providing "o2::aod::TracksExtra" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:167:150: error: no header providing "o2::aod::McTrackLabels" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:169:15: error: no header providing "ROOT::Math::PxPyPzEVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:172:46: error: no header providing "o2::constants::physics::MassKPlus" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:173:44: error: no header providing "o2::constants::physics::MassPhi" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:176:24: error: no header providing "o2::aod::McCollision" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:176:49: error: no header providing "o2::aod::McParticles" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:189:69: error: no header providing "o2::constants::physics::kPhi" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:257:3: error: no header providing "PROCESS_SWITCH" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:332:18: error: no header providing "std::abs" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:424:10: error: no header providing "size_t" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:26:1: error: included header Vector4D.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:35:15: error: no header providing "ROOT::Math::PxPyPzMVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:51:12: error: no header providing "o2::framework::ConfigurableGroup" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:52:5: error: no header providing "o2::framework::Configurable" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:62:46: error: no header providing "o2::framework::OutputObjHandlingPolicy" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:63:3: error: no header providing "o2::framework::ConfigurableAxis" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:68:13: error: no header providing "o2::framework::InitContext" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:72:69: error: no header providing "o2::framework::kTH1F" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:76:116: error: no header providing "o2::framework::kTHnSparseF" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:77:120: error: no header providing "o2::constants::math::PI" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:102:21: error: no header providing "std::abs" is directly included [misc-include-cleaner,-warnings-as-errors]
[0 more errors; see full log]

Full log here.

@alibuild

alibuild commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 69e44ee at 2026-11-02 18:41:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'To reproduce the results below locally, run: '\''aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'\''.'
To reproduce the results below locally, run: 'aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'.
++ echo 'To apply all automatic fixes, add the '\''-e O2PHYSICS_CHECKER_FIX=1'\'' option.'
To apply all automatic fixes, add the '-e O2PHYSICS_CHECKER_FIX=1' option.
++ echo 'See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.'
See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.
++ echo 'Found 50 errors and 12 warnings.'
Found 50 errors and 12 warnings.
++ [[ 50 -gt 0 ]]
++ cat /sw/BUILD/842ee2b1bb01e9a3919673a7a1b6326c8f644dcf/O2Physics-code-check/errors.txt
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:26:1: error: included header Vector4D.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:35:15: error: no header providing "ROOT::Math::PxPyPzMVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:48:12: error: no header providing "o2::framework::ConfigurableGroup" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:49:5: error: no header providing "o2::framework::Configurable" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:61:46: error: no header providing "o2::framework::OutputObjHandlingPolicy" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:64:3: error: no header providing "o2::framework::ConfigurableAxis" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:69:13: error: no header providing "o2::framework::InitContext" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:73:69: error: no header providing "o2::framework::kTH1F" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:76:116: error: no header providing "o2::framework::kTHnSparseF" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:78:120: error: no header providing "o2::constants::math::PI" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:125:21: error: no header providing "std::abs" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:166:34: error: no header providing "o2::soa::Join" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:166:44: error: no header providing "o2::aod::Collisions" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:167:44: error: no header providing "o2::aod::Tracks" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:167:57: error: no header providing "o2::aod::TracksExtra" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:167:150: error: no header providing "o2::aod::McTrackLabels" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:169:15: error: no header providing "ROOT::Math::PxPyPzEVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:172:46: error: no header providing "o2::constants::physics::MassKPlus" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:173:44: error: no header providing "o2::constants::physics::MassPhi" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:176:24: error: no header providing "o2::aod::McCollision" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:176:49: error: no header providing "o2::aod::McParticles" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:189:69: error: no header providing "o2::constants::physics::kPhi" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:257:3: error: no header providing "PROCESS_SWITCH" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:332:18: error: no header providing "std::abs" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:424:10: error: no header providing "size_t" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:26:1: error: included header Vector4D.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:35:15: error: no header providing "ROOT::Math::PxPyPzMVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:51:12: error: no header providing "o2::framework::ConfigurableGroup" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:52:5: error: no header providing "o2::framework::Configurable" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:62:46: error: no header providing "o2::framework::OutputObjHandlingPolicy" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:63:3: error: no header providing "o2::framework::ConfigurableAxis" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:68:13: error: no header providing "o2::framework::InitContext" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:72:69: error: no header providing "o2::framework::kTH1F" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:76:116: error: no header providing "o2::framework::kTHnSparseF" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:77:120: error: no header providing "o2::constants::math::PI" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:102:21: error: no header providing "std::abs" is directly included [misc-include-cleaner,-warnings-as-errors]
[0 more errors; see full log]

Full log here.

@alibuild

alibuild commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for f4d247d at 2026-11-02 18:43:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:44:15: error: 'PxPyPzMVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:178:15: error: 'PxPyPzEVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:179:15: error: 'PxPyPzMVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:203:13: error: 'vecDau1' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:203:35: error: 'PxPyPzEVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:204:13: error: 'daughter1Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:204:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:208:13: error: 'daughter2Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:208:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:215:9: error: 'motherGen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:215:21: error: 'daughter1Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:215:36: error: 'daughter2Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:216:9: error: 'vecGen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:216:30: error: 'PxPyPzEVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:239:13: error: 'daughter1Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:239:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:243:13: error: 'daughter2Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:243:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:258:11: error: 'motherGen' was not declared in this scope; did you mean 'mothers'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:258:23: error: 'daughter1Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:258:38: error: 'daughter2Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:259:11: error: 'vecGen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:259:32: error: 'PxPyPzEVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:368:13: error: 'daughter1Rec' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:368:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:369:13: error: 'daughter2Rec' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:369:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:370:13: error: 'motherRec' was not declared in this scope; did you mean 'motherPdg'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:379:21: error: 'struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:409:75: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:410:73: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:411:74: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:412:72: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:417:74: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:418:72: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:419:73: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:420:71: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:425:78: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:426:76: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:427:77: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:428:75: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:454:21: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:457:72: error: 'phiPhiMother' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:44:15: error: 'PxPyPzMVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:54:15: error: 'PxPyPzMVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:155:15: error: 'PxPyPzEVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:156:15: error: 'PxPyPzMVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:186:13: error: 'daughter1Gen' was not declared in this scope
[0 more errors; see full log]

Full log here.

@alibuild

alibuild commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for f4d247d at 2026-11-02 18:49:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:44:15: error: 'PxPyPzMVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:178:15: error: 'PxPyPzEVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:179:15: error: 'PxPyPzMVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:203:13: error: 'vecDau1' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:203:35: error: 'PxPyPzEVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:204:13: error: 'daughter1Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:204:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:208:13: error: 'daughter2Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:208:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:215:9: error: 'motherGen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:215:21: error: 'daughter1Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:215:36: error: 'daughter2Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:216:9: error: 'vecGen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:216:30: error: 'PxPyPzEVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:239:13: error: 'daughter1Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:239:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:243:13: error: 'daughter2Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:243:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:258:11: error: 'motherGen' was not declared in this scope; did you mean 'mothers'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:258:23: error: 'daughter1Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:258:38: error: 'daughter2Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:259:11: error: 'vecGen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:259:32: error: 'PxPyPzEVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:368:13: error: 'daughter1Rec' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:368:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:369:13: error: 'daughter2Rec' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:369:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:370:13: error: 'motherRec' was not declared in this scope; did you mean 'motherPdg'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:379:21: error: 'struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:409:75: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:410:73: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:411:74: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:412:72: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:417:74: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:418:72: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:419:73: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:420:71: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:425:78: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:426:76: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:427:77: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:428:75: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:454:21: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:457:72: error: 'phiPhiMother' was not declared in this scope
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

alibuild commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 716b160 at 2026-11-02 18:53:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'To reproduce the results below locally, run: '\''aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'\''.'
To reproduce the results below locally, run: 'aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'.
++ echo 'To apply all automatic fixes, add the '\''-e O2PHYSICS_CHECKER_FIX=1'\'' option.'
To apply all automatic fixes, add the '-e O2PHYSICS_CHECKER_FIX=1' option.
++ echo 'See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.'
See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.
++ echo 'Found 14 errors and 12 warnings.'
Found 14 errors and 12 warnings.
++ [[ 14 -gt 0 ]]
++ cat /sw/BUILD/441411eb103be82e7f78b1b776b89a2f1fc9d1e2/O2Physics-code-check/errors.txt
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:24:1: error: included header ASoAHelpers.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:28:1: error: included header DataTypes.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:34:1: error: included header Vector4D.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:45:15: error: no header providing "ROOT::Math::PxPyPzMVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:83:69: error: no header providing "o2::framework::kTH1F" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:86:116: error: no header providing "o2::framework::kTHnSparseF" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:179:15: error: no header providing "ROOT::Math::PxPyPzEVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:24:1: error: included header ASoAHelpers.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:28:1: error: included header DataTypes.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:34:1: error: included header Vector4D.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:45:15: error: no header providing "ROOT::Math::PxPyPzMVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:82:69: error: no header providing "o2::framework::kTH1F" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:86:116: error: no header providing "o2::framework::kTHnSparseF" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:156:15: error: no header providing "ROOT::Math::PxPyPzEVector" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 12 -gt 0 ]]
++ cat /sw/BUILD/441411eb103be82e7f78b1b776b89a2f1fc9d1e2/O2Physics-code-check/warnings.txt
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:44:8: warning: constructor does not initialize these fields: t1Index, t2Index [cppcoreguidelines-pro-type-member-init]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:70:13: warning: member 'injectedMotherPDG' of type 'const int' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:131:26: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:136:9: warning: do not use 'else' after 'return' [readability-else-after-return]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:357:74: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:364:59: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:44:8: warning: constructor does not initialize these fields: t1Index, t2Index, mcPhiIndex [cppcoreguidelines-pro-type-member-init]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:108:26: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:113:9: warning: do not use 'else' after 'return' [readability-else-after-return]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:320:74: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:327:59: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:386:48: warning: statement should be inside braces [readability-braces-around-statements]
++ [[ 14 -gt 0 ]]
++ exit 1
--

Full log here.

@sawankumawat

Copy link
Copy Markdown
Contributor Author

Dear @dmallick2 @prottayCMT @mpuccio @omvazque could you please approve the pull request?

Thank you

@alibuild

alibuild commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for f4d247d at 2026-11-02 19:14:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:44:15: error: 'PxPyPzMVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:54:15: error: 'PxPyPzMVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:155:15: error: 'PxPyPzEVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:156:15: error: 'PxPyPzMVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:186:13: error: 'daughter1Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:186:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:193:13: error: 'daughter2Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:193:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:200:11: error: 'motherGen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:200:23: error: 'daughter1Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:200:38: error: 'daughter2Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:202:19: error: 'struct PhiCandidateGen' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:218:21: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:220:59: error: 'motherPhiPhi' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:215:21: error: unused variable 'phi1' [-Werror=unused-variable]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:216:21: error: unused variable 'phi2' [-Werror=unused-variable]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:331:13: error: 'daughter1Rec' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:331:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:332:13: error: 'daughter2Rec' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:332:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:333:13: error: 'motherRec' was not declared in this scope; did you mean 'motherPdg'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:341:21: error: 'struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:363:63: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:364:61: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:365:62: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:366:60: error: 'const struct PhiCandidate' has no member named 'p4'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:395:21: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimctrigger.cxx:397:64: error: 'phiPhiMother' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:44:15: error: 'PxPyPzMVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:178:15: error: 'PxPyPzEVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:179:15: error: 'PxPyPzMVector' in namespace 'ROOT::Math' does not name a type
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:203:13: error: 'vecDau1' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:203:35: error: 'PxPyPzEVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:204:13: error: 'daughter1Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:204:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:208:13: error: 'daughter2Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:208:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:215:9: error: 'motherGen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:215:21: error: 'daughter1Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:215:36: error: 'daughter2Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:216:9: error: 'vecGen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:216:30: error: 'PxPyPzEVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:239:13: error: 'daughter1Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:239:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:243:13: error: 'daughter2Gen' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:243:40: error: 'PxPyPzMVector' is not a member of 'ROOT::Math'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:258:11: error: 'motherGen' was not declared in this scope; did you mean 'mothers'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/phiphimcinjected.cxx:258:23: error: 'daughter1Gen' was not declared in this scope
[0 more errors; see full log]

Full log here.

@skundu692
skundu692 enabled auto-merge (squash) November 2, 2026 19:08
@alibuild

alibuild commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 12f97db at 2026-11-02 20:12:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'To reproduce the results below locally, run: '\''aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'\''.'
To reproduce the results below locally, run: 'aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'.
++ echo 'To apply all automatic fixes, add the '\''-e O2PHYSICS_CHECKER_FIX=1'\'' option.'
To apply all automatic fixes, add the '-e O2PHYSICS_CHECKER_FIX=1' option.
++ echo 'See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.'
See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.
++ echo 'Found 14 errors and 10 warnings.'
Found 14 errors and 10 warnings.
++ [[ 14 -gt 0 ]]
++ cat /sw/BUILD/6cce96d89bcbdcd3a731fff16094c7cd1f02329a/O2Physics-code-check/errors.txt
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:24:1: error: included header ASoAHelpers.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:28:1: error: included header DataTypes.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:34:1: error: included header Vector4D.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:45:15: error: no header providing "ROOT::Math::PxPyPzMVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:83:69: error: no header providing "o2::framework::kTH1F" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:86:116: error: no header providing "o2::framework::kTHnSparseF" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:179:15: error: no header providing "ROOT::Math::PxPyPzEVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:24:1: error: included header ASoAHelpers.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:28:1: error: included header DataTypes.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:34:1: error: included header Vector4D.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:45:15: error: no header providing "ROOT::Math::PxPyPzMVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:82:69: error: no header providing "o2::framework::kTH1F" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:86:116: error: no header providing "o2::framework::kTHnSparseF" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:156:15: error: no header providing "ROOT::Math::PxPyPzEVector" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 10 -gt 0 ]]
++ cat /sw/BUILD/6cce96d89bcbdcd3a731fff16094c7cd1f02329a/O2Physics-code-check/warnings.txt
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:70:13: warning: member 'injectedMotherPDG' of type 'const int' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:131:26: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:136:9: warning: do not use 'else' after 'return' [readability-else-after-return]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:357:74: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:364:59: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:108:26: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:113:9: warning: do not use 'else' after 'return' [readability-else-after-return]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:320:74: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:327:59: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:386:48: warning: statement should be inside braces [readability-braces-around-statements]
++ [[ 14 -gt 0 ]]
++ exit 1
--

Full log here.

Comment thread PWGLF/Tasks/Resonances/CMakeLists.txt Resolved
@vkucera

vkucera commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

@sawankumawat You are not adding any scripts in this PR. Please correct the PR title.

auto-merge was automatically disabled November 3, 2026 04:52

Head branch was pushed to by a user without write access

@sawankumawat sawankumawat changed the title [PWGLF] Added analysis scripts for phi-phi trigger and injected MC [PWGLF] Added analysis scripts phiphimctrigger.cxx and phiphimcinjected.cxx for phi-phi trigger and injected MC Nov 3, 2026
@alibuild

alibuild commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for ae26b6d at 2026-11-03 07:14:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'To reproduce the results below locally, run: '\''aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'\''.'
To reproduce the results below locally, run: 'aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'.
++ echo 'To apply all automatic fixes, add the '\''-e O2PHYSICS_CHECKER_FIX=1'\'' option.'
To apply all automatic fixes, add the '-e O2PHYSICS_CHECKER_FIX=1' option.
++ echo 'See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.'
See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.
++ echo 'Found 14 errors and 10 warnings.'
Found 14 errors and 10 warnings.
++ [[ 14 -gt 0 ]]
++ cat /sw/BUILD/5ff83d91654433e37b2cc82800591a866881fa4b/O2Physics-code-check/errors.txt
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:23:1: error: included header ASoAHelpers.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:27:1: error: included header DataTypes.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:33:1: error: included header Vector4D.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:44:15: error: no header providing "ROOT::Math::PxPyPzMVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:106:69: error: no header providing "o2::framework::kTH1F" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:109:116: error: no header providing "o2::framework::kTHnSparseF" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:202:15: error: no header providing "ROOT::Math::PxPyPzEVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:23:1: error: included header ASoAHelpers.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:27:1: error: included header DataTypes.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:33:1: error: included header Vector4D.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:44:15: error: no header providing "ROOT::Math::PxPyPzMVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:106:69: error: no header providing "o2::framework::kTH1F" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:110:116: error: no header providing "o2::framework::kTHnSparseF" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:180:15: error: no header providing "ROOT::Math::PxPyPzEVector" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 10 -gt 0 ]]
++ cat /sw/BUILD/5ff83d91654433e37b2cc82800591a866881fa4b/O2Physics-code-check/warnings.txt
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:69:13: warning: member 'injectedMotherPDG' of type 'const int' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:154:26: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:159:9: warning: do not use 'else' after 'return' [readability-else-after-return]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:379:74: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/phiphimcinjected.cxx:385:59: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:132:26: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:137:9: warning: do not use 'else' after 'return' [readability-else-after-return]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:343:74: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:350:59: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/phiphimctrigger.cxx:411:48: warning: statement should be inside braces [readability-braces-around-statements]
++ [[ 14 -gt 0 ]]
++ exit 1
--

Full log here.

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