Skip to content

bainbrid/BKstLL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe to produce flat trees for B->K(*)LL

The following recipe has been tested on lxplus.

Prerequisites

  • 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.

Set up CMSSW release area and CMGTools packages

Installation instructions are found here.

Documentation and tutorial can be found here and here.

Tweaks to the 'baseline' installation

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)

Install and run BKstLL package

cd $CMSSW_BASE/src/CMSTools
git clone git@github.com: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.)

About

bare bone (sub)package (of CMGTools) to study a non biassed selection of a B-meson enriched sample.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.6%
  • C++ 2.4%