Skip to content

SUEPPhysics/SUEPNano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SUEPNano

This is a NanoAOD framework for the analysis of SUEPs - plain NanoAOD, extended by PF candidates and more track information. This format can be used with fastjet directly.

Recipe

THIS IS A DEVELOPMENT BRANCH

For UL data and MC NanoAODv9 according to the XPOG and PPD recommendations:

cmsrel  CMSSW_10_6_26
cd  CMSSW_10_6_26/src
cmsenv
git cms-addpkg PhysicsTools/NanoAOD
git clone -b ul https://github.com/SUEPPhysics/SUEPNano.git PhysicsTools/SUEPNano
scram b -j 2
cd PhysicsTools/SUEPNano/test

Note: if the git cms-addpkg PhysicsTools/NanoAOD doesn't work, make sure that you have forked the CMSSW to your user, and configured your git correctly: git config --global user.github <your github username>.

Note: This configuration has been tested for this combination of CMSSW release, global tag, era and dataset. When running over a new dataset you should check with the nanoAOD workbook twiki to see if the era modifiers in the CRAB configuration files are correct. The jet correction versions are taken from the global tag.

Local Usage:

2018 MC:

cmsRun ul18_mc_NANO.py

For Centrally produced SUEP samples with multiple points in the scan:

splitTrees.py can be used to split a set of input nanoAOD samples based on the correponding gen-level setup and -optionally- merge the resulting chunks together (i.e. same signal point coming from different nanosuep files). Usage is:

python splitTrees.py --input [input directory] --output [output directory] --jobs [number of cores] --hadd 

haddnano.py is just a modified version of the standard cms-sw tool to reduce verbosity a bit