File indexing completed on 2024-04-06 12:23:55
0001 import FWCore.ParameterSet.Config as cms
0002
0003 import CommonTools.ParticleFlow.Isolation.photonPFIsolationValuesPFBRECO_cff as _m
0004
0005 phPFIsoValueCharged03PFIdPAT = _m.phPFIsoValueCharged03PFIdPFBRECO.clone()
0006 phPFIsoValueCharged03PFIdPAT.deposits[0].src = 'phPFIsoDepositChargedPAT'
0007
0008 phPFIsoValueChargedAll03PFIdPAT = _m.phPFIsoValueChargedAll03PFIdPFBRECO.clone()
0009 phPFIsoValueChargedAll03PFIdPAT.deposits[0].src = 'phPFIsoDepositChargedAllPAT'
0010
0011 phPFIsoValueGamma03PFIdPAT = _m.phPFIsoValueGamma03PFIdPFBRECO.clone()
0012 phPFIsoValueGamma03PFIdPAT.deposits[0].src = 'phPFIsoDepositGammaPAT'
0013
0014 phPFIsoValueNeutral03PFIdPAT = _m.phPFIsoValueNeutral03PFIdPFBRECO.clone()
0015 phPFIsoValueNeutral03PFIdPAT.deposits[0].src = 'phPFIsoDepositNeutralPAT'
0016
0017 phPFIsoValuePU03PFIdPAT = _m.phPFIsoValuePU03PFIdPFBRECO.clone()
0018 phPFIsoValuePU03PFIdPAT.deposits[0].src = 'phPFIsoDepositPUPAT'
0019
0020 phPFIsoValueCharged04PFIdPAT = _m.phPFIsoValueCharged04PFIdPFBRECO.clone()
0021 phPFIsoValueCharged04PFIdPAT.deposits[0]. src = 'phPFIsoDepositChargedPAT'
0022
0023 phPFIsoValueChargedAll04PFIdPAT = _m.phPFIsoValueChargedAll04PFIdPFBRECO.clone()
0024 phPFIsoValueChargedAll04PFIdPAT.deposits[0].src = 'phPFIsoDepositChargedAllPAT'
0025
0026 phPFIsoValueGamma04PFIdPAT = _m.phPFIsoValueGamma04PFIdPFBRECO.clone()
0027 phPFIsoValueGamma04PFIdPAT.deposits[0].src = 'phPFIsoDepositGammaPAT'
0028
0029 phPFIsoValueNeutral04PFIdPAT = _m.phPFIsoValueNeutral04PFIdPFBRECO.clone()
0030 phPFIsoValueNeutral04PFIdPAT.deposits[0].src = 'phPFIsoDepositNeutralPAT'
0031
0032 phPFIsoValuePU04PFIdPAT = _m.phPFIsoValuePU04PFIdPFBRECO.clone()
0033 phPFIsoValuePU04PFIdPAT.deposits[0].src = 'phPFIsoDepositPUPAT'
0034
0035 photonPFIsolationValuesPATTask = cms.Task(
0036 phPFIsoValueCharged03PFIdPAT,
0037 phPFIsoValueChargedAll03PFIdPAT,
0038 phPFIsoValueGamma03PFIdPAT,
0039 phPFIsoValueNeutral03PFIdPAT,
0040 phPFIsoValuePU03PFIdPAT,
0041
0042 phPFIsoValueCharged04PFIdPAT,
0043 phPFIsoValueChargedAll04PFIdPAT,
0044 phPFIsoValueGamma04PFIdPAT,
0045 phPFIsoValueNeutral04PFIdPAT,
0046 phPFIsoValuePU04PFIdPAT
0047 )
0048
0049 photonPFIsolationValuesPATSequence = cms.Sequence(photonPFIsolationValuesPATTask)