Skip to content

[PWGLF] Add ctau information for Lambda polarization analysis - #17729

Merged
ChiaraDeMartin95 merged 1 commit into
AliceO2Group:masterfrom
ChiaraDeMartin95:CTauCut
Sep 3, 2026
Merged

[PWGLF] Add ctau information for Lambda polarization analysis#17729
ChiaraDeMartin95 merged 1 commit into
AliceO2Group:masterfrom
ChiaraDeMartin95:CTauCut

Conversation

@ChiaraDeMartin95

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

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

@github-actions github-actions Bot changed the title Add ctau information for Lambda polarization analysis [PWGLF] Add ctau information for Lambda polarization analysis Sep 2, 2026
@ChiaraDeMartin95
ChiaraDeMartin95 enabled auto-merge (squash) September 2, 2026 12:43
@vkucera

vkucera commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

@ChiaraDeMartin95 @romainschotter What about the reported bugs?

@ChiaraDeMartin95
ChiaraDeMartin95 merged commit 0d68be2 into AliceO2Group:master Sep 3, 2026
12 of 15 checks passed
@alibuild

alibuild commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 072de7d at 2026-09-03 16:18:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 55 errors and 334 warnings.'
Found 55 errors and 334 warnings.
++ [[ 55 -gt 0 ]]
++ cat /sw/BUILD/e5dda8cd0812eb1c9733b3abd2788b596c4a6137/O2Physics-code-check/errors.txt
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:100:22: error: variable 'hMassBeforeSelVsPt' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:101:22: error: variable 'hMassAfterSelVsPt' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:102:22: error: variable 'hSignalScoreBeforeSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:103:22: error: variable 'hBkgScoreBeforeSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:104:22: error: variable 'hSignalScoreAfterSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:105:22: error: variable 'hBkgScoreAfterSel' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:106:22: error: variable 'hSparseV2C' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:116:22: error: variable 'hMassBeforeSelVsPt' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:117:22: error: variable 'hMassAfterSelVsPt' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:118:22: error: variable 'hMassAfterSelVsPtTrue' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:143:6: error: variable 'vecBinsPt' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:143:38: error: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:143:46: error: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:150:6: error: variable 'vecCutDir' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:150:35: error: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:150:43: error: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:178:8: error: constructor does not initialize these fields: ccdb, shiftprofile, shiftprofileFT0C, shiftprofileFV0A, shiftprofileFT0A, shiftprofileTPCL, shiftprofileTPCR, hAcceptanceXi, hAcceptanceOmega, hAcceptanceLambda, hAcceptancePrimaryLambda, hReso, hCentWeight [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:337:56: error: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:441:32: error: the parameter 'casc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:441:48: error: the parameter 'negExtra' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:441:68: error: the parameter 'posExtra' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:441:88: error: the parameter 'bachExtra' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:479:35: error: the parameter 'negExtra' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:479:55: error: the parameter 'posExtra' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:495:39: error: the parameter 'negExtra' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:495:59: error: the parameter 'posExtra' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:512:29: error: the parameter 'v0' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:585:42: error: the parameter 'coll' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:600:48: error: the parameter 'coll' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:666:6: error: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:677:38: error: the parameter 'coll' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:677:54: error: the parameter 'casc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:702:38: error: the parameter 'coll' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:702:98: error: the parameter 'casc' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:702:248: error: the parameter 'bachExtra' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:706:43: error: variable 'cosThetaStarProton' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:805:44: error: the parameter 'coll' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:805:116: error: the parameter 'v0' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:809:7: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/cascadeflow.cxx:852: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/TableProducer/Strangeness/cascadeflow.cxx:857:24: 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/TableProducer/Strangeness/cascadeflow.cxx:862: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]
[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

Development

Successfully merging this pull request may close these issues.

4 participants