Skip to content

[PWGLF] Add Mass Spectrum in H-Strangeness#17090

Merged
romainschotter merged 1 commit into
AliceO2Group:masterfrom
kcui1:AddMassSpectrum
Jul 16, 2026
Merged

[PWGLF] Add Mass Spectrum in H-Strangeness#17090
romainschotter merged 1 commit into
AliceO2Group:masterfrom
kcui1:AddMassSpectrum

Conversation

@kcui1

@kcui1 kcui1 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Add mass spectrum for V0s to do further check

@github-actions github-actions Bot added the pwglf label Jul 16, 2026
@github-actions github-actions Bot changed the title Add Mass Spectrum in H-Strangeness [PWGLF] Add Mass Spectrum in H-Strangeness Jul 16, 2026
@github-actions

Copy link
Copy Markdown

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

@romainschotter
romainschotter enabled auto-merge (squash) July 16, 2026 12:09
@romainschotter
romainschotter merged commit d3d978c into AliceO2Group:master Jul 16, 2026
12 of 16 checks passed
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 8e5476a at 2026-07-16 15:12:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 201 errors and 232 warnings.'
Found 201 errors and 232 warnings.
++ [[ 201 -gt 0 ]]
++ cat /sw/BUILD/4678d3babbfb42b79d6fb903a5ea01a43ab96851/O2Physics-code-check/errors.txt
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:87:8: error: constructor does not initialize these fields: ccdb, pdgDB, hEfficiencyTrigger, hEfficiencyTriggerMult, hEfficiencyTriggerMultVsPhi, hEfficiencyPion, hEfficiencyK0Short, hEfficiencyK0ShortMultVsPhi, hEfficiencyLambda, hEfficiencyLambdaMultVsPhi, hEfficiencyAntiLambda, hEfficiencyAntiLambdaMultVsPhi, hEfficiencyXiMinus, hEfficiencyXiMinusMultVsPhi, hEfficiencyXiPlus, hEfficiencyXiPlusMultVsPhi, hEfficiencyOmegaMinus, hEfficiencyOmegaMinusMultVsPhi, hEfficiencyOmegaPlus, hEfficiencyOmegaPlusMultVsPhi, hEfficiencyHadron, hEfficiencyHadronMult, hPurityHadron, hPurityHadronMult, hEfficiencyUncertaintyTrigger, hEfficiencyUncertaintyTriggerMult, hEfficiencyUncertaintyPion, hEfficiencyUncertaintyK0Short, hEfficiencyUncertaintyLambda, hEfficiencyUncertaintyAntiLambda, hEfficiencyUncertaintyXiMinus, hEfficiencyUncertaintyXiPlus, hEfficiencyUncertaintyOmegaMinus, hEfficiencyUncertaintyOmegaPlus, hEfficiencyUncertaintyHadron, hEfficiencyUncertaintyHadronMult, hPurityUncertaintyHadron, hPurityUncertaintyHadronMult, doCorrelation, mRunNumber, mRunNumberZorro [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:291:10: error: constructor does not initialize these fields: pvz, mult [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:307:29: error: use designated initializer list to initialize 'ValidParticle' [modernize-use-designated-initializers,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:370:20: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:371:20: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:372:20: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:373:20: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:403:15: error: member 'ctauxi' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:404:15: error: member 'ctauomega' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:449:5: error: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:455:26: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:456:30: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:457:35: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:458:26: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:459:35: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:460:25: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:461:34: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:462:29: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:463:38: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:464:26: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:465:35: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:466:25: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:467:34: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:468:29: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:469:38: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:470:28: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:471:37: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:472:25: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:473:29: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:474:23: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:475:21: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:476:25: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:477:37: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:478:41: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:479:37: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:480:36: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:481:40: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:482:37: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:483:36: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:484:40: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:485:39: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:486:34: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
[0 more errors; see full log]

Full log here.

@kcui1
kcui1 deleted the AddMassSpectrum branch July 16, 2026 13:15
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