CMS 3D CMS Logo

tools_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from CommonTools.ParticleFlow.Isolation.isoDeposits_cfi import isoDeposits as _isoDeposits
3 
4 
5 
6 def isoDepositReplace( toBeIsolated, isolating):
7  newDepositProducer = _isoDeposits.clone()
8  newDepositProducer.src = toBeIsolated
9  newDepositProducer.ExtractorPSet.inputCandView = isolating
10  return newDepositProducer
11 
12 #def candIsolatorReplace( isoDepositsSource ):
13 # newCandIsolator = candIsolatorFromDeposits.clone()
14 # newCandIsolator.deposits.src = isoDepositsSource
15 # return newCandIsolator
def isoDepositReplace(toBeIsolated, isolating)
Definition: tools_cfi.py:6