# Outputs from https://github.com/wonpoint4/MuonHLTTool
# cp ntuple_1.root from one of these output directories
cd Analyzers
rootl -l -b -q HLTEffAnalyzer.C
# Edit submit_batch.py (CRAB Outputs diretories, the name of used menu file, Eras, ...)
python3 submit_batch.py
condor_submit condor_submit.sub
python3 submit_batch.py hadd
condor_submit condor_hadd.sub
# Need to set histograms's directory, names correctly
cd ../Draw
root -l -b -q drawtnpCompEffL3wrtL1.C
root -l -b -q drawtnpCompEffL3wrtOff.C
root -l -b -q 'drawtnpCompEffL3wrtL1.C("IsoMu24")'
root -l -b -q 'drawtnpCompEffL3wrtOff.C("L1sSingleMu22")'
# Or Edit draw_web.py (Web diretories, Version of Plots, ...)
source draw_web.sh
condor_hold msoh
condor_release msoh
python submit_batch.py recover
ll -Sr condor/job.*.err
ll -S Outputs_v*/*/*/*.root
find ./Outputs_v*/* \
-type f -name '*--*.root' \
-size -10k \
-delete
scp msoh@cms.knu.ac.kr:/u/user/msoh/MuonHLT/Run3/Local/test_20211201_Run3Review/Outputs_vRun3Review*/Eff/hist-*.root .
cdq 397147 -long | grep -v Environment | grep CPU