CMS 3D CMS Logo

hgcalLayersCalibrationCoefficients_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 AllLayer_weights = cms.vdouble(0.0,
4  0.0158115,
5  0.0286877,
6  0.017707,
7  0.00884719,
8  0.00921472,
9  0.00654193,
10  0.00737344,
11  0.00737619,
12  0.0090818,
13  0.00776757,
14  0.011098,
15  0.00561986,
16  0.012015,
17  0.0105088,
18  0.00834435,
19  0.0113901,
20  0.00995654,
21  0.0120987,
22  0.00708785,
23  0.0101533,
24  0.0108289,
25  0.0143815,
26  0.0145606,
27  0.0133204,
28  0.0137476,
29  0.00911436,
30  0.0275028,
31  0.0338628,
32  0.0674028,
33  0.0546596,
34  0.0634012,
35  0.0613207,
36  0.0653995,
37  0.0450429,
38  0.065412,
39  0.0585679,
40  0.0530456,
41  0.0484401,
42  0.0694564,
43  0.0684182,
44  0.117808,
45  0.126668,
46  0.142361,
47  0.154379,
48  0.102089,
49  0.114404,
50  0.160111,
51  0.178321,
52  0.0964375,
53  0.131446,
54  0.115852,
55  0.326339
56  )
57 
58 TrgLayer_weights = cms.vdouble(0.0,
59  0.0183664,
60  0.,
61  0.0305622,
62  0.,
63  0.0162589,
64  0.,
65  0.0143918,
66  0.,
67  0.0134475,
68  0.,
69  0.0185754,
70  0.,
71  0.0204934,
72  0.,
73  0.016901,
74  0.,
75  0.0207958,
76  0.,
77  0.0167985,
78  0.,
79  0.0238385,
80  0.,
81  0.0301146,
82  0.,
83  0.0274622,
84  0.,
85  0.0468671,
86  0.,
87  0.078819,
88  0.0555831,
89  0.0609312,
90  0.0610768,
91  0.0657626,
92  0.0465653,
93  0.0629383,
94  0.0610061,
95  0.0517326,
96  0.0492882,
97  0.0699336,
98  0.0673457,
99  0.119896,
100  0.125327,
101  0.143235,
102  0.153295,
103  0.104777,
104  0.109345,
105  0.161386,
106  0.174656,
107  0.108053,
108  0.121674,
109  0.1171,
110  0.328053
111  )
112 
114 
115 EE_LAYERS = 28
116 TrgLayer_dEdX_weights = cms.vdouble()
117 for lid, lw in enumerate(dEdX.weights):
118  if lid > (EE_LAYERS+1):
119  TrgLayer_dEdX_weights.append(lw)
120  else:
121  # Only half the layers are read in the EE at L1T
122  if (lid % 2) == 1:
123  TrgLayer_dEdX_weights.append(lw+dEdX.weights[lid-1])
124  else:
125  TrgLayer_dEdX_weights.append(0)