Skip to content

feat: Introduce new particle container to be used with Fatras and Examples#5210

Draft
andiwand wants to merge 2 commits intoacts-project:mainfrom
andiwand:fatras-new-particle-container
Draft

feat: Introduce new particle container to be used with Fatras and Examples#5210
andiwand wants to merge 2 commits intoacts-project:mainfrom
andiwand:fatras-new-particle-container

Conversation

@andiwand
Copy link
Copy Markdown
Contributor

@andiwand andiwand commented Mar 6, 2026

Introduces a new concrete particle and hit container that is planned to be used for Fatras and Examples. It is similar to our existing track container and space point container with an extensible SoA-style layout.

This new container works with indices to identify particles and removes the dependency on a unique barcode. The barcode is now just a simple property of the particle. This makes handling of the container much easier and will also allow us to map it to Python very easily. Apart from that we can now also easily model the particle creation tree with a list of parent particles.

The plan is to migrate gradually to this new container as a single change would be too big. Bringing the container in and adding some tests without actually using it is the first step.

--- END COMMIT MESSAGE ---

A few more ideas we could consider:

  • not only link to parents but also descendants
  • a list of primary particles on the container level to easily access the "root" nodes
  • a generic algorithm to generate barcodes after filling the container using the root and parent indices
  • a way to represent stable and intermediate particles for generation processes
  • vertex index

blocked by

@andiwand andiwand added this to the next milestone Mar 6, 2026
@github-actions github-actions bot added Component - Core Affects the Core module Component - Fatras Affects the Fatras module Component - Examples Affects the Examples module Event Data Model Seeding labels Mar 6, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 6, 2026

📊: Physics performance monitoring for b6f7f8a

Full contents

physmon summary

@andiwand andiwand force-pushed the fatras-new-particle-container branch from ae7bc4b to 9d84587 Compare March 10, 2026 16:07
@github-actions github-actions bot removed Component - Core Affects the Core module Seeding labels Mar 10, 2026
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - Examples Affects the Examples module Component - Fatras Affects the Fatras module Event Data Model

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant