May I ask which physical process you are using to access this database?
That example is in the base install. For example, here is the stepping action which will likely be of interest.
Hello, I followed your advice and ran the Hadr03 example, but why didn’t I see 104mRh in the results?
- I ran Geant4 11.3
- the data base of interest are G4NDL4.7.1. ; G4PARTICLEXS4.1 ; G4ENSDFSTATE3.0
- in Hadr03/src/PhysicsList.cc, I selected G4HadronPhysicsQGSP_BIC_HP
- 104mRh is Rh104[128.968 keV]
Hello, does Geant4 currently not provide a specific metastable state generation mechanism? Do I need to manually implement this physical process myself? If I do need to handle it myself, I’d like to ask how exactly this physical process interfaces with/calls the database. Could you please clarify this? Thank you!
example rdecay01 (in subdirectory radioactivedecay) with the macro below may help you to find an answer.
tang.mac.txt (282 Bytes)
That’s strange. I still don’t see 104mRh when using only G4HadronPhysicsQGSP_BIC_HP. May I ask if you’ve performed any additional operations? Thank you.
can you post the log file of your Hadr03 run ?
log.txt (4.7 KB)
tang.mac (5).txt (367 Bytes)
Hello, this is the file relevant to my execution.
Thermal neutron capture on Rh103 will not give you a 128.968 keV state on 104Rh by itself. Maire1’s output was showing the decay of the state and its daughters. To get the actual decay you need Radioactive and decay physics, not just neutron physics.
Thank you for your response. After implementing G4DecayPhysics and G4RadioactiveDecayPhysics , I still observed no generation of metastable nuclides .
I noticed you mentioned G4ENSDFSTATE3.0 and G4PARTICLEXS4.1. How can I invoke this database?
Normaly, these datasets are downloaded by default, in the same subdirectory as G4DNL and others … Please double check that they are installed.
Before to run a job, did you issue > source my g4workingdirectory/install/bin/geant.sh (or .csh) ?
of course ,I have installed. Do you mean that this physical process will automatically invoke these databases without us having to specify them separately?
I’m not sure what you mean by “specify them separately.” You must set up your environment variables properly before running the executable. That’s the question Michel asked,
Did you issue
source myG4workingdirectory/install/bin/geant.sh
(or.csh
)?
That script will set all the database envvars you need in order to run.
OK. We will do an other test. Install example Hadr06 and compile. Run macro hadr06.in . If the result is similar to hadr06.out (it cannot be strictly identical) your installation has a good chance to be OK.
Based on the comparison between hadr06.out and log.txt above, it appears the database installation was successful.
Perfect !
Coming back to Hadr03 log file, I see that you are working with Geant4 11.3.2 (April 2025), while I am with 11.4.beta (June 2025, equivalent to 11.3.ref06)
Only @civanch , and maybe @ribon , can tell us the improvements at the origin of the appearance of Rh104[128.928] excited state.
So, how should I modify it, because in the first question I asked, the picture shows that the article author can generate 104mRh using G4NEUTRONXS,why?
If it is possible for you, may I suggest to migrate to 11.4.0.beta ?