CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/TopQuarkAnalysis/Configuration/python/patRefSel_refMuJets_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from PhysicsTools.PatAlgos.patSequences_cff import *
00004 from TopQuarkAnalysis.Configuration.patRefSel_common_cfi import *
00005 
00006 ### Muons
00007 
00008 intermediatePatMuons = cleanPatMuons.clone(
00009   preselection  = '' # looseMuonCut
00010 )
00011 loosePatMuons = cleanPatMuons.clone(
00012   src           = cms.InputTag( 'intermediatePatMuons' )
00013 , checkOverlaps = cms.PSet(
00014     jets = cms.PSet(
00015       src                 = cms.InputTag( 'goodPatJets' )
00016     , algorithm           = cms.string( 'byDeltaR' )
00017     , preselection        = cms.string( '' )
00018     , deltaR              = cms.double( 0. ) # muonJetsDR
00019     , checkRecoComponents = cms.bool( False )
00020     , pairCut             = cms.string( '' )
00021     , requireNoOverlaps   = cms.bool( True)
00022     )
00023   )
00024 )
00025 step1a = cms.EDFilter(
00026   "PATCandViewCountFilter"
00027 , src = cms.InputTag( 'loosePatMuons' )
00028 , minNumber = cms.uint32( 1 )
00029 , maxNumber = cms.uint32( 1 )
00030 )
00031 
00032 tightPatMuons = cleanPatMuons.clone(
00033   src           = cms.InputTag( 'loosePatMuons' )
00034 , preselection  = '' # tightMuonCut
00035 , checkOverlaps = cms.PSet()
00036 )
00037 step1b = step1a.clone( src = cms.InputTag( 'tightPatMuons' ) )
00038 
00039 step2 = countPatMuons.clone( maxNumber = 1 ) # includes the signal muon
00040 
00041 ### Jets
00042 
00043 goodPatJets = cleanPatJets.clone(
00044   preselection  = '' # jetCut
00045 , checkOverlaps = cms.PSet(
00046     muons = cms.PSet(
00047       src                 = cms.InputTag( 'intermediatePatMuons' )
00048     , algorithm           = cms.string( 'byDeltaR' )
00049     , preselection        = cms.string( '' )
00050     , deltaR              = cms.double( 0. ) # jetMuonsDR
00051     , checkRecoComponents = cms.bool( False )
00052     , pairCut             = cms.string( '' )
00053     , requireNoOverlaps   = cms.bool( True)
00054     )
00055   )
00056 )
00057 
00058 step4a = cms.EDFilter(
00059   "PATCandViewCountFilter"
00060 , src = cms.InputTag( 'goodPatJets' )
00061 , minNumber = cms.uint32( 1 )
00062 , maxNumber = cms.uint32( 999999 )
00063 )
00064 step4b = step4a.clone( minNumber = 2 )
00065 step4c = step4a.clone( minNumber = 3 )
00066 step5  = step4a.clone( minNumber = 4 )
00067 
00068 ### Electrons
00069 
00070 step3 = countPatElectrons.clone( maxNumber = 0 )
00071