1 import FWCore.ParameterSet.Config
as cms
4 topological_C2d_params, \
5 constrTopological_C2d_params
8 histoMax_C3d_clustering_params, \
9 histoMaxVariableDR_C3d_params, \
10 histoMaxXYVariableDR_C3d_params, \
11 histoSecondaryMax_C3d_params, \
12 histoInterpolatedMax_C3d_params, \
13 histoThreshold_C3d_params, \
15 dr_layerbylayer_Bcoefficient, \
16 neighbour_weights_1stOrder, \
17 neighbour_weights_2ndOrder, \
22 pset.seeding_threshold_silicon = seed_threshold
23 pset.seeding_threshold_scintillator = seed_threshold
24 pset.clustering_threshold_silicon = cluster_threshold
25 pset.clustering_threshold_scintillator = cluster_threshold
29 distance=distance_C2d_params.dR_cluster,
30 seed_threshold=distance_C2d_params.seeding_threshold_silicon,
31 cluster_threshold=distance_C2d_params.clustering_threshold_silicon
33 parameters_c2d = distance_C2d_params.clone(dR_cluster = distance)
35 process.hgcalBackEndLayer1Producer.ProcessorParameters.C2d_parameters = parameters_c2d
40 seed_threshold=topological_C2d_params.seeding_threshold_silicon,
41 cluster_threshold=topological_C2d_params.clustering_threshold_silicon
43 parameters_c2d = topological_C2d_params.clone()
45 process.hgcalBackEndLayer1Producer.ProcessorParameters.C2d_parameters = parameters_c2d
50 distance=constrTopological_C2d_params.dR_cluster,
51 seed_threshold=constrTopological_C2d_params.seeding_threshold_silicon,
52 cluster_threshold=constrTopological_C2d_params.clustering_threshold_silicon
54 parameters_c2d = constrTopological_C2d_params.clone(dR_cluster = distance)
56 process.hgcalBackEndLayer1Producer.ProcessorParameters.C2d_parameters = parameters_c2d
61 process.hgcalBackEndLayer1Producer.ProcessorParameters.C2d_parameters = dummy_C2d_params.clone()
66 distance=distance_C3d_params.dR_multicluster
68 parameters_c3d = distance_C3d_params.clone(dR_multicluster = distance)
69 process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters = parameters_c3d
74 distance=dbscan_C3d_params.dist_dbscan_multicluster,
75 min_points=dbscan_C3d_params.minN_dbscan_multicluster
77 parameters_c3d = dbscan_C3d_params.clone(
78 dist_dbscan_multicluster = distance,
79 minN_dbscan_multicluster = min_points
81 process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters = parameters_c3d
90 parameters_c3d.dR_multicluster = distance
91 parameters_c3d.shape_threshold = shape_threshold
92 parameters_c3d.shape_distance = shape_distance
96 distance=histoMax_C3d_clustering_params.dR_multicluster,
97 shape_threshold=histoMax_C3d_clustering_params.shape_threshold,
98 shape_distance=histoMax_C3d_clustering_params.shape_distance
100 parameters_c3d = histoMax_C3d_clustering_params.clone()
102 process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters = parameters_c3d
107 shape_threshold=histoMaxVariableDR_C3d_params.shape_threshold,
108 shape_distance=histoMaxVariableDR_C3d_params.shape_distance
110 parameters_c3d = histoMaxVariableDR_C3d_params.clone(
111 dR_multicluster_byLayer_coefficientA = cms.vdouble(distances)
114 process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters = parameters_c3d
119 distance_coefficientA=dr_layerbylayer,
120 distance_coefficientB=dr_layerbylayer_Bcoefficient):
121 parameters_c3d = process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters
122 parameters_c3d.dR_multicluster_byLayer_coefficientA = distance_coefficientA
123 parameters_c3d.dR_multicluster_byLayer_coefficientB = distance_coefficientB
128 distance_coefficientA=dr_layerbylayer):
129 parameters_c3d = process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters
130 parameters_c3d.dR_multicluster_byLayer_coefficientA = distance_coefficientA
131 parameters_c3d.dR_multicluster_byLayer_coefficientB = cms.vdouble( [0]*(MAX_LAYERS+1) )
135 distance_coefficientA=0.03):
136 parameters_c3d = process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters
137 parameters_c3d.dR_multicluster_byLayer_coefficientA = cms.vdouble( [distance_coefficientA]*(MAX_LAYERS+1) )
138 parameters_c3d.dR_multicluster_byLayer_coefficientB = cms.vdouble( [0]*(MAX_LAYERS+1) )
142 distance_coefficientA=0.03,
143 distance_coefficientB=0.02):
144 parameters_c3d = process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters
145 parameters_c3d.dR_multicluster_byLayer_coefficientA = cms.vdouble( [distance_coefficientA]*(MAX_LAYERS+1) )
146 parameters_c3d.dR_multicluster_byLayer_coefficientB = cms.vdouble( [distance_coefficientB]*(MAX_LAYERS+1) )
151 parameters_c3d = process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters
152 parameters_c3d.cluster_association = cms.string(
'NearestNeighbour')
158 parameters_c3d = process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters
159 parameters_c3d.cluster_association = cms.string(
'EnergySplit')
def custom_3dclustering_dbscan
def custom_2dclustering_topological
def custom_3dclustering_clusteringRadiusLayerbyLayerFixedEta
def custom_2dclustering_dummy
def custom_3dclustering_variableDr
def set_histomax_clustering_params
def custom_2dclustering_distance
def custom_3dclustering_nearestNeighbourAssociation
def custom_3dclustering_clusteringRadiusNoLayerDependenceVariableEta
def custom_2dclustering_constrainedtopological
def custom_3dclustering_fixedRadius
def custom_3dclustering_clusteringRadiusNoLayerDependenceFixedEta
def custom_3dclustering_EnergySplitAssociation
def custom_3dclustering_clusteringRadiusLayerbyLayerVariableEta
def custom_3dclustering_distance