CMS 3D CMS Logo

photonPFIsolationValuesPAT_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 phPFIsoValueCharged03PFIdPAT = _m.phPFIsoValueCharged03PFIdPFBRECO.clone()
6 phPFIsoValueCharged03PFIdPAT.deposits[0].src = 'phPFIsoDepositChargedPAT'
7 
8 phPFIsoValueChargedAll03PFIdPAT = _m.phPFIsoValueChargedAll03PFIdPFBRECO.clone()
9 phPFIsoValueChargedAll03PFIdPAT.deposits[0].src = 'phPFIsoDepositChargedAllPAT'
10 
11 phPFIsoValueGamma03PFIdPAT = _m.phPFIsoValueGamma03PFIdPFBRECO.clone()
12 phPFIsoValueGamma03PFIdPAT.deposits[0].src = 'phPFIsoDepositGammaPAT'
13 
14 phPFIsoValueNeutral03PFIdPAT = _m.phPFIsoValueNeutral03PFIdPFBRECO.clone()
15 phPFIsoValueNeutral03PFIdPAT.deposits[0].src = 'phPFIsoDepositNeutralPAT'
16 
17 phPFIsoValuePU03PFIdPAT = _m.phPFIsoValuePU03PFIdPFBRECO.clone()
18 phPFIsoValuePU03PFIdPAT.deposits[0].src = 'phPFIsoDepositPUPAT'
19 
20 phPFIsoValueCharged04PFIdPAT = _m.phPFIsoValueCharged04PFIdPFBRECO.clone()
21 phPFIsoValueCharged04PFIdPAT.deposits[0]. src = 'phPFIsoDepositChargedPAT'
22 
23 phPFIsoValueChargedAll04PFIdPAT = _m.phPFIsoValueChargedAll04PFIdPFBRECO.clone()
24 phPFIsoValueChargedAll04PFIdPAT.deposits[0].src = 'phPFIsoDepositChargedAllPAT'
25 
26 phPFIsoValueGamma04PFIdPAT = _m.phPFIsoValueGamma04PFIdPFBRECO.clone()
27 phPFIsoValueGamma04PFIdPAT.deposits[0].src = 'phPFIsoDepositGammaPAT'
28 
29 phPFIsoValueNeutral04PFIdPAT = _m.phPFIsoValueNeutral04PFIdPFBRECO.clone()
30 phPFIsoValueNeutral04PFIdPAT.deposits[0].src = 'phPFIsoDepositNeutralPAT'
31 
32 phPFIsoValuePU04PFIdPAT = _m.phPFIsoValuePU04PFIdPFBRECO.clone()
33 phPFIsoValuePU04PFIdPAT.deposits[0].src = 'phPFIsoDepositPUPAT'
34 
35 photonPFIsolationValuesPATTask = cms.Task(
36  phPFIsoValueCharged03PFIdPAT,
37  phPFIsoValueChargedAll03PFIdPAT,
38  phPFIsoValueGamma03PFIdPAT,
39  phPFIsoValueNeutral03PFIdPAT,
40  phPFIsoValuePU03PFIdPAT,
41 
42  phPFIsoValueCharged04PFIdPAT,
43  phPFIsoValueChargedAll04PFIdPAT,
44  phPFIsoValueGamma04PFIdPAT,
45  phPFIsoValueNeutral04PFIdPAT,
46  phPFIsoValuePU04PFIdPAT
47  )
48 
49 photonPFIsolationValuesPATSequence = cms.Sequence(photonPFIsolationValuesPATTask)
photonPFIsolationValuesPFBRECO_cff