[PWGLF] Update MC centrality task - #17601
Open
romainschotter wants to merge 32 commits into
Open
Conversation
Added histogram definitions for generated events and centrality analysis based on the use of MC centrality. Updated filling logic for histograms to accommodate new centrality-based conditions.
|
O2 linter results: ❌ 179 errors, |
Please consider the following formatting changes to AliceO2Group#17601
Please consider the following formatting changes to AliceO2Group#17601
Please consider the following formatting changes to AliceO2Group#17601
romainschotter
requested review from
HorstMa,
abmodak,
dmallick2,
ercolessi,
gbencedi,
lhusova,
maciacco,
mario-krueger,
mpuccio,
prottayCMT and
smaff92
as code owners
August 25, 2026 22:42
romainschotter
enabled auto-merge (squash)
August 25, 2026 22:42
Collaborator
|
Error while checking build/O2Physics/staging for 7648416 at 2026-08-26 02:50: Full log here. |
Collaborator
|
Error while checking build/O2Physics/code-check for 7648416 at 2026-08-26 08:34: Full log here. |
romainschotter
marked this pull request as draft
August 26, 2026 07:45
auto-merge was automatically disabled
August 26, 2026 07:45
Pull request was converted to draft
Please consider the following formatting changes to AliceO2Group#17601
Please consider the following formatting changes to AliceO2Group#17601
romainschotter
marked this pull request as ready for review
August 26, 2026 09:02
romainschotter
enabled auto-merge (squash)
August 26, 2026 09:43
Collaborator
|
Error while checking build/O2Physics/o2 for cb93b45 at 2026-08-26 11:49: Full log here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
extend MC centrality to all available estimators
re-write MC centrality assignment using MC multiplicities calculated in the
multCentTable.cxxfactorize MC centrality task into a class module in order to be usable when running over original data AND derived data (assuming that the derived data contains a table with all of the following getters:
multMCFT0A(),multMCFT0C(),multMCFV0A(),multMCFDDA(),multMCFDDC(),multMCNParticlesEta08(),multMCNParticlesEta05()). This allows to NOT store the MC centrality in derived data but simply to store the MC multiplicity and later calculate the MC centrality on the fly.add auto-detection features
allow MC centrality calibration to be extracted on the fly in order to find the MC centrality bins ensuring the best matching between the recoed multiplicity in data and MC
provide an alternative MC centrality calibration mode: instead of extracting the MC centrality calibration going from low-multiplicity to high-multiplicity collisions, start from the high-multiplicity collisions (where the difference in MC multiplicities is bigger from one class to the next) to the low-multiplicity collisions. This ensures a more stable extraction of the MC centrality calibration and an overall better matching of the recoed multiplicity in data and MC as show below
assignCentralityPerCandidate.NOTE1: this latter approach assumes that there is already a good matching in the recoed multiplicity in data and MC in all centrality bins.
NOTE2: the latter approach has the advantage that it works for any centrality binning, which is not the case for the other approaches in the MC centrality task.
derivedlambdakzeroanalysis.cxxin order to use the MC centrality (for testing)@ddobrigk @njacazio @ercolessi for your information