2007 September global run notes

reading root files (setup on lxplus)

e.g. for run 20695:

  • get the root file from castor:
    rfcp /castor/cern.ch/cms/store/data/GlobalSep07/A/000/020/695/RAW/0000/006CA17F-0E6D-DC11-9650-000423D94D98.root . 
  • setup the project area:
    cd /afs/cern.ch/cms/sw/slc4_ia32_gcc345/cms/cmssw/CMSSW_1_6_0_DAQ3 && eval `scramv1 runtime -sh` && cd -
  • if you want to use python, do:
    export PYTHONPATH=$CMSSW_BASE/src/PhysicsTools/PythonAnalysis/python:$PYTHONPATH

  • start root:
    root
  • set it up for fwlite:
    gSystem->Load("libFWCoreFWLite.so") ;  AutoLibraryLoader::enable()
  • load the file:
    new TFile("006CA17F-0E6D-DC11-9650-000423D94D98.root")
  • Open a TBrowser:
    new TBrowser()

reading root files (setup on cmsusr0b)

  • set path to cms utilities like scramv1 and CMS top directory:
    source ~cmssw/scripts/setup.sh
  • setup scram configuration:
    cd ~cmssw/slc4_ia32_gcc345/cms/cmssw/CMSSW_1_6_0_DAQ3 && eval `scramv1 runtime -sh` && cd - 
  • start root:
    root
  • set it up for fwlite:
    gSystem->Load("libFWCoreFWLite.so") ;  AutoLibraryLoader::enable()
  • load the file:
    new TFile("/data1a/lookarea/GlobalSep07.00020695.0001.A.storageManager.0.0000.root")
  • Open a TBrowser:
    new TBrowser()

Interesting quantities to plot

-- AndreHolzner - 28 Sep 2007

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r8 - 2007-10-05 - AndreHolzner
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main 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