CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
electronPFIsolationValues_cff.py
Go to the documentation of this file.
2 
3 
4 
5 elPFIsoValueCharged03PFId = cms.EDProducer("CandIsolatorFromDeposits",
6  deposits = cms.VPSet(
7  cms.PSet(
8  src = cms.InputTag("elPFIsoDepositCharged"),
9  deltaR = cms.double(0.3),
10  weight = cms.string('1'),
11  vetos = cms.vstring('EcalEndcaps:ConeVeto(0.015)'),
12  skipDefaultVeto = cms.bool(True),
13  mode = cms.string('sum')
14  )
15  )
16 )
17 
18 elPFIsoValueChargedAll03PFId = cms.EDProducer("CandIsolatorFromDeposits",
19  deposits = cms.VPSet(
20  cms.PSet(
21  src = cms.InputTag("elPFIsoDepositChargedAll"),
22  deltaR = cms.double(0.3),
23  weight = cms.string('1'),
24  vetos = cms.vstring('EcalEndcaps:ConeVeto(0.015)'),
25  skipDefaultVeto = cms.bool(True),
26  mode = cms.string('sum')
27  )
28  )
29 )
30 
31 elPFIsoValueGamma03PFId = cms.EDProducer("CandIsolatorFromDeposits",
32  deposits = cms.VPSet(
33  cms.PSet(
34  src = cms.InputTag("elPFIsoDepositGamma"),
35  deltaR = cms.double(0.3),
36  weight = cms.string('1'),
37  vetos = cms.vstring('EcalEndcaps:ConeVeto(0.08)'),
38  skipDefaultVeto = cms.bool(True),
39  mode = cms.string('sum')
40  )
41  )
42 )
43 
44 elPFIsoValueNeutral03PFId = cms.EDProducer("CandIsolatorFromDeposits",
45  deposits = cms.VPSet(
46  cms.PSet(
47  src = cms.InputTag("elPFIsoDepositNeutral"),
48  deltaR = cms.double(0.3),
49  weight = cms.string('1'),
50  vetos = cms.vstring(),
51  skipDefaultVeto = cms.bool(True),
52  mode = cms.string('sum')
53  )
54  )
55 )
56 
57 elPFIsoValuePU03PFId = cms.EDProducer("CandIsolatorFromDeposits",
58  deposits = cms.VPSet(
59  cms.PSet(
60  src = cms.InputTag("elPFIsoDepositPU"),
61  deltaR = cms.double(0.3),
62  weight = cms.string('1'),
63  vetos = cms.vstring('EcalEndcaps:ConeVeto(0.015)'),
64  skipDefaultVeto = cms.bool(True),
65  mode = cms.string('sum')
66  )
67  )
68 )
69 
70 
71 
72 elPFIsoValueCharged04PFId = elPFIsoValueCharged03PFId.clone()
73 elPFIsoValueCharged04PFId.deposits[0].deltaR = cms.double(0.4)
74 
75 
76 elPFIsoValueChargedAll04PFId = elPFIsoValueChargedAll03PFId.clone()
77 elPFIsoValueChargedAll04PFId.deposits[0].deltaR = cms.double(0.4)
78 
79 elPFIsoValueGamma04PFId = elPFIsoValueGamma03PFId.clone()
80 elPFIsoValueGamma04PFId.deposits[0].deltaR = cms.double(0.4)
81 
82 
83 elPFIsoValueNeutral04PFId = elPFIsoValueNeutral03PFId.clone()
84 elPFIsoValueNeutral04PFId.deposits[0].deltaR = cms.double(0.4)
85 
86 elPFIsoValuePU04PFId = elPFIsoValuePU03PFId.clone()
87 elPFIsoValuePU04PFId.deposits[0].deltaR = cms.double(0.4)
88 
89 ##########Now the PFNoId
90 elPFIsoValueCharged03NoPFId = elPFIsoValueCharged03PFId.clone()
91 elPFIsoValueChargedAll03NoPFId = elPFIsoValueChargedAll03PFId.clone()
92 elPFIsoValueGamma03NoPFId = elPFIsoValueGamma03PFId.clone()
93 elPFIsoValueNeutral03NoPFId = elPFIsoValueNeutral03PFId.clone()
94 elPFIsoValuePU03NoPFId = elPFIsoValuePU03PFId.clone()
95 # Customization - No longer needed with new recommendation
96 #elPFIsoValueCharged03NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
97 #elPFIsoValueChargedAll03NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
98 #elPFIsoValuePU03NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
99 #elPFIsoValueGamma03NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:RectangularEtaPhiVeto(-0.02,0.02,-0.5,0.5)','EcalEndcaps:ConeVeto(0.08)')
100 
101 
102 elPFIsoValueCharged04NoPFId = elPFIsoValueCharged04PFId.clone()
103 elPFIsoValueChargedAll04NoPFId = elPFIsoValueChargedAll04PFId.clone()
104 elPFIsoValueGamma04NoPFId = elPFIsoValueGamma04PFId.clone()
105 elPFIsoValueNeutral04NoPFId = elPFIsoValueNeutral04PFId.clone()
106 elPFIsoValuePU04NoPFId = elPFIsoValuePU04PFId.clone()
107 #elPFIsoValueCharged04NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
108 #elPFIsoValueChargedAll04NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
109 #elPFIsoValuePU04NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
110 #elPFIsoValueGamma04NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:RectangularEtaPhiVeto(-0.02,0.02,-0.5,0.5)','EcalEndcaps:ConeVeto(0.08)')
111 
112 electronPFIsolationValuesSequence = (
113  elPFIsoValueCharged03PFId+
114  elPFIsoValueChargedAll03PFId+
115  elPFIsoValueGamma03PFId+
116  elPFIsoValueNeutral03PFId+
117  elPFIsoValuePU03PFId+
118  ##############################
119  elPFIsoValueCharged04PFId+
120  elPFIsoValueChargedAll04PFId+
121  elPFIsoValueGamma04PFId+
122  elPFIsoValueNeutral04PFId+
123  elPFIsoValuePU04PFId+
124  ##############################
125  elPFIsoValueCharged03NoPFId+
126  elPFIsoValueChargedAll03NoPFId+
127  elPFIsoValueGamma03NoPFId+
128  elPFIsoValueNeutral03NoPFId+
129  elPFIsoValuePU03NoPFId+
130  ##############################
131  elPFIsoValueCharged04NoPFId+
132  elPFIsoValueChargedAll04NoPFId+
133  elPFIsoValueGamma04NoPFId+
134  elPFIsoValueNeutral04NoPFId+
135  elPFIsoValuePU04NoPFId)