Skip to content

[PWGCF] Add MC process for cascades' correlation - #18021

Merged
wenyaCern merged 4 commits into
AliceO2Group:masterfrom
fuchuncui:master
Sep 23, 2026
Merged

wenyaCern merged 4 commits into
AliceO2Group:masterfrom
fuchuncui:master

Conversation

@fuchuncui

@fuchuncui fuchuncui commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Add two process for cascades' MCsame and MCmix dihardon correlation
Add pt efficiency for cascades
Fix a bug for Nch cut

@github-actions github-actions Bot added the pwgcf label Sep 23, 2026
@github-actions

Copy link
Copy Markdown

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

@wenyaCern
wenyaCern enabled auto-merge (squash) September 23, 2026 10:04
@wenyaCern
wenyaCern merged commit 59c27d1 into AliceO2Group:master Sep 23, 2026
15 of 17 checks passed
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 211fc1f at 2026-09-23 16:20:

## sw/BUILD/O2-latest/log
Error: missing ; at end of rule at /sw/SOURCES/O2/daily-20260923-0000/daily-20260923-0000/Detectors/TPC/base/src/TPCBaseLinkDef.h:75:56
Error: missing ; at end of rule at /sw/SOURCES/O2/daily-20260923-0000/daily-20260923-0000/Detectors/TPC/base/src/TPCBaseLinkDef.h:83:135
Error: missing ; at end of rule at /sw/SOURCES/O2/daily-20260923-0000/daily-20260923-0000/Detectors/TPC/base/src/TPCBaseLinkDef.h:84:135
Error: missing ; at end of rule at /sw/SOURCES/O2/daily-20260923-0000/daily-20260923-0000/Detectors/Upgrades/ALICE3/ECal/base/src/ECalBaseLinkDef.h:19:48
Error: missing ; at end of rule at /sw/SOURCES/O2/daily-20260923-0000/daily-20260923-0000/Detectors/Upgrades/ALICE3/RICH/base/src/RICHBaseLinkDef.h:18:48
Error: missing ; at end of rule at /sw/SOURCES/O2/daily-20260923-0000/daily-20260923-0000/Detectors/Upgrades/ALICE3/MID/base/src/MI3BaseLinkDef.h:18:47


## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 3 errors and 230 warnings.'
Found 3 errors and 230 warnings.
++ [[ 3 -gt 0 ]]
++ cat /sw/BUILD/923678e296ee9eddd409db521920d6541ce564c0/O2Physics-code-check/errors.txt
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:937:13: error: Variable 'rad' with floating point type 'double' should not be used as a loop counter [clang-analyzer-security.FloatLoopCounter,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:1036:13: error: Variable 'rad' with floating point type 'double' should not be used as a loop counter [clang-analyzer-security.FloatLoopCounter,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:1143:13: error: Variable 'rad' with floating point type 'double' should not be used as a loop counter [clang-analyzer-security.FloatLoopCounter,-warnings-as-errors]
++ [[ 230 -gt 0 ]]
++ cat /sw/BUILD/923678e296ee9eddd409db521920d6541ce564c0/O2Physics-code-check/warnings.txt
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:65:78: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:67:8: warning: constructor does not initialize these fields: ccdb [cppcoreguidelines-pro-type-member-init]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:258:29: warning: use designated initializer list to initialize 'ValidParticle' [modernize-use-designated-initializers]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:316:52: warning: 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:318:53: warning: 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:321:50: warning: 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:323:51: warning: 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:326:55: warning: 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:328:56: warning: 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:331:54: warning: 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:333:55: warning: 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:368:36: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:420:39: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:453:11: warning: variable 'cent' is not initialized [cppcoreguidelines-init-variables]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:502:116: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:504:112: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:506:112: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:508:68: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:510:66: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:512:66: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:516:66: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:518:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:520:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:522:66: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:524:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:526:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:529:68: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/TwoParticleCorrelations/Tasks/cascDiHadronCorr.cxx:531:66: warning: statement should be inside braces [readability-braces-around-statements]
[0 more errors; see full log]

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