Hello Geant4 users and experts,
I’m trying to find a proper way to define these two materials in Geant4.
VACUUM: Perfect vacuum, 0 density
BLACKHOLE: Perfect absorber.
I understand that it is not possible to define a material with zero density in G4,
and the equivalent and predefined material would be ‘G4_Galactic’, but it is still not a perfect vacuum…
I think it is easy to deal with the blackhole case just defining a material ‘blackhole’ (with random parameters…), and in the UserSteppingAction I could kill the particles entering in a region with this material, but I still do not find a similar solution for vacuum.
Could be possible to ‘turn off’ all the physics processes to all the regions with a ‘vacuum’ material?
(or maybe just force the transport of the particle)
I hope the question is clear. Also, any other idea is welcomed.
Thanks,
André