1 import FWCore.ParameterSet.Config
as cms
5 def __init__(self, eta_min, eta_max, pt_min, pt_max):
14 Category(eta_min=1.5, eta_max=2.7, pt_min=0., pt_max=1e6),
16 Category(eta_min=2.7, eta_max=3.0, pt_min=0., pt_max=1e6),
20 bdt_weights_drnn_cone = [
22 'L1Trigger/L1THGCal/data/egamma_id_drnn_cone_loweta_v0.xml',
24 'L1Trigger/L1THGCal/data/egamma_id_drnn_cone_higheta_v0.xml',
27 working_points_drnn_cone = [
46 bdt_weights_drnn_dbscan = [
48 'L1Trigger/L1THGCal/data/egamma_id_drnn_dbscan_loweta_v0.xml',
50 'L1Trigger/L1THGCal/data/egamma_id_drnn_dbscan_higheta_v0.xml',
53 working_points_drnn_dbscan = [
70 tight_wp = [
'975',
'900']
71 loose_wp = [
'995',
'950']
74 egamma_identification_drnn_cone = cms.PSet(
75 Inputs=cms.vstring(
'cl3d_firstlayer',
'cl3d_coreshowerlength',
'cl3d_maxlayer',
'cl3d_srrmean'),
76 CategoriesEtaMin=cms.vdouble([cat.eta_min
for cat
in categories]),
77 CategoriesEtaMax=cms.vdouble([cat.eta_max
for cat
in categories]),
78 CategoriesPtMin=cms.vdouble([cat.pt_min
for cat
in categories]),
79 CategoriesPtMax=cms.vdouble([cat.pt_max
for cat
in categories]),
80 Weights=cms.vstring(bdt_weights_drnn_cone),
81 WorkingPoints=cms.vdouble([wps[eff]
for wps,eff
in zip(working_points_drnn_cone,tight_wp)]),
84 egamma_identification_drnn_dbscan = cms.PSet(
85 Inputs=cms.vstring(
'cl3d_firstlayer',
'cl3d_coreshowerlength',
'cl3d_maxlayer',
'cl3d_srrmean'),
86 CategoriesEtaMin=cms.vdouble([cat.eta_min
for cat
in categories]),
87 CategoriesEtaMax=cms.vdouble([cat.eta_max
for cat
in categories]),
88 CategoriesPtMin=cms.vdouble([cat.pt_min
for cat
in categories]),
89 CategoriesPtMax=cms.vdouble([cat.pt_max
for cat
in categories]),
90 Weights=cms.vstring(bdt_weights_drnn_dbscan),
91 WorkingPoints=cms.vdouble([wps[eff]
for wps,eff
in zip(working_points_drnn_dbscan,tight_wp)]),
OutputIterator zip(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Compare comp)
def __init__(self, eta_min, eta_max, pt_min, pt_max)