Created
April 13, 2021 01:48
-
-
Save edvb/ac91c39e01db849c2c426f266b7f6cb8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- dependencies: | |
- init | |
name: madanalysis5 | |
scheduler: | |
parameters: | |
hepmc: | |
output: hepmc | |
step: init | |
ma5_recast_card: | |
output: ma5_recast_card | |
step: init | |
ma5_run_card: | |
output: ma5_run_card | |
step: init | |
output_folder: '{workdir}/ANALYSIS' | |
scheduler_type: singlestep-stage | |
step: | |
environment: | |
environment_type: docker-encapsulated | |
image: recast/madanalysis5 | |
imagetag: latest | |
process: | |
process_type: interpolated-script-cmd | |
script: 'cp {ma5_run_card} ./ma5_run_card.dat | |
cp {ma5_recast_card} ./ma5_recast_card.dat | |
sed -i ''s#*.hepmc#{hepmc}#g'' ./ma5_run_card.dat | |
./bin/ma5 -R -s ./ma5_run_card.dat | |
cp -r ANALYSIS_0 {output_folder} | |
' | |
publisher: | |
publish: | |
analysis: output_folder | |
publisher_type: interpolated-pub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment