1 import FWCore.ParameterSet.Config
as cms
5 elPFIsoValueCharged03PFIdPAT = _m.elPFIsoValueCharged03PFIdPFBRECO.clone()
6 elPFIsoValueCharged03PFIdPAT.deposits[0].src =
'elPFIsoDepositChargedPAT' 8 elPFIsoValueChargedAll03PFIdPAT = _m.elPFIsoValueChargedAll03PFIdPFBRECO.clone()
9 elPFIsoValueChargedAll03PFIdPAT.deposits[0].src =
'elPFIsoDepositChargedAllPAT' 11 elPFIsoValueGamma03PFIdPAT = _m.elPFIsoValueGamma03PFIdPFBRECO.clone()
12 elPFIsoValueGamma03PFIdPAT.deposits[0].src =
'elPFIsoDepositGammaPAT' 14 elPFIsoValueNeutral03PFIdPAT = _m.elPFIsoValueNeutral03PFIdPFBRECO.clone()
15 elPFIsoValueNeutral03PFIdPAT.deposits[0].src =
'elPFIsoDepositNeutralPAT' 17 elPFIsoValuePU03PFIdPAT = _m.elPFIsoValuePU03PFIdPFBRECO.clone()
18 elPFIsoValuePU03PFIdPAT.deposits[0].src =
'elPFIsoDepositPUPAT' 20 elPFIsoValueCharged04PFIdPAT = elPFIsoValueCharged03PFIdPAT.clone()
21 elPFIsoValueCharged04PFIdPAT.deposits[0].deltaR = cms.double(0.4)
23 elPFIsoValueChargedAll04PFIdPAT = elPFIsoValueChargedAll03PFIdPAT.clone()
24 elPFIsoValueChargedAll04PFIdPAT.deposits[0].deltaR = cms.double(0.4)
26 elPFIsoValueGamma04PFIdPAT = elPFIsoValueGamma03PFIdPAT.clone()
27 elPFIsoValueGamma04PFIdPAT.deposits[0].deltaR = cms.double(0.4)
29 elPFIsoValueNeutral04PFIdPAT = elPFIsoValueNeutral03PFIdPAT.clone()
30 elPFIsoValueNeutral04PFIdPAT.deposits[0].deltaR = cms.double(0.4)
32 elPFIsoValuePU04PFIdPAT = elPFIsoValuePU03PFIdPAT.clone()
33 elPFIsoValuePU04PFIdPAT.deposits[0].deltaR = cms.double(0.4)
36 elPFIsoValueCharged03NoPFIdPAT = elPFIsoValueCharged03PFIdPAT.clone()
37 elPFIsoValueChargedAll03NoPFIdPAT = elPFIsoValueChargedAll03PFIdPAT.clone()
38 elPFIsoValueGamma03NoPFIdPAT = elPFIsoValueGamma03PFIdPAT.clone()
39 elPFIsoValueNeutral03NoPFIdPAT = elPFIsoValueNeutral03PFIdPAT.clone()
40 elPFIsoValuePU03NoPFIdPAT = elPFIsoValuePU03PFIdPAT.clone()
48 elPFIsoValueCharged04NoPFIdPAT = elPFIsoValueCharged04PFIdPAT.clone()
49 elPFIsoValueChargedAll04NoPFIdPAT = elPFIsoValueChargedAll04PFIdPAT.clone()
50 elPFIsoValueGamma04NoPFIdPAT = elPFIsoValueGamma04PFIdPAT.clone()
51 elPFIsoValueNeutral04NoPFIdPAT = elPFIsoValueNeutral04PFIdPAT.clone()
52 elPFIsoValuePU04NoPFIdPAT = elPFIsoValuePU04PFIdPAT.clone()
58 electronPFIsolationValuesPATTask = cms.Task(
59 elPFIsoValueCharged03PFIdPAT,
60 elPFIsoValueChargedAll03PFIdPAT,
61 elPFIsoValueGamma03PFIdPAT,
62 elPFIsoValueNeutral03PFIdPAT,
63 elPFIsoValuePU03PFIdPAT,
65 elPFIsoValueCharged04PFIdPAT,
66 elPFIsoValueChargedAll04PFIdPAT,
67 elPFIsoValueGamma04PFIdPAT,
68 elPFIsoValueNeutral04PFIdPAT,
69 elPFIsoValuePU04PFIdPAT,
71 elPFIsoValueCharged03NoPFIdPAT,
72 elPFIsoValueChargedAll03NoPFIdPAT,
73 elPFIsoValueGamma03NoPFIdPAT,
74 elPFIsoValueNeutral03NoPFIdPAT,
75 elPFIsoValuePU03NoPFIdPAT,
77 elPFIsoValueCharged04NoPFIdPAT,
78 elPFIsoValueChargedAll04NoPFIdPAT,
79 elPFIsoValueGamma04NoPFIdPAT,
80 elPFIsoValueNeutral04NoPFIdPAT,
81 elPFIsoValuePU04NoPFIdPAT)
83 electronPFIsolationValuesPATSequence = cms.Sequence(electronPFIsolationValuesPATTask)