1 import FWCore.ParameterSet.Config
as cms
5 phPFIsoValueCharged03PFIdPAT = _m.phPFIsoValueCharged03PFIdPFBRECO.clone()
6 phPFIsoValueCharged03PFIdPAT.deposits[0].src =
'phPFIsoDepositChargedPAT'
8 phPFIsoValueChargedAll03PFIdPAT = _m.phPFIsoValueChargedAll03PFIdPFBRECO.clone()
9 phPFIsoValueChargedAll03PFIdPAT.deposits[0].src =
'phPFIsoDepositChargedAllPAT'
11 phPFIsoValueGamma03PFIdPAT = _m.phPFIsoValueGamma03PFIdPFBRECO.clone()
12 phPFIsoValueGamma03PFIdPAT.deposits[0].src =
'phPFIsoDepositGammaPAT'
14 phPFIsoValueNeutral03PFIdPAT = _m.phPFIsoValueNeutral03PFIdPFBRECO.clone()
15 phPFIsoValueNeutral03PFIdPAT.deposits[0].src =
'phPFIsoDepositNeutralPAT'
17 phPFIsoValuePU03PFIdPAT = _m.phPFIsoValuePU03PFIdPFBRECO.clone()
18 phPFIsoValuePU03PFIdPAT.deposits[0].src =
'phPFIsoDepositPUPAT'
20 phPFIsoValueCharged04PFIdPAT = _m.phPFIsoValueCharged04PFIdPFBRECO.clone()
21 phPFIsoValueCharged04PFIdPAT.deposits[0]. src =
'phPFIsoDepositChargedPAT'
23 phPFIsoValueChargedAll04PFIdPAT = _m.phPFIsoValueChargedAll04PFIdPFBRECO.clone()
24 phPFIsoValueChargedAll04PFIdPAT.deposits[0].src =
'phPFIsoDepositChargedAllPAT'
26 phPFIsoValueGamma04PFIdPAT = _m.phPFIsoValueGamma04PFIdPFBRECO.clone()
27 phPFIsoValueGamma04PFIdPAT.deposits[0].src =
'phPFIsoDepositGammaPAT'
29 phPFIsoValueNeutral04PFIdPAT = _m.phPFIsoValueNeutral04PFIdPFBRECO.clone()
30 phPFIsoValueNeutral04PFIdPAT.deposits[0].src =
'phPFIsoDepositNeutralPAT'
32 phPFIsoValuePU04PFIdPAT = _m.phPFIsoValuePU04PFIdPFBRECO.clone()
33 phPFIsoValuePU04PFIdPAT.deposits[0].src =
'phPFIsoDepositPUPAT'
35 photonPFIsolationValuesPATTask = cms.Task(
36 phPFIsoValueCharged03PFIdPAT,
37 phPFIsoValueChargedAll03PFIdPAT,
38 phPFIsoValueGamma03PFIdPAT,
39 phPFIsoValueNeutral03PFIdPAT,
40 phPFIsoValuePU03PFIdPAT,
42 phPFIsoValueCharged04PFIdPAT,
43 phPFIsoValueChargedAll04PFIdPAT,
44 phPFIsoValueGamma04PFIdPAT,
45 phPFIsoValueNeutral04PFIdPAT,
46 phPFIsoValuePU04PFIdPAT
49 photonPFIsolationValuesPATSequence = cms.Sequence(photonPFIsolationValuesPATTask)