PAT Examples: Tracking, Vertexing and b-Tagging - DESY/NAF Related Setup
Contents
Introduction
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
- First login to one of the DESY/NAF portals via
gsissh cms.naf.desy.de
. (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!)
- Set up the CMS software environment with:
ini cmssw
.
- Prepare the CMSSW version:
cmsrel CMSSW_2_2_13
. (You can as well use scram project CMSSW CMSSW_2_2_13
.)
- Enter the directory:
cd CMSSW_2_2_13/src
.
- 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>@cmscvs.cern.ch:/cvs_server/repositories/CMSSW"
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:
/scratch/lustre-1.6/cms/armin/skim/TTJets-madgraph-PAT.root
Please change the
process.source
configuration of the tutorial files in the following way:
process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring(
'file:/scratch/lustre-1.6/cms/armin/skim/TTJets-madgraph-PAT.root'
)
)
This modification has to be applied to these files:
CMSSW_2_2_13/src/CMS.PhysicsTools/PatExamples/test/analyzePatTracks_cfg.py
CMSSW_2_2_13/src/CMS.PhysicsTools/PatExamples/test/analyzePatBJetTracks_cfg.py
CMSSW_2_2_13/src/CMS.PhysicsTools/PatExamples/test/analyzePatVertex_cfg.py
Review status
Responsible:
ArminScheurer,
ChristopheSaout
Last reviewed by: most recent reviewer and date