No need to run these commands unless you want to regenerate the cards. The run cards in the latest branch should be the same as for 22_05_05. But if you run ‘assign_cards.py’, that may change because I didn’t push ‘card_assignment.json’ until long after I completed 22_05_05. Let me know if this is important to you and I can make some checks.
rm cards/*/config.json
rm cards/*/reweight_card.dat
rm cards/*/param_card.dat
rm cards/*/run_card.dat
rm cards/*/pythia8_card.dat
python additional_scripts/assign_cards.py
Start from here if not regenerating cards
cp cards/restrict_cards/SMEFTsim_topU3l_CPV/* MG5_aMC_v2_6_7/models/SMEFTsim_topU3l_MwScheme_UFO/
for proc in qqH_SMEFTsim_topU3l WH_lep_SMEFTsim_topU3l ZH_lep_SMEFTsim_topU3l; do
./scripts/setup_process.sh $proc
done
No need to run this unless remaking the reweight card
for proc in qqH_SMEFTsim_topU3l WH_lep_SMEFTsim_topU3l ZH_lep_SMEFTsim_topU3l; do
python scripts/auto_detect_operators.py -p $proc -b SMEFT,SMEFTcpv
done
#you may want to parallelise this somehow e.g. submit to condor
for proc in qqH_SMEFTsim_topU3l WH_lep_SMEFTsim_topU3l ZH_lep_SMEFTsim_topU3l; do
./scripts/make_gridpack.sh $proc
done
This submission helper is specific to condor so if not running on lxplus, use the normal EFT2Obs script to run jobs (run_gridpack.py and launch_jobs.py)
python additional_scripts/submission_helper.py --mode submit --procs qqH_SMEFTsim_topU3l WH_lep_SMEFTsim_topU3l ZH_lep_SMEFTsim_topU3l --trial-run --jobFlavour microcentury
python additional_scripts/submission_helper.py --mode checkJobs --procs qqH_SMEFTsim_topU3l WH_lep_SMEFTsim_topU3l ZH_lep_SMEFTsim_topU3l --trial-run --write-timing
python additional_scripts/submission_helper.py --mode submit --procs qqH_SMEFTsim_topU3l WH_lep_SMEFTsim_topU3l ZH_lep_SMEFTsim_topU3l --jobFlavour longlunch
python additional_scripts/submission_helper.py --mode checkJobs --procs qqH_SMEFTsim_topU3l WH_lep_SMEFTsim_topU3l ZH_lep_SMEFTsim_topU3l