1 import FWCore.ParameterSet.Config
as cms
6 phPFIsoDepositChargedPFBRECO=
isoDepositReplace(
'pfSelectedPhotonsPFBRECO',
'pfAllChargedHadronsPFBRECO')
7 phPFIsoDepositChargedAllPFBRECO=
isoDepositReplace(
'pfSelectedPhotonsPFBRECO',
'pfAllChargedParticlesPFBRECO')
8 phPFIsoDepositNeutralPFBRECO=
isoDepositReplace(
'pfSelectedPhotonsPFBRECO',
'pfAllNeutralHadronsPFBRECO')
10 phPFIsoDepositPUPFBRECO=
isoDepositReplace(
'pfSelectedPhotonsPFBRECO',
'pfPileUpAllChargedParticlesPFBRECO')
11 phPFIsoDepositGammaPFBRECO= cms.EDProducer(
"CandIsoDepositProducer",
12 src = cms.InputTag(
"pfSelectedPhotonsPFBRECO"),
13 MultipleDepositsFlag = cms.bool(
False),
14 trackType = cms.string(
'candidate'),
15 ExtractorPSet = cms.PSet(
16 Diff_z = cms.double(99999.99),
17 ComponentName = cms.string(
'PFCandWithSuperClusterExtractor'),
18 DR_Max = cms.double(1.0),
19 Diff_r = cms.double(99999.99),
20 inputCandView = cms.InputTag(
"pfAllPhotonsPFBRECO"),
21 DR_Veto = cms.double(0),
22 SCMatch_Veto = cms.bool(
True),
23 MissHitSCMatch_Veto = cms.bool(
False),
24 DepositLabel = cms.untracked.string(
'')
28 phPFIsoDepositChargedPFBRECO.ExtractorPSet.DR_Veto = cms.double(0)
29 phPFIsoDepositChargedAllPFBRECO.ExtractorPSet.DR_Veto = cms.double(0)
30 phPFIsoDepositNeutralPFBRECO.ExtractorPSet.DR_Veto = cms.double(0)
31 phPFIsoDepositPUPFBRECO.ExtractorPSet.DR_Veto = cms.double(0)
33 photonPFIsolationDepositsPFBRECOSequence = cms.Sequence(
34 phPFIsoDepositChargedPFBRECO+
35 phPFIsoDepositChargedAllPFBRECO+
36 phPFIsoDepositGammaPFBRECO+
37 phPFIsoDepositNeutralPFBRECO+
38 phPFIsoDepositPUPFBRECO