PAT Examples: Tracking, Vertexing and b-Tagging - DESY/NAF Related Setup



All information given on this page corresponds to the tracking, vertexing and b-tagging tutorial held at a workshop at DESY, Hamburg, Germany. This page gives an overview of DESY/NAF related setup instructions needed during the tutorial.

The tutorial was created under CMSSW_2_2_13 but was as well tested and is working with: CMSSW_3_3_X (e.g. 3_3_6). BE AWARE: The PAT skim input file does not work in CMSSW_3_3_X releases, since it was created with an older version.

Preparation of the CMS Software Environment

  1. First login to one of the DESY/NAF portals via gsissh (Make sure that you have a valid Grid proxy and user interface set up. You NEED to be a German CMS member to connect to DESY/NAF!)
  2. Set up the CMS software environment with: ini cmssw.
  3. Prepare the CMSSW version: cmsrel CMSSW_2_2_13. (You can as well use scram project CMSSW CMSSW_2_2_13.)
  4. Enter the directory: cd CMSSW_2_2_13/src.
  5. Set environment variables: cmsenv. (Or use eval `scram runtime -(c)sh`, depending on your shell.)

Setup of the CERN CVS Server

Basically, you do not have to change anything to get CVS working except for setting up the CMSSW environment correctly. However, if your username at DESY/NAF differs from your lxplus username at CERN, then you have to set the following variables by hand in order to allow proper CVS login, e.g. under bash/zsh use:

export CVSROOT=":ext:<your_username>"
export CVS_RSH="ssh"

Prepared Dataset Samples for this Tutorial

For all exercises performed at the DESY/NAF workshop, the following data sample has been prepared. Starting point is the dataset: /TTJets-madgraph/Fall08_IDEAL_V11_redigi_v10/GEN-SIM-RECO.

To finish the tutorial in time, a skimmed PAT version of 10.000 events of the TTJets-madgraph dataset has been created. The skimmed file is available under:


Please change the process.source configuration of the tutorial files in the following way:

process.source = cms.Source("PoolSource",
        fileNames = cms.untracked.vstring(

This modification has to be applied to these files:


Review status

Reviewer/Editor and Date (copy from screen) Comments
ArminScheurer - 18 Jun 2009 Created the page
ArminScheurer - 18 Dec 2009 Reviewed the page

Responsible: ArminScheurer, ChristopheSaout
Last reviewed by: most recent reviewer and date

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r6 - 2009-12-18 - unknown
    • 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-2023 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