Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/momentum_scan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
require 'pycall/import'

## settings
NumEvents = 100 # number of events per fixed momentum
NumPoints = 20 # number of momenta to sample
NumEvents = 50 # number of events per fixed momentum
NumPoints = 10 # number of momenta to sample
PoolSize = 6 # number of parallel threads to run
OutputDir = 'out/momentum_scan' # output directory ( ! will be overwritten ! )
RunSimRec = true # if false, do not run simulation+reconstruction, only draw the result
Expand Down
3 changes: 2 additions & 1 deletion simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,8 @@
f'--runType {runType}',
f'--compactFile {compactFile}',
f'--outputFile {outputFileName_npsim}',
"--part.userParticleHandler=''", # necessary for opticalphotons truth output
# "--part.userParticleHandler=''", # necessary for opticalphotons truth output (REMOVE THIS?)
'--part.minimalKineticEnergy "0*eV"', # allow opticalphotons in trackers (dRICH) to be included in output
# '--random.seed 1',
# '--part.keepAllParticles True',
]
Expand Down