CMS 3D CMS Logo

pfParticleNetPreprocessParams_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 pfParticleNetPreprocessParams = cms.PSet(
4  input_names = cms.vstring(
5  'pf_points',
6  'pf_features',
7  'pf_mask',
8  'sv_points',
9  'sv_features',
10  'sv_mask'
11  ),
12  pf_features = cms.PSet(
13  input_shape = cms.vuint32(1, 25, 100),
14  var_infos = cms.PSet(
15  pfcand_VTX_ass = cms.PSet(
16  median = cms.double(7.0),
17  norm_factor = cms.double(1.0)
18  ),
19  pfcand_abseta = cms.PSet(
20  median = cms.double(0.570207834244),
21  norm_factor = cms.double(1.65039794176)
22  ),
23  pfcand_btagEtaRel = cms.PSet(
24  median = cms.double(1.02164459229),
25  norm_factor = cms.double(0.450494647657)
26  ),
27  pfcand_btagJetDistVal = cms.PSet(
28  median = cms.double(-8.01788191893e-05),
29  norm_factor = cms.double(172.900234853)
30  ),
31  pfcand_btagPParRatio = cms.PSet(
32  median = cms.double(0.777632951736),
33  norm_factor = cms.double(1.28595373661)
34  ),
35  pfcand_btagPtRatio = cms.PSet(
36  median = cms.double(0.00793754169717),
37  norm_factor = cms.double(4.41778965372)
38  ),
39  pfcand_btagSip3dSig = cms.PSet(
40  median = cms.double(0.0),
41  norm_factor = cms.double(0.871534329165)
42  ),
43  pfcand_btagSip3dVal = cms.PSet(
44  median = cms.double(0.0),
45  norm_factor = cms.double(252.165554148)
46  ),
47  pfcand_charge = cms.PSet(
48  median = cms.double(0.0),
49  norm_factor = cms.double(1.0)
50  ),
51  pfcand_dxy = cms.PSet(
52  median = cms.double(0.0),
53  norm_factor = cms.double(473.799859238)
54  ),
55  pfcand_dxysig = cms.PSet(
56  median = cms.double(0.0),
57  norm_factor = cms.double(1.66318902024)
58  ),
59  pfcand_dz = cms.PSet(
60  median = cms.double(0.0),
61  norm_factor = cms.double(297.458232668)
62  ),
63  pfcand_dzsig = cms.PSet(
64  median = cms.double(0.0),
65  norm_factor = cms.double(1.38690098449)
66  ),
67  pfcand_e_log_nopuppi = cms.PSet(
68  median = cms.double(1.42155307531),
69  norm_factor = cms.double(0.519927136489)
70  ),
71  pfcand_etarel = cms.PSet(
72  median = cms.double(-0.00481873401441),
73  norm_factor = cms.double(4.44798275517)
74  ),
75  pfcand_isChargedHad = cms.PSet(
76  median = cms.double(1.0),
77  norm_factor = cms.double(1.0)
78  ),
79  pfcand_isEl = cms.PSet(
80  median = cms.double(0.0),
81  norm_factor = cms.double(1.0)
82  ),
83  pfcand_isGamma = cms.PSet(
84  median = cms.double(0.0),
85  norm_factor = cms.double(1.0)
86  ),
87  pfcand_isMu = cms.PSet(
88  median = cms.double(0.0),
89  norm_factor = cms.double(1.0)
90  ),
91  pfcand_isNeutralHad = cms.PSet(
92  median = cms.double(0.0),
93  norm_factor = cms.double(1.0)
94  ),
95  pfcand_lostInnerHits = cms.PSet(
96  median = cms.double(-1.0),
97  norm_factor = cms.double(1.0)
98  ),
99  pfcand_normchi2 = cms.PSet(
100  median = cms.double(3.0),
101  norm_factor = cms.double(0.00100401606426)
102  ),
103  pfcand_phirel = cms.PSet(
104  median = cms.double(-0.000108399453893),
105  norm_factor = cms.double(4.39792304438)
106  ),
107  pfcand_pt_log_nopuppi = cms.PSet(
108  median = cms.double(1.12241530418),
109  norm_factor = cms.double(0.514354843556)
110  ),
111  pfcand_quality = cms.PSet(
112  median = cms.double(5.0),
113  norm_factor = cms.double(0.2)
114  )
115  ),
116  var_length = cms.uint32(100),
117  var_names = cms.vstring(
118  'pfcand_pt_log_nopuppi',
119  'pfcand_e_log_nopuppi',
120  'pfcand_etarel',
121  'pfcand_phirel',
122  'pfcand_abseta',
123  'pfcand_charge',
124  'pfcand_isMu',
125  'pfcand_isEl',
126  'pfcand_isChargedHad',
127  'pfcand_isGamma',
128  'pfcand_isNeutralHad',
129  'pfcand_VTX_ass',
130  'pfcand_lostInnerHits',
131  'pfcand_normchi2',
132  'pfcand_quality',
133  'pfcand_dz',
134  'pfcand_dzsig',
135  'pfcand_dxy',
136  'pfcand_dxysig',
137  'pfcand_btagEtaRel',
138  'pfcand_btagPtRatio',
139  'pfcand_btagPParRatio',
140  'pfcand_btagSip3dVal',
141  'pfcand_btagSip3dSig',
142  'pfcand_btagJetDistVal'
143  )
144  ),
145  pf_mask = cms.PSet(
146  input_shape = cms.vuint32(1, 1, 100),
147  var_infos = cms.PSet(
148  pfcand_mask = cms.PSet(
149  median = cms.double(0.0),
150  norm_factor = cms.double(1.0)
151  )
152  ),
153  var_length = cms.uint32(100),
154  var_names = cms.vstring('pfcand_mask')
155  ),
156  pf_points = cms.PSet(
157  input_shape = cms.vuint32(1, 2, 100),
158  var_infos = cms.PSet(
159  pfcand_etarel = cms.PSet(
160  median = cms.double(-0.00481873401441),
161  norm_factor = cms.double(4.44798275517)
162  ),
163  pfcand_phirel = cms.PSet(
164  median = cms.double(-0.000108399453893),
165  norm_factor = cms.double(4.39792304438)
166  )
167  ),
168  var_length = cms.uint32(100),
169  var_names = cms.vstring(
170  'pfcand_etarel',
171  'pfcand_phirel'
172  )
173  ),
174  sv_features = cms.PSet(
175  input_shape = cms.vuint32(1, 12, 7),
176  var_infos = cms.PSet(
177  sv_abseta = cms.PSet(
178  median = cms.double(0.549196600914),
179  norm_factor = cms.double(1.59394768801)
180  ),
181  sv_costhetasvpv = cms.PSet(
182  median = cms.double(0.999762713909),
183  norm_factor = cms.double(183.233393766)
184  ),
185  sv_d3d = cms.PSet(
186  median = cms.double(0.551342129707),
187  norm_factor = cms.double(0.223128153806)
188  ),
189  sv_d3dsig = cms.PSet(
190  median = cms.double(8.35655975342),
191  norm_factor = cms.double(0.0238999954695)
192  ),
193  sv_dxy = cms.PSet(
194  median = cms.double(0.421502441168),
195  norm_factor = cms.double(0.312218277088)
196  ),
197  sv_dxysig = cms.PSet(
198  median = cms.double(8.34426879883),
199  norm_factor = cms.double(0.0239017055779)
200  ),
201  sv_etarel = cms.PSet(
202  median = cms.double(-0.00247404468246),
203  norm_factor = cms.double(8.44460188362)
204  ),
205  sv_mass = cms.PSet(
206  median = cms.double(1.3346953392),
207  norm_factor = cms.double(0.309230848837)
208  ),
209  sv_normchi2 = cms.PSet(
210  median = cms.double(0.806915462017),
211  norm_factor = cms.double(0.724496098658)
212  ),
213  sv_ntracks = cms.PSet(
214  median = cms.double(3.0),
215  norm_factor = cms.double(0.5)
216  ),
217  sv_phirel = cms.PSet(
218  median = cms.double(0.000502154347487),
219  norm_factor = cms.double(8.73243388771)
220  ),
221  sv_pt_log = cms.PSet(
222  median = cms.double(3.78325366974),
223  norm_factor = cms.double(0.692538144148)
224  )
225  ),
226  var_length = cms.uint32(7),
227  var_names = cms.vstring(
228  'sv_pt_log',
229  'sv_mass',
230  'sv_phirel',
231  'sv_etarel',
232  'sv_abseta',
233  'sv_ntracks',
234  'sv_normchi2',
235  'sv_dxy',
236  'sv_dxysig',
237  'sv_d3d',
238  'sv_d3dsig',
239  'sv_costhetasvpv'
240  )
241  ),
242  sv_mask = cms.PSet(
243  input_shape = cms.vuint32(1, 1, 7),
244  var_infos = cms.PSet(
245  sv_mask = cms.PSet(
246  median = cms.double(0.0),
247  norm_factor = cms.double(1.0)
248  )
249  ),
250  var_length = cms.uint32(7),
251  var_names = cms.vstring('sv_mask')
252  ),
253  sv_points = cms.PSet(
254  input_shape = cms.vuint32(1, 2, 7),
255  var_infos = cms.PSet(
256  sv_etarel = cms.PSet(
257  median = cms.double(-0.00247404468246),
258  norm_factor = cms.double(8.44460188362)
259  ),
260  sv_phirel = cms.PSet(
261  median = cms.double(0.000502154347487),
262  norm_factor = cms.double(8.73243388771)
263  )
264  ),
265  var_length = cms.uint32(7),
266  var_names = cms.vstring(
267  'sv_phirel',
268  'sv_etarel'
269  )
270  )
271 )
272 
273 pfMassDecorrelatedParticleNetPreprocessParams = pfParticleNetPreprocessParams.clone(
274  pf_features = pfParticleNetPreprocessParams.pf_features.clone(
275  input_shape = [1, 20, 100],
276  var_names = [
277  'pfcand_pt_log_nopuppi',
278  'pfcand_e_log_nopuppi',
279  'pfcand_etarel',
280  'pfcand_phirel',
281  'pfcand_abseta',
282  'pfcand_charge',
283  'pfcand_VTX_ass',
284  'pfcand_lostInnerHits',
285  'pfcand_normchi2',
286  'pfcand_quality',
287  'pfcand_dz',
288  'pfcand_dzsig',
289  'pfcand_dxy',
290  'pfcand_dxysig',
291  'pfcand_btagEtaRel',
292  'pfcand_btagPtRatio',
293  'pfcand_btagPParRatio',
294  'pfcand_btagSip3dVal',
295  'pfcand_btagSip3dSig',
296  'pfcand_btagJetDistVal'
297  ]
298  )
299 )