Setup

setenv SCRAM_ARCH slc5_amd64_gcc462
cmsrel CMSSW_5_2_5
cd CMSSW_5_2_5/src
cmsenv
cvs co -r V06-02-04_Exercise TopQuarkAnalysis/Configuration
cvs co -r V06-05-01    DataFormats/PatCandidates
cvs co -r V08-09-05    PhysicsTools/PatAlgos
cvs co -r V00-03-11    CommonTools/ParticleFlow
cvs co -r V00-00-08 -d EGamma/EGammaAnalysisTools UserCode/EGamma/EGammaAnalysisTools
cd EGamma/EGammaAnalysisTools/data
cat download.url | xargs wget
cd -
scram b -j 9
and open TopQuarkAnalysis/Configuration/test/patRefSel_exercise_cfg.py in your favorite editor.

Exercise 1

Switch the isolation cone of the muons

  • from 0.4 (default)
  • to 0.3
An example is found, if you follow the parameter pfMuonIsoConeR03 in TopQuarkAnalysis/Configuration/test/patRefSel_muJets_cfg.py under the assumption that it is set to True .
ALERT! Consider, that here no "postfix" is set

Exercise 2

Include the MVA electron IDs into the PAT electrons. The software is already present in your CMSSW area. You only need to modify this configuration as shown in the example in EGamma/EGammaAnalysisTools/test/patTuple_electronId_cfg.py.

Exercise 3

Apply the veto electron selection, as described here and the conversion rejection on top of it. An example is found, if you follow the parameter electronCutPF in TopQuarkAnalysis/Configuration/test/patRefSel_muJets_cfg.py.

Exercise 4

Select only events with at least on electron and four jets. To find the corresponding configuration parameters, run this configuration interactively:

python -i patRefSel_exercise_cfg.py
>>> process.countPatElectrons
>>> process.countPatJets
and modify the parameters you find accordingly. You should see 25 events passing.

Solution

cvs up -r V06-02-04_Solution TopQuarkAnalysis/Configuration

-- VolkerAdler - 08-May-2012

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2012-05-08 - VolkerAdler
 
    • 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