Skip to content

Conversation

@aalkin
Copy link
Member

@aalkin aalkin commented Aug 18, 2025

String expressions can now accept configurables in the following form:

"o2::aod::track::pt > ncfg(float, 0.5, \"pTCut\")"
or
"o2::aod::track::pt > ncfg(float, 0.5, pTCut)"

Or in general
ncfg(type, value, path)
where the type can be uint/int from 16 to 64, float or double, value is the default value, and path is how the configurable appears in JSON, including prefix if needed.

The quotes will be removed automatically if present.

Also fixes the o2TestHistograms.cxx example

@aalkin aalkin requested a review from a team as a code owner August 18, 2025 12:02
@github-actions
Copy link
Contributor

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

@ktf ktf enabled auto-merge (squash) August 18, 2025 19:49
@ktf ktf merged commit 86424f9 into AliceO2Group:dev Aug 18, 2025
11 checks passed
mhemmer-cern pushed a commit to mhemmer-cern/AliceO2 that referenced this pull request Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants