Closed WitekPokorski closed 1 year ago
Can one of the admins verify this patch?
@WitekPokorski is there a way to enable/disable the integration, to be able to run the same app with G4 only?
Yes, to run without AdePT you add the --no_AdePT argument when you call the example, like this:
New example21 demonstrates integration of AdePT into Geant4 using the G4VTrackingManager instead of Fast Simulation hook. In this case all e+,-, gammas are immediately handed over to AdePT (in the entire detector). No particles ever come back from AdePT. It seems to run OK with example21.mac, but certainly further polishing may be needed (and further bugs may be present due to limited testing so far).