====== CMG Tools ====== CMG tools is a full analysis framework where one can skim samples (creating flat ntuples) using the Heppy script, apply selections and plot output. It is well maintained and constantly being updated with the newest ID recommendations. To set up, follow the instructions at[[https://twiki.cern.ch/twiki/bin/viewauth/CMS/CMGToolsReleasesExperimental|CMG Tools Experimental Releases]]. To run: #local running: heppy outdir_name cfg/runVV_cfg.py -N 2000 #for batch submission (at lxplus): heppy_batch.py -r /store/cmst3/group/exovv/clange/HeppyProduction/trees_VV_20170118 -o VV_20170118 runVV_cfg.py -b 'bsub -q 2nd -u clange -o std_output.txt -J VV_20170118 < batchScript.sh' Some plotting tool (for VV in this case) can be found [[https://github.com/CERN-PH-CMG/cmgtools-lite/blob/80X/VVResonances/interactive/plotVV_2016.py|here]]. Some example ntuple can be found here: /eos/cms/store/cmst3/user/jngadiub/ntuple/