Skip to content

Commit

Permalink
change direction and random seed for DDSim steering file
Browse files Browse the repository at this point in the history
  • Loading branch information
atolosadelgado committed Nov 13, 2024
1 parent 11cf0a4 commit 5dd5d47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions DCHdigi/test/test_DCHdigi/sim_steering.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
################################################################################

## direction of the particle gun, 3 vector
SIM.gun.direction = (1, 0.9, 0)
SIM.gun.direction = (1,1,1)

## choose the distribution of the random direction for theta
##
Expand All @@ -257,7 +257,7 @@
## Total energy (including mass) for the particle gun.
##
## If not None, it will overwrite the setting of momentumMin and momentumMax
SIM.gun.energy = '5*GeV'
SIM.gun.energy = '10*GeV'

## Maximal pseudorapidity for random distibution (overrides thetaMin)
SIM.gun.etaMax = None
Expand Down Expand Up @@ -554,11 +554,11 @@

## If True, calculate random seed for each event basedon eventID and runID
## Allows reproducibility even whenSkippingEvents
SIM.random.enableEventSeed = False
SIM.random.enableEventSeed = True
SIM.random.file = None
SIM.random.luxury = 1
SIM.random.replace_gRandom = True
SIM.random.seed = None
SIM.random.seed = 123
SIM.random.type = None


Expand Down

0 comments on commit 5dd5d47

Please sign in to comment.