Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:06

0001 import FWCore.ParameterSet.Config as cms
0002 from CommonTools.ParticleFlow.Isolation.isoDeposits_cfi import isoDeposits as _isoDeposits
0003 
0004 
0005 
0006 def isoDepositReplace( toBeIsolated, isolating):
0007     newDepositProducer = _isoDeposits.clone()
0008     newDepositProducer.src = toBeIsolated
0009     newDepositProducer.ExtractorPSet.inputCandView = isolating
0010     return newDepositProducer
0011 
0012 #def candIsolatorReplace( isoDepositsSource ):
0013 #    newCandIsolator = candIsolatorFromDeposits.clone()
0014 #    newCandIsolator.deposits.src = isoDepositsSource
0015 #    return newCandIsolator