Skip to content

Unified "Key" for all detectors in detectorSimulations #72

@moukaddam

Description

@moukaddam

Some of the detectors will be used together in the simulations e.g. Spice + Tigress or Paces + Griffin. I suggest that we agree on numbering each detector up to the smallest detector element with a specific number or a key, we could get inspired by the mnemonics at TRIUMF (http://www.triumf.info/wiki/tigwiki/index.php/Detector_Nomenclature).

This Key could be delivered to the "StepTracker" and will be available to use in the eventAction. It could be used to fill the Tree, the histograms and the Ntuples and also as a condition for particular operations on particular detectors.

We could parse the key and get what is the type of the touched detector, its number, segment... The Griffin part contains a very similar thing where they parse the name of the volume touched to get the relevant information. With Spice also we have something similar. However when spice is touched, "detNum = 1" is different than the same value ("detNum = 1") when Griffin or PACES are touched. So the idea is to add an additional key number at the beginning that is specific to the detector.

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