Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflow: parameterised inputs #6

Merged
merged 1 commit into from
Feb 13, 2019
Merged
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
22 changes: 17 additions & 5 deletions reana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,30 @@ inputs:
- config/single_particle_trackFits.py
- script/numHitsPerTrack.C
- script/plot_single_particle_resolutions.py
parameters:
events: 5000
seed: 0123456
particle: 13
etamin: 0
etamax: 6
pt: 1000 2000 5000 10000 100000 1000000 10000000
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
--pt 1000 2000 5000 10000 100000 1000000 10000000
-N $events -s $seed --outName muons_for_seeding_discrete_pt.root
--singlePart --particle $particle --etaMin $etamin --etaMax $etamax
--discretePt --pt $pt
--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
- 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
| tee fit.log 2> fit.err
- python script/plot_single_particle_resolutions.py single_particle_resolutions.root
| tee plot-reconstructed-tracks.log 2> plot-reconstructed-tracks.err