CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CommonTools/ParticleFlow/python/Isolation/tools_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 from CommonTools.ParticleFlow.Isolation.isoDeposits_cfi import *
00003 
00004 
00005 
00006 def isoDepositReplace( toBeIsolated, isolating):
00007     newDepositProducer = isoDeposits.clone()
00008     newDepositProducer.src = toBeIsolated
00009     newDepositProducer.ExtractorPSet.inputCandView = isolating
00010     return newDepositProducer
00011 
00012 #def candIsolatorReplace( isoDepositsSource ):
00013 #    newCandIsolator = candIsolatorFromDeposits.clone()
00014 #    newCandIsolator.deposits.src = isoDepositsSource
00015 #    return newCandIsolator