CMS 3D CMS Logo

muonPFIsolationDeposits_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 
6 #Now prepare the iso deposits
7 muPFIsoDepositCharged=isoDepositReplace('muons1stStep','pfAllChargedHadrons')
8 muPFIsoDepositChargedAll=isoDepositReplace('muons1stStep','pfAllChargedParticles')
9 muPFIsoDepositNeutral=isoDepositReplace('muons1stStep','pfAllNeutralHadrons')
10 muPFIsoDepositGamma=isoDepositReplace('muons1stStep','pfAllPhotons')
11 muPFIsoDepositPU=isoDepositReplace('muons1stStep','pfPileUpAllChargedParticles')
12 
13 muonPFIsolationDepositsTask = cms.Task(
14  muPFIsoDepositCharged,
15  muPFIsoDepositChargedAll,
16  muPFIsoDepositGamma,
17  muPFIsoDepositNeutral,
18  muPFIsoDepositPU
19  )
20 muonPFIsolationDepositsSequence = cms.Sequence(muonPFIsolationDepositsTask)
def isoDepositReplace(toBeIsolated, isolating)
Definition: tools_cfi.py:6