Skip to content

Commit

Permalink
Enable energy deposit collection in FiberTubeCalorimeter example
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusFrankATcernch committed Jan 18, 2024
1 parent 02ca92b commit 24ed01b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/ClientTests/scripts/FiberTubeCalorimeter.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def run():
geant4.setupROOTOutput('RootOutput', 'FiberTubeCalorimeter_' + time.strftime('%Y-%m-%d_%H-%M'))

# Setup particle gun
gun = geant4.setupGun("Gun", particle='e+', energy=50 * GeV, multiplicity=1, position=(0.0, 0.0, -364.0*cm))
pos = (0.0, 0.0, -364.0 * cm)
gun = geant4.setupGun("Gun", particle='e+', energy=50 * GeV, multiplicity=1, position=pos)
gun.OutputLevel = generator_output_level

# And handle the simulation particles.
Expand Down

0 comments on commit 24ed01b

Please sign in to comment.