Skip to content

TPC: add option for disabling corrections#15418

Merged
ehellbar merged 1 commit into
AliceO2Group:devfrom
matthias-kleiner:corrmapopts
May 21, 2026
Merged

TPC: add option for disabling corrections#15418
ehellbar merged 1 commit into
AliceO2Group:devfrom
matthias-kleiner:corrmapopts

Conversation

@matthias-kleiner
Copy link
Copy Markdown
Contributor

  • add option for using static corrections instead of main corrections

o2-tpc-scaler-workflow --corrmap-lumi-mode 3 disables all corrections
o2-tpc-scaler-workflow --corrmap-lumi-mode 4 uses only the static correction map
o2-tpc-scaler-workflow --configKeyValues "TPCCorrMap.lumiMean=-1" disables all corrections for backward compatibility

- add option for using static corrections instead of main corrections
Copy link
Copy Markdown
Collaborator

@shahor02 shahor02 left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good.

@ehellbar ehellbar merged commit 084c366 into AliceO2Group:dev May 21, 2026
12 checks passed
CTPLumi = 1, ///< use CTP luminosity for scaling
TPCScaler = 2 ///< use TPC scaler for scaling
TPCScaler = 2, ///< use TPC scaler for scaling
Count ///< sentinel - keep last
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.

This is not safe. Consider explicit initialization of all, none or only the first enumerator.

DerivativeMapMC = 2, ///< same DerivativeMap, but for MC
NoCorrection = 3, ///< no corrections at all
StaticMapOnly = 4, ///< use only static map instead of main map
Count ///< sentinel - keep last
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.

Same

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.

4 participants