H->ZZ software page

Code and tags for CMSSW_3_2_X series

Create a CMSSW working area:

 
   scramv1 project CMSSW CMSSW_3_2_7
   cd CMSSW_3_2_7/src

Download the relevant tags for HiggsAnalysis/HiggsToZZ4Leptons code:

 
   cvs co -r hzz4l_327_V00_00_01 HiggsAnalysis/HiggsToZZ4Leptons
   cvs co -r V00-03-15 HiggsAnalysis/Skimming

Configuration files

Configuration files to run the preselection or the full analysis in HiggsAnalysis/HiggsToZZ4Leptons/test:

- HiggsToZZPreselection_2e2mu.py for 2e2mu preselection
- HiggsToZZPreselection_4e.py for 4e preselection
- HiggsToZZPreselection_4mu.py for 4mu preselection
- HiggsToZZPreselection_4l.py for 2e2mu,4e and 4mu preselection

- HiggsToZZCompleteAnalysis_2e2mu.py for 2e2mu full analysis
- HiggsToZZCompleteAnalysis_4e.py for 4e full analysis
- HiggsToZZCompleteAnalysis_4mu.py for 4mu full analysis
- HiggsToZZCompleteAnalysis_4l.py for 2e2mu,4e and 4mu full analysis

Code and tags for CMSSW_2_2_X series

Create a CMSSW working area:

 
   scramv1 project CMSSW CMSSW_2_2_13
   cd CMSSW_2_2_13/src

Download the relevant tags for HiggsAnalysis/HiggsToZZ4Leptons code:

 
   cvs co -r hzz4l_2213_V01_01_06 HiggsAnalysis/HiggsToZZ4Leptons
   cvs co -r V00-02-18 HiggsAnalysis/Skimming
   cvs co -r V00-01-11-1 RecoEgamma/ElectronIdentification
   cvs co -r CMSSW_2_2_13 PhysicsTools/Utilities/interface/AndSelector.h
   cvs co -r CMSSW_2_2_13 PhysicsTools/Utilities/interface/OrSelector.h
   cvs co -r CMSSW_2_2_13 PhysicsTools/UtilAlgos/interface/EventSetupInitTrait.h

* Modify the files: PhysicsTools/Utilities/interface/AndSelector.h PhysicsTools/Utilities/interface/OrSelector.h PhysicsTools/UtilAlgos/interface/EventSetupInitTrait.h replacing the string "helpers" with "newhelpers" everywhere.

Configuration files

Configuration files to run the full analysis in HiggsAnalysis/HiggsToZZ4Leptons/test:

 
- HiggsToZZCompleteAnalysis_2e2mu.py for 2e2mu full analysis
- HiggsToZZCompleteAnalysis_4e.py for 4e full analysis
- HiggsToZZCompleteAnalysis_4mu.py for 4mu full analysis
- HiggsToZZCompleteAnalysis_4l.py for 2e2mu,4e and 4mu full analysis

Configuration files to run the preselection in HiggsAnalysis/HiggsToZZ4Leptons/test:

 
- HiggsToZZPreselection_2e2mu.py for 2e2mu preselection
- HiggsToZZPreselection_4e.py for 4e preselection
- HiggsToZZPreselection_4mu.py for 4mu preselection
- HiggsToZZPreselection_4l.py for 2e2mu,4e and 4mu preselection

How to run the HZZ analysis

Output

Setup for PAT-tuple creation for HZZ analysis

 
addpkg DataFormats/PatCandidates V03-26-05
addpkg PhysicsTools/PatAlgos V05-05-12
addpkg PhysicsTools/PatUtils V03-06-03

addpkg CondFormats/JetMETObjects  V01-08-04
addpkg PhysicsTools/RecoAlgos V08-06-16-06-02
addpkg PhysicsTools/PFCandProducer V03-01-16
addpkg RecoMET/Configuration V00-04-02-17
addpkg RecoMET/METAlgorithms V02-05-00-21
addpkg RecoMET/METProducers V02-08-02-17
addpkg DataFormats/METReco V00-06-02-09
addpkg DataFormats/MuonReco V07-02-12-03
addpkg JetMETCorrections/Type1MET VB04-00-02-04
addpkg RecoJets/JetAssociationAlgorithms V01-04-03
addpkg JetMETCorrections/Algorithms V01-08-02-01
addpkg JetMETCorrections/Configuration V01-08-15
addpkg JetMETCorrections/JetPlusTrack V03-02-06
addpkg JetMETCorrections/Modules V02-09-02

* Compile everything in CMSSW_2_2_13/src area: - scramv1 b

* In order to run on existing PATtuples: - Edit the python configuration files for preselection and complete analysis in HiggsAnalysis/HiggsToZZ4Leptons/test and set usePAT='true' . - cmsRun HiggsToZZ<*>.py

* If PATuple files were not provided tou can create PATtuples with the configuration file: HiggsAnalysis/HiggsToZZ4Leptons/test/patLayer1_fromAOD_full.cfg.py: - modify PhysicsTools/PatAlgos/python/patEventContent_cff.py replacing the patEventContent in the following way:

 
patEventContent = [
    'keep *_cleanLayer1Photons_*_*', 
    'keep *_cleanLayer1Electrons_*_*', 
    'keep *_cleanLayer1Muons_*_*', 
    'keep *_cleanLayer1Taus_*_*', 
    'keep *_cleanLayer1Jets_*_*',
    'keep *_layer1METs_*_*',
    'keep *_cleanLayer1Hemispheres_*_*',
    'keep *_cleanLayer1PFParticles_*_*',
    'keep *_offlinePrimaryVertices_*_*',
    'keep recoGsfTrackExtras_pixelMatchGsfFit_*_*',
    'keep recoTrackExtras_pixelMatchGsfFit_*_*',
    'keep recoTracks_generalTracks_*_*',
    'keep recoTrackExtras_generalTracks_*_*',
    'keep *_offlineBeamSpot_*_*'
 ]

- modify PhysicsTools/PatAlgos/python/recoLayer0/electronId_cff.py in the following way:

 
 import FWCore.ParameterSet.Config as cms

 from RecoEgamma.ElectronIdentification.electronIdCutBasedClassesExt_cfi import *
 import RecoEgamma.ElectronIdentification.electronIdCutBasedClassesExt_cfi
 eidRobustHighEnergy = RecoEgamma.ElectronIdentification.electronIdCutBasedClassesExt_cfi.eidCutBasedClassesExt.clone()

 patElectronId = cms.Sequence(
     eidRobustHighEnergy
 )

- modify the file PhysicsTools/PatAlgos/python/patSequences_cff.py in the following way:

beforeLayer1Objects = cms.Sequence( patAODReco + # use '+', as there is no dependency patMCTruth # among these sequences )

- recompile in the PhysicsTools/PatAlgos/python directory: scramv1 b - cmsRun patLayer1_fromAOD_full.cfg.py

Tutorial sessions

during the 4l-worskhop in Paris: Developing, configuring and running the H->ZZ->4l analysis

during the meeting Using Physics Analysis Toolkit (PAT) in your analysis: Higgs specific PAT:*

Contact

-- NicolaDeFilippis - 12 Jul 2009

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2009-09-24 - NicolaDeFilippis
 
    • 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