Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 from CommonTools.ParticleFlow.Isolation.tools_cfi import *
00004
00005
00006 elPFIsoDepositCharged=isoDepositReplace('pfSelectedElectrons','pfAllChargedHadrons')
00007 elPFIsoDepositChargedAll=isoDepositReplace('pfSelectedElectrons','pfAllChargedParticles')
00008 elPFIsoDepositNeutral=isoDepositReplace('pfSelectedElectrons','pfAllNeutralHadrons')
00009 elPFIsoDepositPU=isoDepositReplace('pfSelectedElectrons','pfPileUpAllChargedParticles')
00010
00011 elPFIsoDepositGamma= cms.EDProducer("CandIsoDepositProducer",
00012 src = cms.InputTag("pfSelectedElectrons"),
00013 MultipleDepositsFlag = cms.bool(False),
00014 trackType = cms.string('candidate'),
00015 ExtractorPSet = cms.PSet(
00016 Diff_z = cms.double(99999.99),
00017 ComponentName = cms.string('PFCandWithSuperClusterExtractor'),
00018 DR_Max = cms.double(1.0),
00019 Diff_r = cms.double(99999.99),
00020 inputCandView = cms.InputTag("pfAllPhotons"),
00021 DR_Veto = cms.double(0),
00022 SCMatch_Veto = cms.bool(False),
00023 MissHitSCMatch_Veto = cms.bool(True),
00024 DepositLabel = cms.untracked.string('')
00025 )
00026 )
00027 elPFIsoDepositCharged.ExtractorPSet.DR_Veto = cms.double(0)
00028 elPFIsoDepositChargedAll.ExtractorPSet.DR_Veto = cms.double(0)
00029 elPFIsoDepositNeutral.ExtractorPSet.DR_Veto = cms.double(0)
00030 elPFIsoDepositPU.ExtractorPSet.DR_Veto = cms.double(0)
00031
00032
00033 electronPFIsolationDepositsSequence = cms.Sequence(
00034 elPFIsoDepositCharged+
00035 elPFIsoDepositChargedAll+
00036 elPFIsoDepositGamma+
00037 elPFIsoDepositNeutral+
00038 elPFIsoDepositPU
00039 )