Skip to content

Commit 2b5b014

Browse files
committed
introduce new dEdX weights for HGCAL geometry V19
1 parent 53c34a6 commit 2b5b014

File tree

1 file changed

+66
-1
lines changed

1 file changed

+66
-1
lines changed

RecoLocalCalo/HGCalRecProducers/python/HGCalRecHit_cfi.py

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,55 @@ def calcWeights(weightsPerLayer): res = [sum(wei)/2. for wei in zip(weightsPerLa
5959
83.61,
6060
83.61)
6161

62+
weightsPerLayer_V19 = cms.vdouble(dummy_weight,
63+
4.25, # MeV
64+
12.86,
65+
6.98,
66+
12.86,
67+
6.98,
68+
12.86,
69+
6.98,
70+
12.86,
71+
6.98,
72+
12.86,
73+
6.98,
74+
12.86,
75+
6.98,
76+
12.86,
77+
6.98,
78+
12.86,
79+
6.98,
80+
12.86,
81+
11.18,
82+
12.86,
83+
11.18,
84+
12.86,
85+
11.18,
86+
12.86,
87+
11.18,
88+
12.86,
89+
55.47,
90+
60.07,
91+
60.07,
92+
60.07,
93+
60.07,
94+
60.07,
95+
60.07,
96+
60.07,
97+
60.07,
98+
60.07,
99+
60.07,
100+
82.45,
101+
82.45,
102+
82.45,
103+
82.45,
104+
82.45,
105+
82.45,
106+
82.45,
107+
82.45,
108+
82.45,
109+
82.45)
110+
62111

63112
dEdX = cms.PSet(
64113
# for v10 geometry
@@ -141,6 +190,22 @@ def calcWeights(weightsPerLayer): res = [sum(wei)/2. for wei in zip(weightsPerLa
141190
92.283895)
142191
)
143192

193+
# for v19 geometry
194+
dEdX_v19 = cms.PSet(
195+
weights = cms.vdouble(calcWeights(weightsPerLayer_V19)),
196+
197+
weightsNose = cms.vdouble(0.0, # there is no layer zero
198+
39.500245, # MeV
199+
39.756638,
200+
39.756638,
201+
39.756638,
202+
39.756638,
203+
66.020266,
204+
92.283895,
205+
92.283895)
206+
)
207+
208+
144209
# HGCAL rechit producer
145210
HGCalRecHit = cms.EDProducer(
146211
"HGCalRecHitProducer",
@@ -216,4 +281,4 @@ def calcWeights(weightsPerLayer): res = [sum(wei)/2. for wei in zip(weightsPerLa
216281
phase2_hgcalV19.toModify(HGCalRecHit,
217282
thicknessCorrection = [0.75, 0.76, 0.75, 0.76, 0.85, 0.85, 0.84, 0.85] ,
218283
sciThicknessCorrection = 0.69,
219-
layerWeights = dEdX_v16.weights)
284+
layerWeights = dEdX_v19.weights)

0 commit comments

Comments
 (0)