Skip to content
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

Open
atolosadelgado opened this issue May 24, 2024 · 5 comments
Open

Expose PDG table from Geant4 as Gaudi service? #196

atolosadelgado opened this issue May 24, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@atolosadelgado
Copy link

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

@atolosadelgado atolosadelgado added the enhancement New feature or request label May 24, 2024
@andresailer
Copy link
Contributor

There is a ParticlePropertySvc in Gaudi which does that already?

@atolosadelgado
Copy link
Author

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.

@andresailer
Copy link
Contributor

For particles that Geant4 doesn't know we use https://github.com/AIDASoft/DD4hep/blob/master/DDG4/examples/particle.tbl (at least for CLD).

@atolosadelgado
Copy link
Author

Aah, fair enough then. Is that table.tbl file readable by the LHCb service you found?

@andresailer
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants