-
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
Expose PDG table from Geant4 as Gaudi service? #196
Comments
There is a ParticlePropertySvc in Gaudi which does that already? |
Thank you for pointing to that! That service exposes the particle properties coming from a file. To my understanding, experiments have their own particle table and they overwrite Geant4 particle properties. However, I think we are using Geant4 particle data table for FCCee at the moment (for full simulation). Therefore I thought it could be useful to expose the Geant4 particle properties to have consistency across the fullsim workflow. As I said, it is few lines of C++, so it can be easily integrated within the algorithm that needs it and doing so we avoid the implementation of a dedicated service. |
For particles that Geant4 doesn't know we use https://github.com/AIDASoft/DD4hep/blob/master/DDG4/examples/particle.tbl (at least for CLD). |
Aah, fair enough then. Is that |
The default for gaudi looks like this as far as I understand: https://gitlab.cern.ch/gaudi/Gaudi/-/blob/master/GaudiTestSuite/tests/data/ParticleTable.txt?ref_type=heads |
Hi,
It is possible to access the PDG table from Geant4 with few lines of C++ code [link]. The motivation would be to work with a set of particle properties which is consistent across the whole workflow.
Do you think that accessing such particle properties is something useful? If so, can we create a Gaudi service that encapsulates an expose the PDG table?
Best,
Alvaro
The text was updated successfully, but these errors were encountered: