Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.
This repository was archived by the owner on May 6, 2024. It is now read-only.

Increase the number of processes in the process map  #107

@EinarElen

Description

@EinarElen

By default, we are only including entries that are interesting for electrons and photons. This leads to most entries in the particle tables to be marked as "unkown" which has caused confusion for some users. When working on #106, I needed to be able to check that the daughters of a primary kaon were from its decay or not so I needed an entry for at least the Geant4 "Decay" process.

Adding more entries to the process map will increase the runtime for SimParticle::findProcessType which will have to search a larger map. I would argue that if we are running into performance issues because of this, we should look at the datastructure and algorithm we are using (map + string comparison) first.

We should think through what particle + process combinations we are especially interested in, off the top of my head

  • Kaons
  • Neutrons

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions