Dear Experts,
I want to achieve the geant4+python simulation with step length < 0.1 um.
In geant4_pybind, this is achieved in the following way:
In DetectorConstruction part,
fStepLimit = G4UserLimits(maxStep)
logical[“Device”].SetUserLimits(self.fStepLimit)
where “Device” is a box which we simulate.
In physics list:
physics_list = FTFP_BERT()
physics_list.SetVerboseLevel(1)
physics_list.RegisterPhysics(G4StepLimiterPhysics())
From this we can achieve geant4+python simulation with step length < 0.1 um.
But in Geant4 + python:
physics_list = FTFP_BERT()
physics_list.RegisterPhysics(G4StepLimiterPhysics())
This code cannot work, due to FTFP_BERT does not include ReisterPhysics.
How can I use the Geant4+python (g4py) achieve simulation step <0.1um.
Any suggestion?
Thank you!
Yuhang