Skip to content

[PWGLF] Add strangeness builder service#9340

Merged
ddobrigk merged 27 commits intoAliceO2Group:masterfrom
ddobrigk:strangenessbuilder
Jan 17, 2025
Merged

[PWGLF] Add strangeness builder service#9340
ddobrigk merged 27 commits intoAliceO2Group:masterfrom
ddobrigk:strangenessbuilder

Conversation

@ddobrigk
Copy link
Collaborator

@ddobrigk ddobrigk commented Jan 15, 2025

  • added strangenessbuilder task to (eventually) replace the lambdakzerobuilder, cascadebuilder, lambdakzeromcbuilder and cascademcbuilder tasks. Using a number of tricks and with autodetect, the strangeness builder will self-configure to generate V0s, Cascades or any exclusive combination thereof depending on the requirements of the tasks that connect to it. Further, a key advantage of this strangeness builder is significantly reduced memory consumption as only one single copy of the material LUT is used (as opposed to two when building V0s and cascades with two independent builders). At the moment, this task is provided for larger-scale testing: it has not yet been fully tested.
  • Added strangenessBuilderHelper, a class conveniently able to create V0s and Cascades from any Track table iterator (row) combination provided by any user. The key advantage of having a helper for this is that no additional copy of the material LUT is required when using this tool (in case the task using it already has a copy of the LUT in memory), and it will at the same time provide standard values of V0/Cascade-related quantities.

Tagging @romainschotter @gianniliveraro

@ddobrigk ddobrigk changed the title [PWGLF] Add strangeness builder [PWGLF] Add strangeness builder service Jan 15, 2025
@github-actions github-actions bot added the pwglf label Jan 15, 2025
njacazio
njacazio previously approved these changes Jan 15, 2025
@njacazio njacazio enabled auto-merge (squash) January 15, 2025 20:26
@ddobrigk
Copy link
Collaborator Author

@romainschotter we should probably also merge a number of tables currently being used for derived data to simplify life for users. I'll take a look at this when I have time and when I start to prepare this strangenessbuilder to generate also those other tables as well...

@ddobrigk ddobrigk disabled auto-merge January 17, 2025 09:27
@ddobrigk ddobrigk enabled auto-merge (squash) January 17, 2025 09:27
@ddobrigk ddobrigk merged commit 96b0592 into AliceO2Group:master Jan 17, 2025
12 of 14 checks passed
@ddobrigk ddobrigk deleted the strangenessbuilder branch January 17, 2025 09:53
smaff92 pushed a commit to smaff92/O2Physics that referenced this pull request Feb 17, 2025
Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
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