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 = [
71 bdt_weights_histomax = [
73 'L1Trigger/L1THGCal/data/egamma_id_histomax_352_loweta_v0.xml',
75 'L1Trigger/L1THGCal/data/egamma_id_histomax_352_higheta_v0.xml',
78 working_points_histomax = [
95 tight_wp = [
'975',
'900']
96 loose_wp = [
'995',
'950']
99 egamma_identification_drnn_cone = cms.PSet(
100 Inputs=cms.vstring(
'cl3d_firstlayer',
'cl3d_coreshowerlength',
'cl3d_maxlayer',
'cl3d_srrmean'),
101 CategoriesEtaMin=cms.vdouble([cat.eta_min
for cat
in categories]),
102 CategoriesEtaMax=cms.vdouble([cat.eta_max
for cat
in categories]),
103 CategoriesPtMin=cms.vdouble([cat.pt_min
for cat
in categories]),
104 CategoriesPtMax=cms.vdouble([cat.pt_max
for cat
in categories]),
105 Weights=cms.vstring(bdt_weights_drnn_cone),
106 WorkingPoints=cms.vdouble([wps[eff]
for wps,eff
in zip(working_points_drnn_cone,tight_wp)]),
109 egamma_identification_drnn_dbscan = cms.PSet(
110 Inputs=cms.vstring(
'cl3d_firstlayer',
'cl3d_coreshowerlength',
'cl3d_maxlayer',
'cl3d_srrmean'),
111 CategoriesEtaMin=cms.vdouble([cat.eta_min
for cat
in categories]),
112 CategoriesEtaMax=cms.vdouble([cat.eta_max
for cat
in categories]),
113 CategoriesPtMin=cms.vdouble([cat.pt_min
for cat
in categories]),
114 CategoriesPtMax=cms.vdouble([cat.pt_max
for cat
in categories]),
115 Weights=cms.vstring(bdt_weights_drnn_dbscan),
116 WorkingPoints=cms.vdouble([wps[eff]
for wps,eff
in zip(working_points_drnn_dbscan,tight_wp)]),
119 egamma_identification_histomax = cms.PSet(
120 Inputs=cms.vstring(
'cl3d_firstlayer',
'cl3d_coreshowerlength',
'cl3d_maxlayer',
'cl3d_srrmean'),
121 CategoriesEtaMin=cms.vdouble([cat.eta_min
for cat
in categories]),
122 CategoriesEtaMax=cms.vdouble([cat.eta_max
for cat
in categories]),
123 CategoriesPtMin=cms.vdouble([cat.pt_min
for cat
in categories]),
124 CategoriesPtMax=cms.vdouble([cat.pt_max
for cat
in categories]),
125 Weights=cms.vstring(bdt_weights_histomax),
126 WorkingPoints=cms.vdouble([wps[eff]
for wps,eff
in zip(working_points_histomax,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)