--
PabloMatorrasCuevas - 2022-10-17
BTV commisioning.
Before, every time there's a new campaign, we need to compile the campaign. eg. for campaign
Winter22Run3:
python -m BTVNanoCommissioning.utils.compile_jec Winter22Run3 jec_compiled
Current framework
- runner.py. For instance::
For run3 we need to specify the campaign and the year:
python runner.py --workflow ctag_DY_sf --json metadata/test_run3_mumu.json --isJERC --campaign=Winter22Run3 --year=2022
A full version of run3:
python runner.py --workflow ctag_DY_sf --json metadata/MC_Winter22_BTV_Run3_2022_Comm_v1.json --isJERC --isCorr --campaign=Winter22Run3 --year=2022 --executor dask/lxplus -s 50 --chunk 50000 --index=11,5
--isJERC and --campaign are necessary for the run3 thing
python plotting/plotdataMC.py -i hists_ctag_DY_sf_test_w_dj_mumu.coffea --lumi 41500 -p ctag_DY_sf -v z_mass,z_pt
python plotting/plotdataMC.py -i hists_ctag_DY_sf_test_run3_mumu.coffea --lumi 7650 -p ctag_DY_sf -v DeepJet _Cpfcan_BtagPf_trackJetDistVal_0 --com 13.6 --ext v1
python plotting/comparison.py -i "hists_*data*" -p ctag_DY_sf -v DeepJet _Cpfcan_BtagPf_trackJetDistVal_0 -r Muon_Run2022C-PromptReco-v1 -c Muon_Run2022D-PromptReco-v1,Muon_Run2022D-PromptReco-v2 --log --shortref 2022C --shortcomp 2022D-v1,2022D-v2 --ext v1
there is an option to run variables separated by commas too!