Skip to content

[PWGDQ] Refactoring of DQ VarManager - #18698

Open
axti98 wants to merge 11 commits into
AliceO2Group:masterfrom
axti98:DQRefactor
Open

axti98 wants to merge 11 commits into
AliceO2Group:masterfrom
axti98:DQRefactor

Conversation

@axti98

@axti98 axti98 commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

Refactoring of the DQ Variable Manager to fix linter issues.

Introducing a DQConstants.h header to define constants that are known at compile time to improve code readability.

@github-actions github-actions Bot added the pwgdq label Nov 11, 2026
@github-actions

Copy link
Copy Markdown

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

@axti98
axti98 marked this pull request as draft November 11, 2026 20:15
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 4cf94e2 at 2026-11-11 21:32:

## sw/BUILD/O2Physics-latest/log
2026-11-11T20:58:18.115+0100 [34457:139648500570176] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: connection error: desc = "transport: Error while dialing: dial tcp: lookup bb-services-central-storage.service.consul on 137.138.31.52:53: no such host"]
2026-11-11T20:58:20.301+0100 [34427:140227618838592] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "FindMissingBlobs()", last gRPC error was [14: connection error: desc = "transport: Error while dialing: dial tcp: lookup bb-services-central-storage.service.consul on 137.138.31.52:53: no such host"]
2026-11-11T20:58:18.157+0100 [36235:139622721976384] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: connection error: desc = "transport: Error while dialing: dial tcp: lookup bb-services-central-storage.service.consul on 137.138.31.52:53: no such host"]
2026-11-11T20:58:18.158+0100 [36235:139622721976384] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: connection error: desc = "transport: Error while dialing: dial tcp: lookup bb-services-central-storage.service.consul on 137.138.31.52:53: no such host"
2026-11-11T20:58:18.596+0100 [36260:140077489137728] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: connection error: desc = "transport: Error while dialing: dial tcp: lookup bb-services-central-storage.service.consul on 137.138.31.52:53: no such host"]
2026-11-11T20:58:18.596+0100 [36260:140077489137728] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: connection error: desc = "transport: Error while dialing: dial tcp: lookup bb-services-central-storage.service.consul on 137.138.31.52:53: no such host"
2026-11-11T20:58:21.420+0100 [36306:140230632585280] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: connection error: desc = "transport: Error while dialing: dial tcp: lookup bb-services-central-storage.service.consul on 137.138.31.52:53: no such host"]
2026-11-11T20:58:21.420+0100 [36306:140230632585280] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: connection error: desc = "transport: Error while dialing: dial tcp: lookup bb-services-central-storage.service.consul on 137.138.31.52:53: no such host"
2026-11-11T20:58:22.181+0100 [36329:140174077286464] [buildboxcommon_grpcretrier.cpp:177] [ERROR] Retry limit (0) exceeded for "ActionCache.GetActionResult()", last gRPC error was [14: connection error: desc = "transport: Error while dialing: dial tcp: lookup bb-services-central-storage.service.consul on 137.138.31.52:53: no such host"]
2026-11-11T20:58:22.181+0100 [36329:140174077286464] [executioncontext.cpp:544] [ERROR] Error while querying action cache at "http://localhost:8980": 14: connection error: desc = "transport: Error while dialing: dial tcp: lookup bb-services-central-storage.service.consul on 137.138.31.52:53: no such host"


## 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 1 errors and 24 warnings.'
Found 1 errors and 24 warnings.
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/1c62c2309090c031a03da45124b2b0aee02ce776/O2Physics-code-check/errors.txt
PWGDQ/Core/VarManager.cxx:43:1: error: included header RtypesCore.h is not used directly [misc-include-cleaner,-warnings-as-errors]
++ [[ 24 -gt 0 ]]
++ cat /sw/BUILD/1c62c2309090c031a03da45124b2b0aee02ce776/O2Physics-code-check/warnings.txt
PWGDQ/Core/VarManager.cxx:58:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:59:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:61:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:73:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:99:28: warning: initializer for base class 'TObject' is redundant [readability-redundant-member-init]
PWGDQ/Core/VarManager.cxx:153:14: warning: 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]
PWGDQ/Core/VarManager.cxx:315:5: warning: do not use 'else' after 'return' [readability-else-after-return]
PWGDQ/Core/VarManager.cxx:422:14: warning: 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]
PWGDQ/Core/VarManager.cxx:489:5: warning: do not use 'else' after 'return' [readability-else-after-return]
PWGDQ/Core/VarManager.cxx:3018:14: warning: 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]
PWGDQ/Core/VarManager.cxx:3028:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
PWGDQ/Core/VarManager.cxx:3029:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
PWGDQ/Core/VarManager.h:1264:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:1265:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:1650:15: warning: function 'VarManager::SetPhiMap' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
PWGDQ/Core/VarManager.h:1681:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:1685:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:3500:11: warning: variable 'dcaX' is not initialized [cppcoreguidelines-init-variables]
PWGDQ/Core/VarManager.h:3501:11: warning: variable 'dcaY' is not initialized [cppcoreguidelines-init-variables]
PWGDQ/Core/VarManager.h:4765:14: warning: 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]
[0 more errors; see full log]

Full log here.

@axti98
axti98 marked this pull request as ready for review November 12, 2026 07:06
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 5269ff8 at 2026-11-12 08:21:

## 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 1 errors and 24 warnings.'
Found 1 errors and 24 warnings.
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/e63dbbc25adb0ea109f5d5ff4494909e30f71981/O2Physics-code-check/errors.txt
PWGDQ/Core/VarManager.cxx:43:1: error: included header RtypesCore.h is not used directly [misc-include-cleaner,-warnings-as-errors]
++ [[ 24 -gt 0 ]]
++ cat /sw/BUILD/e63dbbc25adb0ea109f5d5ff4494909e30f71981/O2Physics-code-check/warnings.txt
PWGDQ/Core/VarManager.cxx:58:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:59:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:61:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:73:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:99:28: warning: initializer for base class 'TObject' is redundant [readability-redundant-member-init]
PWGDQ/Core/VarManager.cxx:153:14: warning: 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]
PWGDQ/Core/VarManager.cxx:315:5: warning: do not use 'else' after 'return' [readability-else-after-return]
PWGDQ/Core/VarManager.cxx:422:14: warning: 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]
PWGDQ/Core/VarManager.cxx:489:5: warning: do not use 'else' after 'return' [readability-else-after-return]
PWGDQ/Core/VarManager.cxx:3018:14: warning: 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]
PWGDQ/Core/VarManager.cxx:3028:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
PWGDQ/Core/VarManager.cxx:3029:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
PWGDQ/Core/VarManager.h:1264:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:1265:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:1650:15: warning: function 'VarManager::SetPhiMap' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
PWGDQ/Core/VarManager.h:1681:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:1685:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:3500:11: warning: variable 'dcaX' is not initialized [cppcoreguidelines-init-variables]
PWGDQ/Core/VarManager.h:3501:11: warning: variable 'dcaY' is not initialized [cppcoreguidelines-init-variables]
PWGDQ/Core/VarManager.h:4765:14: warning: 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]
PWGDQ/Core/VarManager.h:5498:7: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:5501:33: warning: 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]
PWGDQ/Core/VarManager.h:5502:33: warning: 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]
PWGDQ/Core/VarManager.h:7299:9: warning: variable 'pairPhiV' is not initialized [cppcoreguidelines-init-variables]
++ [[ 1 -gt 0 ]]
++ exit 1
--

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 803801d at 2026-11-12 12:39:

## 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 1 errors and 24 warnings.'
Found 1 errors and 24 warnings.
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/6e59545e678eb47462b076b2f678eb4f22787fa8/O2Physics-code-check/errors.txt
PWGDQ/Core/VarManager.cxx:43:1: error: included header RtypesCore.h is not used directly [misc-include-cleaner,-warnings-as-errors]
++ [[ 24 -gt 0 ]]
++ cat /sw/BUILD/6e59545e678eb47462b076b2f678eb4f22787fa8/O2Physics-code-check/warnings.txt
PWGDQ/Core/VarManager.cxx:58:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:59:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:61:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:73:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:99:28: warning: initializer for base class 'TObject' is redundant [readability-redundant-member-init]
PWGDQ/Core/VarManager.cxx:153:14: warning: 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]
PWGDQ/Core/VarManager.cxx:315:5: warning: do not use 'else' after 'return' [readability-else-after-return]
PWGDQ/Core/VarManager.cxx:422:14: warning: 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]
PWGDQ/Core/VarManager.cxx:489:5: warning: do not use 'else' after 'return' [readability-else-after-return]
PWGDQ/Core/VarManager.cxx:3028:14: warning: 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]
PWGDQ/Core/VarManager.cxx:3038:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
PWGDQ/Core/VarManager.cxx:3039:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
PWGDQ/Core/VarManager.h:1266:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:1267:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:1652:15: warning: function 'VarManager::SetPhiMap' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
PWGDQ/Core/VarManager.h:1683:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:1687:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:3502:11: warning: variable 'dcaX' is not initialized [cppcoreguidelines-init-variables]
PWGDQ/Core/VarManager.h:3503:11: warning: variable 'dcaY' is not initialized [cppcoreguidelines-init-variables]
PWGDQ/Core/VarManager.h:4767:14: warning: 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]
PWGDQ/Core/VarManager.h:5500:7: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:5503:33: warning: 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]
PWGDQ/Core/VarManager.h:5504:33: warning: 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]
PWGDQ/Core/VarManager.h:7303:9: warning: variable 'pairPhiV' is not initialized [cppcoreguidelines-init-variables]
++ [[ 1 -gt 0 ]]
++ exit 1
--

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for 190f7b7 at 2026-11-12 13:31:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.cxx:291:33: error: 'InvalidValue' is not a member of 'o2::dqconstants'; did you mean 'InvalidValueI'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.cxx:298:31: error: 'InvalidValue' is not a member of 'o2::dqconstants'; did you mean 'InvalidValueI'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.cxx:343:33: error: 'InvalidValue' is not a member of 'o2::dqconstants'; did you mean 'InvalidValueI'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.cxx:351:31: error: 'InvalidValue' is not a member of 'o2::dqconstants'; did you mean 'InvalidValueI'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
[0 more errors; see full log]

Full log here.

@alibuild

alibuild commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 190f7b7 at 2026-11-12 13:34:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.cxx:291:33: error: 'InvalidValue' is not a member of 'o2::dqconstants'; did you mean 'InvalidValueI'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.cxx:298:31: error: 'InvalidValue' is not a member of 'o2::dqconstants'; did you mean 'InvalidValueI'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.cxx:343:33: error: 'InvalidValue' is not a member of 'o2::dqconstants'; did you mean 'InvalidValueI'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.cxx:351:31: error: 'InvalidValue' is not a member of 'o2::dqconstants'; did you mean 'InvalidValueI'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 190f7b7 at 2026-11-12 13:32:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.cxx:291:33: error: 'InvalidValue' is not a member of 'o2::dqconstants'; did you mean 'InvalidValueI'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.cxx:298:31: error: 'InvalidValue' is not a member of 'o2::dqconstants'; did you mean 'InvalidValueI'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.cxx:343:33: error: 'InvalidValue' is not a member of 'o2::dqconstants'; did you mean 'InvalidValueI'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.cxx:351:31: error: 'InvalidValue' is not a member of 'o2::dqconstants'; did you mean 'InvalidValueI'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2824:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2771:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2788:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2798:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGDQ/Core/VarManager.h:2811:7: error: there are no arguments to 'IsStdDevValid' that depend on a template parameter, so a declaration of 'IsStdDevValid' must be available [-fpermissive]
[0 more errors; see full log]

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 906bec0 at 2026-11-12 16:03:

## 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 1 errors and 24 warnings.'
Found 1 errors and 24 warnings.
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/56d5a5ad7f755391e07a016be1d164bad87f2769/O2Physics-code-check/errors.txt
PWGDQ/Core/VarManager.cxx:43:1: error: included header RtypesCore.h is not used directly [misc-include-cleaner,-warnings-as-errors]
++ [[ 24 -gt 0 ]]
++ cat /sw/BUILD/56d5a5ad7f755391e07a016be1d164bad87f2769/O2Physics-code-check/warnings.txt
PWGDQ/Core/VarManager.cxx:58:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:59:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:61:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:73:1: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.cxx:99:28: warning: initializer for base class 'TObject' is redundant [readability-redundant-member-init]
PWGDQ/Core/VarManager.cxx:153:14: warning: 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]
PWGDQ/Core/VarManager.cxx:315:5: warning: do not use 'else' after 'return' [readability-else-after-return]
PWGDQ/Core/VarManager.cxx:422:14: warning: 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]
PWGDQ/Core/VarManager.cxx:489:5: warning: do not use 'else' after 'return' [readability-else-after-return]
PWGDQ/Core/VarManager.cxx:3028:14: warning: 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]
PWGDQ/Core/VarManager.cxx:3038:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
PWGDQ/Core/VarManager.cxx:3039:9: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
PWGDQ/Core/VarManager.h:1266:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:1267:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:1652:15: warning: function 'VarManager::SetPhiMap' has a definition with different parameter names [readability-inconsistent-declaration-parameter-name]
PWGDQ/Core/VarManager.h:1683:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:1687:10: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:3502:11: warning: variable 'dcaX' is not initialized [cppcoreguidelines-init-variables]
PWGDQ/Core/VarManager.h:3503:11: warning: variable 'dcaY' is not initialized [cppcoreguidelines-init-variables]
PWGDQ/Core/VarManager.h:4767:14: warning: 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]
PWGDQ/Core/VarManager.h:5500:7: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGDQ/Core/VarManager.h:5503:33: warning: 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]
PWGDQ/Core/VarManager.h:5504:33: warning: 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]
PWGDQ/Core/VarManager.h:7303:9: warning: variable 'pairPhiV' is not initialized [cppcoreguidelines-init-variables]
++ [[ 1 -gt 0 ]]
++ exit 1
--

Full log here.

Comment thread PWGDQ/Core/DQConstants.h
Comment on lines +28 to +30
inline constexpr std::uint8_t Flag8 = 0u;
inline constexpr std::uint32_t Flag32 = 0u;
inline constexpr std::uint64_t Flag64 = 0ull;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused

@vkucera

vkucera commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

@axti98 Very nice! Thanks!

Comment thread PWGDQ/Core/VarManager.h
Comment on lines +2419 to +2424
values[kQ1X0A] = o2::dqconstants::InvalidValueI;
values[kQ1Y0A] = o2::dqconstants::InvalidValueI;
values[kQ1X0B] = o2::dqconstants::InvalidValueI;
values[kQ1Y0B] = o2::dqconstants::InvalidValueI;
values[kQ1X0C] = o2::dqconstants::InvalidValueI;
values[kQ1Y0C] = o2::dqconstants::InvalidValueI;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these should be InvalidValueF, since all of the VarManager values are floats

Comment thread PWGDQ/Core/VarManager.h
Comment on lines +2442 to +2453
values[kQ3X0A] = o2::dqconstants::InvalidValueI;
values[kQ3Y0A] = o2::dqconstants::InvalidValueI;
values[kQ3X0B] = o2::dqconstants::InvalidValueI;
values[kQ3Y0B] = o2::dqconstants::InvalidValueI;
values[kQ3X0C] = o2::dqconstants::InvalidValueI;
values[kQ3Y0C] = o2::dqconstants::InvalidValueI;
values[kQ4X0A] = o2::dqconstants::InvalidValueI;
values[kQ4Y0A] = o2::dqconstants::InvalidValueI;
values[kQ4X0B] = o2::dqconstants::InvalidValueI;
values[kQ4Y0B] = o2::dqconstants::InvalidValueI;
values[kQ4X0C] = o2::dqconstants::InvalidValueI;
values[kQ4Y0C] = o2::dqconstants::InvalidValueI;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all of these should be InvalidValueF

Comment thread PWGDQ/Core/VarManager.h
Comment on lines +2529 to +2534
values[kQ1X0A] = o2::dqconstants::InvalidValueI;
values[kQ1Y0A] = o2::dqconstants::InvalidValueI;
values[kQ1X0B] = o2::dqconstants::InvalidValueI;
values[kQ1Y0B] = o2::dqconstants::InvalidValueI;
values[kQ1X0C] = o2::dqconstants::InvalidValueI;
values[kQ1Y0C] = o2::dqconstants::InvalidValueI;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all of these should be InvalidValueF

Comment thread PWGDQ/Core/VarManager.h
Comment on lines +2550 to +2561
values[kQ3X0A] = o2::dqconstants::InvalidValueI;
values[kQ3Y0A] = o2::dqconstants::InvalidValueI;
values[kQ3X0B] = o2::dqconstants::InvalidValueI;
values[kQ3Y0B] = o2::dqconstants::InvalidValueI;
values[kQ3X0C] = o2::dqconstants::InvalidValueI;
values[kQ3Y0C] = o2::dqconstants::InvalidValueI;
values[kQ4X0A] = o2::dqconstants::InvalidValueI;
values[kQ4Y0A] = o2::dqconstants::InvalidValueI;
values[kQ4X0B] = o2::dqconstants::InvalidValueI;
values[kQ4Y0B] = o2::dqconstants::InvalidValueI;
values[kQ4X0C] = o2::dqconstants::InvalidValueI;
values[kQ4Y0C] = o2::dqconstants::InvalidValueI;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all of these should be InvalidValueF

Comment thread PWGDQ/Core/VarManager.h
@@ -2642,7 +2641,7 @@ void VarManager::FillEvent(T const& event, float* values)

if constexpr ((fillMap & ReducedEventMC) > 0) {
values[kMCEventGeneratorId] = event.generatorsID();
values[kMCEventGeneratorId] = -999; // to be added in reduced events
values[kMCEventGeneratorId] = o2::dqconstants::InvalidValueI; // to be added in reduced events

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be InvalidValueF

Comment thread PWGDQ/Core/VarManager.h

double det1 = t1.cYY() * t1.cZZ() - t1.cZY() * t1.cZY();
double det2 = t2.cYY() * t2.cZZ() - t2.cZY() * t2.cZY();
if ((det1 < 0) || (det2 < 0)) {
values[kQuadDCAsigXYZ] = -999;
values[kQuadDCAsigXYZ] = o2::dqconstants::InvalidValueI;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be InvalidValueF

Comment thread PWGDQ/Core/VarManager.h
Comment on lines -657 to -658
kPVContributor, // This track has contributed to the collision vertex fit (see Framework/DataTypes)
kOrphanTrack, // Track has no association with any collision vertex (see Framework/DataTypes)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not have the comments?

Comment thread PWGDQ/Core/VarManager.h
Comment on lines -666 to -684
kIsDalitzLeg, // Up to 8 dalitz selections
kBarrelNAssocsInBunch = kIsDalitzLeg + 8, // number of in bunch collision associations
kBarrelNAssocsOutOfBunch, // number of out of bunch collision associations
kEMCalEnergy, // EMCal cluster energy
kEMCalCoreEnergy, // EMCal cluster core energy
kEMCalRawEnergy, // EMCal cluster raw energy
kEMCalEta, // EMCal cluster pseudorapidity
kEMCalPhi, // EMCal cluster azimuthal angle
kEMCalM02, // EMCal shower shape long axis
kEMCalM20, // EMCal shower shape short axis
kEMCalNCells, // number of cells in the EMCal cluster
kEMCalTime, // EMCal cluster time
kEMCalIsExotic, // exotic EMCal cluster flag
kEMCalDistanceToBadChannel, // distance of the EMCal cluster to the closest bad channel
kEMCalNLM, // number of local maxima of the EMCal cluster
kEMCalDefinition, // EMCal cluster definition
kEMCalEoverP, // EMCal cluster energy over matched track momentum
kEMCalMatchDeltaEta, // eta residual of the matched EMCal cluster w.r.t. the track
kEMCalMatchDeltaPhi, // phi residual of the matched EMCal cluster w.r.t. the track

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not have comments?

Comment thread PWGDQ/Core/VarManager.h
values[kMuonDCAx] = static_cast<float>(dca[0]);
values[kMuonDCAy] = static_cast<float>(dca[1]);
values[kMuonDCAx] = static_cast<float>(dca[o2::dqconstants::defaults::IndexDCAxy]);
values[kMuonDCAy] = static_cast<float>(dca[o2::dqconstants::defaults::IndexDCAz]);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@axti98 You can leave this as you change it, but in my opinion this is too much. Same opinion for several other places which I think make the code much less readable.
@vkucera We might end up with so many of these constants that we will just keep increasing their number since it will be increasingly difficult to follow up which variables were defined already. To me this is not a good rule.

Comment thread PWGDQ/Core/VarManager.h
Comment on lines +2661 to +2662
values[kIsSingleGap] = static_cast<float>(values[kIsSingleGapA] != o2::dqconstants::EmptyVariable || values[kIsSingleGapC] != o2::dqconstants::EmptyVariable);
values[kIsNoGap] = static_cast<float>(values[kIsDoubleGap] == o2::dqconstants::EmptyVariable && values[kIsSingleGap] == o2::dqconstants::EmptyVariable);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we have "InvalidValueX", I would avoid naming this EmptyVariable. Its confusing i think. Please call it what it is: "o2::dqconstants::Zero"

@iarsene

iarsene commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

@axti98 I suggest renaming this PR to something like "Fixing linter errors in VarManager" because refactoring would involve more structural changes, which is not the case 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.

4 participants