Upsilon measurement using the Upsilon2MuMu analyzer

Purpose of analyzer

The aim of the Upsilon2MuMu analyzer is to determine the muon selection efficiencies at low momenta by using Upsilon1S and J/Psi resonances.

Code and tags

  • CMSSW_3_1_X : Work on going
  • CMSSW_2_2_6 : HeavyFlavorAnalysis/Upsilon2MuMu HEAD

Configuration files

A python configuration file is provided in the python directory:

HeavyFlavorAnalysis/Upsilon2MuMu/python/Upsilon_cfg.py

Output

The outcome of the Upsilon2MuMu analyzer is an tree with all the information you need to make an efficiency study. But you need an additional package (AnalysisDataFormats/HeavyFlavorObjects) to run on the ntuple and produce plots..

How to run the analyzer

An example:

The following works on lxplus:

   mkdir ~/testreleases
   cd ~/testreleases/
   scramv1 project CMSSW CMSSW_2_2_6
   cd CMSSW_2_2_6/src
   eval `scramv1 runtime -csh`
   cmscvsroot CMSSW

   cvs co -r HEAD HeavyFlavorAnalysis/Upsilon2MuMu
   cvs co -r V02-02-00 AnalysisDataFormats/HeavyFlavorObjects
   cd AnalysisDataFormats/HeavyFlavorObjects/
   make all
   cd -
   scramv1 b

Now run FAMOS and the analysis code (ntuple dumper) in one go: 
    cd HeavyFlavorAnalysis/Upsilon2MuMu/python
    cmsRun Upsilon_cfg.py

   cd ../../../AnalysisDataFormats/HeavyFlavorObjects/test
   ../bin/runMyReader -f ../../../HeavyFlavorAnalysis/Upsilon2MuMu/python/bla.root
   root 
      TFile f("bla.defaults.root")
      c100->Draw()

Important Remark: The latest version of AnalysisDataFormats/HeavyFlavorObjects has not committed to CVS yet!!

Although the example above works fine, it doesn't produce the plots that you see in the analysis note. I'm going to migrate my reader/ana stuff (that are in AnalysisDataFormats/HeavyFlavorObjects/) to a macros subdirectory in the Upsilon2MuMu package so that checking out Upsilon2MuMu would be enough to reproduce everything.

Notes

CMS AN-2009/144

Contact

Responsible: Bora Akgun

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r5 - 2009-11-26 - BoraAkgun
 
    • 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-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback