Code for background estimate designed to run at the LPC
git clone git@github.com:DisplacedHiggs/NJetsEstimate.git
cd NJetsEstimate
Make sure the input and output directories are correct in nJetsVars.list (and the rest of your variable choices). Also, in nJetsEstimate_LPC.py, you have the choice to set deltaRmode and singleEffMode to true or false.
Warning: If you change the "deltaR" variable in nJetsEstimate_LPC.py to an event-level, rather than jet-level quantity, it gets a bit messy. You must use special jet-entry trees and follow "reverse comments for NGOODVERTICES" comment. This is set up in the njet branch.
Note, each of these steps takes a few hours:
bash createNJets.sh
cp scripts/submitNJets.condor .
condor_submit submitNJets.condor
bash prepareNJetsPlots.sh
The general workflow for how this works is as follows.
STEP 1:
STEP 2:
STEP 3:
STEP 4:
Here is a description of the different files used.
nJetsVars.list
This is the main set up file consisting of many parts that are used across the different pieces of code If you comment out a line (i.e. put a '#' mark at the start of the line), it won't be read. Here are the components
VARS
REGIONS
NUM_PRODUCTS
BKG_FILES
DENOM_PRODUCT
nJetsEstimate_LPC.py
bash createNJets.sh
condor_submit submitNJets.condor
bash runNJets.sh
bash scanNJets.sh
bash prepareNJets.sh