-- 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

  • plotting/plotter.py:
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

  • plotting/comparison.py
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!

Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r10 - 2022-12-02 - PabloMatorrasCuevas
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback