Repository navigation
Conversation
…ision for other tasks A table joinable with aod::Collisions, StraCollisionLink, holding for each AO2D collision its row in StraCollisions (straCollisionId), -1 if the collision was not written (not selected, or no V0/cascade with fillEmptyCollisions off). It is filled from products.strangeColl.lastIndex() where StraCollisions is written, and emitted with the other references. For a builder running in the same derivation train that writes tables of its own (e.g. tracks) and must point them to the same collisions as the strangeness tables: the mapping exists only inside strangederivedbuilder, and rebuilding it elsewhere would mean replicating its acceptance logic. One int per collision; not meant to be saved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…requested isCollisionAccepted, in strangederivedbuilder and in the strangeness builder module of the propagation service, tested !cfgApplyRCTrequirement, while the RCTFlagsChecker is initialised only when cfgApplyRCTrequirement is true. So: - requirement on: the condition is always false, the RCT flags are never checked; - requirement off, with fillOnlySelectedCollisions: the uninitialised checker is called and throws (empty RCTSelectionFlags mask) at the first collision passing the other selections. Introduced in 90ebdcc (AliceO2Group#17066). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
O2 linter results: ❌ 0 errors, |
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.
aod::StraCollisionLink(AOD/STRACOLLLINK), produced bystrangederivedbuilder: one row per AO2Dcollision, joinable with
aod::Collisions, holding its row inStraCollisions(straCollisionId()), or -1 ifthe collision was not written. It lets another task of the same derivation train index its own tables to
StraCollisionswithout replicating the builder's acceptance logic. Not meant to be saved.strangederivedbuilder.cxx,strangenessBuilderModule.h): the condition tested!cfgApplyRCTrequirement, so with the requirement on theflags were never checked, and with it off and
fillOnlySelectedCollisionson the uninitialisedRCTFlagsCheckerthrew. Introduced in [Common,PWGLF] Add event preselections in strangeness derived data producer #17066.Tested on local data and MC AO2Ds, before and after: the 91 tables of
strangederivedbuilderandpropagationserviceidentical (data and MC,fillEmptyCollisionson and off,fillOnlySelectedCollisions+ RCT);the new table one row per collision, its indices distinct and consistent with
StraCollisions; the throw gone.🤖 Generated with Claude Code