lukasheinrich / weinberg-exp

yadage workflow for simple e+e- > mu+mu- mc production
1 stars 2 forks source link

Instructions don't working #1

Open Franko1307 opened 6 years ago

Franko1307 commented 6 years ago

I tried this.

export TOP=https://raw.githubusercontent.com/lukasheinrich/weinberg-exp/master/example_yadage
eval "$(curl https://raw.githubusercontent.com/diana-hep/yadage/master/yadagedocker.sh)"
yadage-run -t $TOP workdir_actmod rootflow.yml -p nevents=10000 -p seeds=[1,2,3,4] -a $TOP/input.zip \
       -p runcardtempl=run_card.templ -p proccardtempl=sm_proc_card.templ \
           -p sqrtshalf=45 -p polbeam1=0 -p polbeam2=0 \
           -p Gf=1.766390e-05 -p paramcardtempl=param_card.templ

And the command yadage-run exits with this error:

Error: no such option: -a

lukasheinrich commented 5 years ago

Hi @Franko1307 this should work with the latest version of yadage

yadage-run -t github:lukasheinrich/weinberg-exp:example_yadage workdir_actmod rootflow.yml -p nevents=10000 -p seeds=[1,2,3,4] -d inputarchive=file://$PWD/input.zip -p runcardtempl=run_card.templ -p proccardtempl=sm_proc_card.templ -p sqrtshalf=45 -p polbeam1=0 -p polbeam2=0 -p Gf=1.766390e-05 -p paramcardtempl=param_card.templ

where $PWD/input.zip is an input archive like

https://github.com/lukasheinrich/weinberg-exp/blob/master/example_yadage/input.zip