-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simulated true particles from GEANT #176
Comments
Hi Cheryl, |
Wonderful, thank you @fmauger ! |
There is a template/example profile config file namely: "resources/snemo/demonstrator/profiles/demonstrator-simulation.profile" In section [registry="simulation"] there is the "output_profile" set at "none"? Looking at config files like " resources/snemo/demonstrator/geant4_control/sensitive/calorimeter.conf", some informations are natively available in the calo hits in addition to standard informations like the time, energy deposit... for example:
From "tracker.conf", one finds similar informations about the volume traversed by the particles The file "resources/snemo/demonstrator/geant4_control/hit_processing/step_hit_processors-only_visu_tracks.conf" explains what output profiles activate which "truth hits" processors with a higher level of details. The generation of such detailed hits is only activatable in "all_details" mode for volume like:
More volumes could be added on demand if useful. To access these informations in the event record, it is needed to target the "__visu.traks" collection of hits and iterate on it. The hits are implement as instances of the following class: |
Question/request for @fmauger I think...
We would very much like to be able to identify the true particles produced in simulated events - not just the primary particles, which we can already see, but also those generated by GEANT in the detector simulation. As a couple of examples, Hamzah @wausain would like to be able to see all external background events where an initial gamma produces an e+/e- pair. @pfranchini and Matteo, for their reconstruction studies, would like to be able to identify "true two-track" events.
How hard is it to enable this? What would need doing, and by whom?
Thank you!
The text was updated successfully, but these errors were encountered: