Skip to content

Unable to simulate supernova backgrounds #24

@guigoruiz1

Description

@guigoruiz1

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

Metadata

Metadata

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions