Giter Site home page Giter Site logo

bkstll's Introduction

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 [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.)

bkstll's People

Contributors

rmanzoni avatar bainbrid avatar

Watchers

 avatar

Forkers

icbphcms

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.