Hey, geant4 experts
I am utilizing isotropic cylindrical sources and calculating their dose rate deposition within the detector.
The main example utilized is in examples/B1. Defining the particle source in such a way that GPS. Build process is successful, but an error is reported when calling the GPS source.
This looks like B4. And the error isn’t related to dose but to the analysis manager probably being created too early for the macro. The macro and main are also needed.
Thank you for your reply. Currently, I am calculating dose rate and energy deposition, following the example of B4a. I see energy deposition values on my terminal, but the ROOT plot is blank. Could you please help me identify possible reasons for this? I have already adjusted the axis range of the ROOT plot and the number of simulation entries, but there is still no change.
I am not that familiar with G4Accumulable which I think is a newer method. Can you run and get output from example B3?
That is a good sanity check. My hunch is that results are not being merged between runs or that the values are not being passed properly. It is odd to me that this is being processed in RunAction rather than EventAction. But that could be a deliberate advantage of G4Accumulable.