-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
I am not sure whether it is a problem with Geant4 4.11 or the changes implemented in version 3.0.0, but I am unable to run simulations which use particle_type SUPERNOVA. The supernova class is initialised before the ConfigManager has the correct values from the macro. This causes the number of isotopes to simulate to be 0 when entering the loop.
Here is a macro for testing:
# set verbosity
/control/verbose 1
/run/verbose 1
/tracking/verbose 0
# configure supernova
/inputs/particle_type SUPERNOVA
# output path
/inputs/output_file ./output/radiogenic_Ar42_background.root
# initialize run
/run/initialize
/random/setSeeds 137 100
# event ID offset
/event/offset 0
# Supernova configs
/supernova/Event_Window 10 s
/supernova/Event_Cutoff 10 s
/supernova/N_Ar42_Decays 1
# run
/run/beamOn 10
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed