-- KalanandMishra - 17-Mar-2010

Physics Analysis Using Lepton(s) + Jet(s) and/or Missing Transverse Energy Signature

Introduction
For Impatient Users: Quick Instructions to Run the Package
How to run the code in CMSSW
Some Other Useful Links

Introduction

This twiki is a users’ guide to using the common tool for W/Z + jets analysis in CMS, where the massive vector boson W or Z decays leptonically. The VPlusJets is a C++ class library which provides infrastructure for reconstructing W/Z + jets events and storing all necessary analysis-level information into simple ROOT trees.

For Impatient Users: Quick Instructions to Use the Package

  1. If an "ElectroWeakAnalysis" directory does not already exist in your CMSSW work area under "src", create it, and "cd" to it.
  2. Check out the W/Z + jets Package from github.
  3. Go to CMSSW/ElectroWeakAnalysis/VPlusJets/test directory.
  4. Pick a *Analysis_cfg.py file. There are four of these: one each for W (→ e ν) + jets,   Z (→ e+ e) + jets,   W (→ μ ν) + jets,   and   Z (→ μ+ μ−) + jets.
  5. This file uses "VplusJetsAnalysis" class to produce the output *.root file (which will be used for analysis). The producer requires the user to specify selections for leptons and jets.
  6. Remember that the flexibility of this package allows you to modify parameters, add your own modules, filters, producers etc. exclusive for your analysis.
  7. The output will be a root file which contains all the information needed for analysis and optimization.

More detailed instructions are given in the following section.

How to run the code in CMSSW

  • Step 1: Make a CMSSW release and check out the necessary software
  • Here is a quick recipe to run CMS.VplusJets analysis in CMSSW_5_3_X framework and on B2G Patuples (B2GTopLikeBSM53X ) :

    source /uscmst1/prod/sw/cms/setup/cshrc prod        (at Fermilab LPC only)
    cmsrel  CMSSW_5_3_15_patch1
    cd CMSSW_5_3_15_patch1/src/
    cmsenv
    mkdir ElectroWeakAnalysis; cd ElectroWeakAnalysis; git clone git@github.com:VPlusJetsAnalyzers/VPlusJets.git; cd ..
    mkdir EGamma; cd EGamma; git clone git@github.com:h2gglobe/EGammaAnalysisTools; cd ..
    mkdir CMGTools; cd CMGTools; git clone git@github.com:h2gglobe/External; cd ..
    mkdir MMozer; cd MMozer; git clone git@github.com:mmozercern/powhegweight; cd ..
    git clone git@github.com:ajaykumar649/QuarkGluonTagger.git
    scram b -j 4
    cd ElectroWeakAnalysis/VPlusJets/test
    
    
    
    RDtrees Recipies:
    
    cmsrel  CMSSW_5_3_2_patch4
    cd CMSSW_5_3_2_patch4/src
    cmsenv
    mkdir ElectroWeakAnalysis; cd ElectroWeakAnalysis; git clone git@github.com:VPlusJetsAnalyzers/VPlusJets.git; cd ..
    mkdir MMozer; cd MMozer; git clone git@github.com:mmozercern/powhegweight; cd ..
    cp -r /eos/uscms/store/user/lnujj/ClassifierOut .
    
    
    

    Note: Please use global tag 'GR_R_53_V10::All' for data and 'START53_V7E::All' for MC. Note: Last compatible version of ElectroWeakAnalysis/VPlusJets with lvjj PATtuples is tagged as lvjjPAT-23May2013; After that, modifications are made toward compatibility with B2G PATtuples.

  • Step 2: Store all necessary information about the vector boson and jets in a ROOT tree
  • The point of this section is to get you up and running with CMS.VplusJets as soon as possible. The simplest, and we hope the most common, way to this is to run the example script and then modify them for your own needs. For example, if one wants to analyze W (→ μ ν) + jets decay channel, there are following sub-steps:

    cd ElectroWeakAnalysis/VPlusJets/test/
    cmsRun WmunuJetsAnalysisPAT_cfg.py
    

    Running the above step will create an output file named "demo.root". This file contains a ROOT tree of the name specified by the user. Similar example scripts exist for W (→ e ν) + jets,   Z (→ μ+ μ−) + jets,   and   Z (→ e+ e) + jets analyses.

    Output files can now be used for analysis. Please remember that the above configuration files are just example scripts to help you get started with the analysis. In most cases you will likely need to change the object selection somewhat to cater to your specific analysis needs.

Some Useful Links

Edit | Attach | Watch | Print version | History: r77 < r76 < r75 < r74 < r73 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r77 - 2014-09-22 - AjayKumar
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback