Skip to content

Instantly share code, notes, and snippets.

@lgray
Last active February 28, 2024 19:54
Show Gist options
  • Save lgray/8a28c5fcd707a2a6778f92cd598f0ca6 to your computer and use it in GitHub Desktop.
Save lgray/8a28c5fcd707a2a6778f92cd598f0ca6 to your computer and use it in GitHub Desktop.
# in a fresh conda environment, >= py3.8
conda install xrootd -c conda-forge
# install dask-awkward@main, install dask-histogram from https://github.com/lgray/dask-histogram/tree/map_reduce_agg_hist_adds
pip install coffea xgboost mt2 distributed==2024.2.0 dask==2024.2.0
git clone https://github.com/TopEFT/topcoffea.git -b coffea2023
pushd topcoffea
pip install -e .
popd
git clone https://github.com/cmstas/ewkcoffea.git -b coffea2023
cd ewkcoffea
pip install -e .
cd analysis/wwz
vi run_wwz4l.py
# comment out line 20
# remove the arguments to Client(...) on line 323
# comment out line 343
# comment out line 347
wget --no-verbose http://uaf-8.t2.ucsd.edu/~kmohrman/for_ci/for_wwz/WWZJetsTo4L2Nu_4F_TuneCP5_13TeV-amcatnlo-pythia8_RunIISummer20UL17NanoAODv9-106X_mc2017_realistic_v9-v2_NANOAODSIM_3LepTau_4Lep/output_1.root
python run_wwz4l.py ../../input_samples/sample_jsons/test_samples/UL17_WWZJetsTo4L2Nu_forCI.json -x iterative --do-systs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment