Giter VIP home page Giter VIP logo

bparkingnano's Introduction

nanoAOD producer customized for BParking analysis (focus on RK/K*/phi)

Getting started

cmsrel CMSSW_10_2_15
cd CMSSW_10_2_15/src
cmsenv
git cms-init

Add the latest code and model for the electron ID

git cms-addpkg RecoEgamma/EgammaElectronProducers
git cms-merge-topic CMSBParking:from-CMSSW_10_2_15_LowPtElectronsID
git cms-addpkg RecoEgamma/ElectronIdentification
git clone --single-branch --branch 102X_LowPtElectrons_2019Jun28 [email protected]:CMSBParking/RecoEgamma-ElectronIdentification.git $CMSSW_BASE/external/$SCRAM_ARCH/data/RecoEgamma/ElectronIdentification/data
mv $CMSSW_BASE/external/$SCRAM_ARCH/data/RecoEgamma/ElectronIdentification/data/LowPtElectrons $CMSSW_BASE/src/RecoEgamma/ElectronIdentification/data # this is required if running on CRAB

Add the modification needed to use post-fit quantities for electrons

git cms-addpkg TrackingTools/TransientTrack
git cms-merge-topic -u CMSBParking:GsfTransientTracks

Add the BParkingNano package and build everything

git cms-addpkg PhysicsTools/NanoAOD
git clone [email protected]:CMSBParking/BParkingNANO.git  ./PhysicsTools
scram b

To run on a test file

cd PhysicsTools/BParkingNANO/test/
cmsenv 
cmsRun test_BParkSequence_10215.py

Contributing

We use the fork and pull model:

fork this repository https://github.com/CMSBParking/BParkingNANO (top right _Fork button)

If you haven't done so yet, clone this repository:

git clone [email protected]:CMSBParking/BParkingNANO.git  ./PhysicsTools

Add your fork of the repository as remote:

git remote add mine [email protected]:`git config user.github`/BParkingNANO.git
git checkout -b ${USER}_feature_branch origin/master

Work on your feature, add, commit, etc. and push to your own fork

when adding a sequence or table producer, please include it in the python/nanoBPark_cff.py and make sure it runs properly checking the output result (test_BParkSequence_10215.py to give it a try)

git push mine feature_branch

Make a pull request on github

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.