1 import FWCore.ParameterSet.Config
as cms
8 egamma_identification_drnn_dbscan, \
9 egamma_identification_histomax
11 from Configuration.Eras.Modifier_phase2_hgcalV9_cff
import phase2_hgcalV9
14 binSums = cms.vuint32(13,
18 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
19 3, 3, 3, 3, 3, 3, 3, 3
28 dr_layerbylayer = ([0] +
29 [0.015]*EE_DR_GROUP + [0.020]*EE_DR_GROUP + [0.030]*EE_DR_GROUP + [0.040]*EE_DR_GROUP +
30 [0.040]*FH_DR_GROUP + [0.050]*FH_DR_GROUP +
34 dr_layerbylayer_Bcoefficient = ([0] +
35 [0.020]*EE_DR_GROUP + [0.020]*EE_DR_GROUP + [0.02]*EE_DR_GROUP + [0.020]*EE_DR_GROUP +
36 [0.020]*FH_DR_GROUP + [0.020]*FH_DR_GROUP +
40 neighbour_weights_1stOrder = cms.vdouble(0, 0.25, 0,
44 neighbour_weights_2ndOrder = cms.vdouble(-0.25, 0.5, -0.25,
49 distance_C3d_params = cms.PSet(type_multicluster=cms.string(
'dRC3d'),
50 dR_multicluster=cms.double(0.01),
51 minPt_multicluster=cms.double(0.5),
52 dist_dbscan_multicluster=cms.double(0.),
53 minN_dbscan_multicluster=cms.uint32(0),
54 EGIdentification=egamma_identification_drnn_cone.clone(),
58 dbscan_C3d_params = cms.PSet(type_multicluster=cms.string(
'DBSCANC3d'),
59 dR_multicluster=cms.double(0.),
60 minPt_multicluster=cms.double(0.5),
61 dist_dbscan_multicluster=cms.double(0.005),
62 minN_dbscan_multicluster=cms.uint32(3),
63 EGIdentification=egamma_identification_drnn_dbscan.clone())
66 histoMax_C3d_params = cms.PSet(type_multicluster=cms.string(
'HistoMaxC3d'),
67 dR_multicluster=cms.double(0.03),
68 dR_multicluster_byLayer_coefficientA=cms.vdouble(),
69 dR_multicluster_byLayer_coefficientB=cms.vdouble(),
70 minPt_multicluster=cms.double(0.5),
71 nBins_R_histo_multicluster=cms.uint32(36),
72 nBins_Phi_histo_multicluster=cms.uint32(216),
74 threshold_histo_multicluster=cms.double(10.),
75 cluster_association=cms.string(
"NearestNeighbour"),
76 EGIdentification=egamma_identification_histomax.clone(),
77 neighbour_weights=neighbour_weights_1stOrder
83 phase2_hgcalV9.toModify(histoMax_C3d_params,
84 threshold_histo_multicluster=7.5,
88 histoMaxVariableDR_C3d_params = histoMax_C3d_params.clone(
89 dR_multicluster = cms.double(0.),
90 dR_multicluster_byLayer_coefficientA = cms.vdouble(dr_layerbylayer),
91 dR_multicluster_byLayer_coefficientB = cms.vdouble([0]*(MAX_LAYERS+1))
95 histoSecondaryMax_C3d_params = histoMax_C3d_params.clone(
96 type_multicluster = cms.string(
'HistoSecondaryMaxC3d')
100 histoInterpolatedMax_C3d_params = histoMax_C3d_params.clone(
101 type_multicluster = cms.string(
'HistoInterpolatedMaxC3d')
105 histoThreshold_C3d_params = histoMax_C3d_params.clone(
106 type_multicluster = cms.string(
'HistoThresholdC3d')
110 be_proc = cms.PSet(ProcessorName = cms.string(
'HGCalBackendLayer2Processor3DClustering'),
111 C3d_parameters = histoMaxVariableDR_C3d_params.clone()
114 hgcalBackEndLayer2Producer = cms.EDProducer(
115 "HGCalBackendLayer2Producer",
116 InputCluster = cms.InputTag(
'hgcalBackEndLayer1Producer:HGCalBackendLayer1Processor2DClustering'),
117 ProcessorParameters = be_proc.clone()