The following recipe has been tested on lxplus.
- Subscribe to github and set it up for CMSSW, see here.
- Fork the cmg-cmssw repository, see here.
- Fork the new cmgtools-lite repository, see here.
- Then set up your working area, see below.
Installation instructions are found here.
Documentation and tutorial can be found here and here.
Edit POG_PFID_Loose
--> POG_PFID_Loose2016
in the line here
To obtain correct JECs, run this cfg using cmsRun
. First, edit the cfg to use the correct GT (e.g. this one)
cd $CMSSW_BASE/src/CMSTools
git clone [email protected]:bainbrid/BKstLL.git
cd BKstLL
scram b
cd cfgPython
heppy test b0kstee_gen_cfg.py -N10
Your flat root tree should be found at test/BdKstMM/BKstLLGenTreeProducer/tree.root
It's probably sufficient to run interactively to produce the flat trees.
If that's not quick enough for you, it should be straight forward to configure to run on the batch as follows (untested)
Set production=True
in the cfg file
Then heppy_batch.py -o b0kstee_gen_cfg.py -b 'bsub -u hjkagsdjhga -q 8nh < ./batchScript.sh'
(Note that the hjkagsdjhga
is simply a nonsensical string that stops your inbox getting spammed on job completion.)