Skip to content

Commit

Permalink
Add parameters to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vvolkl committed Feb 13, 2019
1 parent 46ea4eb commit 28bbfe7
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions reana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,24 @@ inputs:
- config/single_particle_trackFits.py
- script/numHitsPerTrack.C
- script/plot_single_particle_resolutions.py
parameters:
fullsim_gaudiconfig: config/geantSim_TrackerPerformance.py
reco_gaudiconfig: config/single_particle_trackFits.py
particle_pdgid: 13
numevents: 5000

workflow:
type: serial
specification:
steps:
- environment: 'gitlab-registry.cern.ch/vavolkl/fcc-ubuntu:latest'
commands:
- fccrun.py config/geantSim_TrackerPerformance.py
-N 5000 -s 0123456 --outName muons_for_seeding_discrete_pt.root
--singlePart --particle 13 --etaMin 0 --etaMax 6 --discretePt
- fccrun.py ${fullsim_gaudiconfig}
-N ${numevents} -s 0123456 --outName muons_for_seeding_discrete_pt.root
--singlePart --particle ${particle_pdgid} --etaMin 0 --etaMax 6 --discretePt
--pt 1000 2000 5000 10000 100000 1000000 10000000
--pathToDetector /usr/local/
| tee simulation.log 2> simulation.err
- root -b 'script/numHitsPerTrack.C("muons_for_seeding_discrete_pt.root")' | tee plot-tracker-hits.log 2> plot-tracker-hits.err
- fccrun.py config/single_particle_trackFits.py --inputfile muons_for_seeding_discrete_pt.root --outputfile single_particle_resolutions.root
- fccrun.py ${reco_gaudiconfig} --inputfile muons_for_seeding_discrete_pt.root --outputfile single_particle_resolutions.root
- python script/plot_single_particle_resolutions.py single_particle_resolutions.root

0 comments on commit 28bbfe7

Please sign in to comment.