1 import FWCore.ParameterSet.Config
as cms
4 histoMax_C3d_clustering_params, \
5 histoMax_C3d_seeding_params, \
6 histoMaxVariableDR_C3d_params, \
7 histoMaxXYVariableDR_C3d_params, \
8 histoSecondaryMax_C3d_params, \
9 histoInterpolatedMax_C3d_params, \
10 histoThreshold_C3d_params, \
11 neighbour_weights_1stOrder, \
12 neighbour_weights_2ndOrder
14 from L1Trigger.L1THGCal.customClustering
import set_histomax_clustering_params
15 from L1Trigger.L1THGCal.customHistoSeeding
import set_histomax_seeding_params
19 distance=distance_C3d_params.dR_multicluster
21 producer = process.hgcalBackEndLayer2Producer.clone(
22 InputCluster = cms.InputTag(inputs)
24 producer.ProcessorParameters.C3d_parameters = distance_C3d_params.clone(
25 dR_multicluster = distance
31 distance=dbscan_C3d_params.dist_dbscan_multicluster,
32 min_points=dbscan_C3d_params.minN_dbscan_multicluster
34 producer = process.hgcalBackEndLayer2Producer.clone(
35 InputCluster = cms.InputTag(inputs)
37 producer.ProcessorParameters.C3d_parameters = dbscan_C3d_params.clone(
38 dist_dbscan_multicluster = distance,
39 minN_dbscan_multicluster = min_points
46 distance=histoMax_C3d_clustering_params.dR_multicluster,
47 nBins_X1=histoMax_C3d_seeding_params.nBins_X1_histo_multicluster,
48 nBins_X2=histoMax_C3d_seeding_params.nBins_X2_histo_multicluster,
49 binSumsHisto=histoMax_C3d_seeding_params.binSumsHisto,
50 seed_threshold=histoMax_C3d_seeding_params.threshold_histo_multicluster,
51 shape_threshold=histoMax_C3d_clustering_params.shape_threshold,
52 shape_distance=histoMax_C3d_clustering_params.shape_distance,
60 producer = process.hgcalBackEndLayer2Producer.clone(
61 InputCluster = cms.InputTag(inputs)
63 producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters = self.
clustering_parameters 64 producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = self.
seeding_parameters 70 distances=histoMaxVariableDR_C3d_params.dR_multicluster_byLayer_coefficientA,
71 nBins_X1=histoMax_C3d_seeding_params.nBins_X1_histo_multicluster,
72 nBins_X2=histoMax_C3d_seeding_params.nBins_X2_histo_multicluster,
73 binSumsHisto=histoMax_C3d_seeding_params.binSumsHisto,
74 seed_threshold=histoMax_C3d_seeding_params.threshold_histo_multicluster,
75 shape_threshold=histoMaxVariableDR_C3d_params.shape_threshold,
76 shape_distance=histoMaxVariableDR_C3d_params.shape_distance,
79 dR_multicluster_byLayer_coefficientA = distances
86 producer = process.hgcalBackEndLayer2Producer.clone(
87 InputCluster = cms.InputTag(inputs)
89 producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters = self.
clustering_parameters 90 producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = self.
seeding_parameters 96 distances=histoMaxVariableDR_C3d_params.dR_multicluster_byLayer_coefficientA,
97 nBins_X1=histoMaxXYVariableDR_C3d_params.nBins_X1_histo_multicluster,
98 nBins_X2=histoMaxXYVariableDR_C3d_params.nBins_X2_histo_multicluster,
99 seed_threshold=histoMaxXYVariableDR_C3d_params.threshold_histo_multicluster,
100 shape_threshold=histoMaxVariableDR_C3d_params.shape_threshold,
101 shape_distance=histoMaxVariableDR_C3d_params.shape_distance,
104 dR_multicluster_byLayer_coefficientA = distances
111 producer = process.hgcalBackEndLayer2Producer.clone(
112 InputCluster = cms.InputTag(inputs)
114 producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters = self.
clustering_parameters 115 producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = self.
seeding_parameters 121 distance=histoMax_C3d_clustering_params.dR_multicluster,
122 nBins_X1=histoInterpolatedMax_C3d_params.nBins_X1_histo_multicluster,
123 nBins_X2=histoInterpolatedMax_C3d_params.nBins_X2_histo_multicluster,
124 binSumsHisto=histoInterpolatedMax_C3d_params.binSumsHisto,
125 seed_threshold=histoInterpolatedMax_C3d_params.threshold_histo_multicluster,
126 shape_threshold=histoMax_C3d_clustering_params.shape_threshold,
127 shape_distance=histoMax_C3d_clustering_params.shape_distance,
130 neighbour_weights = neighbour_weights_1stOrder
137 producer = process.hgcalBackEndLayer2Producer.clone(
138 InputCluster = cms.InputTag(inputs)
140 producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = self.
seeding_parameters 141 producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters = self.
clustering_parameters 147 distance=histoMax_C3d_clustering_params.dR_multicluster,
148 nBins_X1=histoInterpolatedMax_C3d_params.nBins_X1_histo_multicluster,
149 nBins_X2=histoInterpolatedMax_C3d_params.nBins_X2_histo_multicluster,
150 binSumsHisto=histoInterpolatedMax_C3d_params.binSumsHisto,
151 seed_threshold=histoInterpolatedMax_C3d_params.threshold_histo_multicluster,
152 shape_threshold=histoMax_C3d_clustering_params.shape_threshold,
153 shape_distance=histoMax_C3d_clustering_params.shape_distance,
156 neighbour_weights = neighbour_weights_2ndOrder
163 producer = process.hgcalBackEndLayer2Producer.clone(
164 InputCluster = cms.InputTag(inputs)
166 producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = self.
seeding_parameters 167 producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters = self.
clustering_parameters 173 seed_threshold=histoThreshold_C3d_params.threshold_histo_multicluster,
174 distance=histoMax_C3d_clustering_params.dR_multicluster,
175 nBins_X1=histoThreshold_C3d_params.nBins_X1_histo_multicluster,
176 nBins_X2=histoThreshold_C3d_params.nBins_X2_histo_multicluster,
177 binSumsHisto=histoThreshold_C3d_params.binSumsHisto,
178 shape_threshold=histoMax_C3d_clustering_params.shape_threshold,
179 shape_distance=histoMax_C3d_clustering_params.shape_distance,
187 producer = process.hgcalBackEndLayer2Producer.clone(
188 InputCluster = cms.InputTag(inputs)
190 producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = self.
seeding_parameters 191 producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters = self.
clustering_parameters
def __init__(self, distances=histoMaxVariableDR_C3d_params.dR_multicluster_byLayer_coefficientA, nBins_X1=histoMax_C3d_seeding_params.nBins_X1_histo_multicluster, nBins_X2=histoMax_C3d_seeding_params.nBins_X2_histo_multicluster, binSumsHisto=histoMax_C3d_seeding_params.binSumsHisto, seed_threshold=histoMax_C3d_seeding_params.threshold_histo_multicluster, shape_threshold=histoMaxVariableDR_C3d_params.shape_threshold, shape_distance=histoMaxVariableDR_C3d_params.shape_distance)
def __init__(self, seed_threshold=histoThreshold_C3d_params.threshold_histo_multicluster, distance=histoMax_C3d_clustering_params.dR_multicluster, nBins_X1=histoThreshold_C3d_params.nBins_X1_histo_multicluster, nBins_X2=histoThreshold_C3d_params.nBins_X2_histo_multicluster, binSumsHisto=histoThreshold_C3d_params.binSumsHisto, shape_threshold=histoMax_C3d_clustering_params.shape_threshold, shape_distance=histoMax_C3d_clustering_params.shape_distance)
def create_dbscan(process, inputs, distance=dbscan_C3d_params.dist_dbscan_multicluster, min_points=dbscan_C3d_params.minN_dbscan_multicluster)
def __call__(self, process, inputs)
def __init__(self, distance=histoMax_C3d_clustering_params.dR_multicluster, nBins_X1=histoMax_C3d_seeding_params.nBins_X1_histo_multicluster, nBins_X2=histoMax_C3d_seeding_params.nBins_X2_histo_multicluster, binSumsHisto=histoMax_C3d_seeding_params.binSumsHisto, seed_threshold=histoMax_C3d_seeding_params.threshold_histo_multicluster, shape_threshold=histoMax_C3d_clustering_params.shape_threshold, shape_distance=histoMax_C3d_clustering_params.shape_distance)
def __init__(self, distances=histoMaxVariableDR_C3d_params.dR_multicluster_byLayer_coefficientA, nBins_X1=histoMaxXYVariableDR_C3d_params.nBins_X1_histo_multicluster, nBins_X2=histoMaxXYVariableDR_C3d_params.nBins_X2_histo_multicluster, seed_threshold=histoMaxXYVariableDR_C3d_params.threshold_histo_multicluster, shape_threshold=histoMaxVariableDR_C3d_params.shape_threshold, shape_distance=histoMaxVariableDR_C3d_params.shape_distance)
def __init__(self, distance=histoMax_C3d_clustering_params.dR_multicluster, nBins_X1=histoInterpolatedMax_C3d_params.nBins_X1_histo_multicluster, nBins_X2=histoInterpolatedMax_C3d_params.nBins_X2_histo_multicluster, binSumsHisto=histoInterpolatedMax_C3d_params.binSumsHisto, seed_threshold=histoInterpolatedMax_C3d_params.threshold_histo_multicluster, shape_threshold=histoMax_C3d_clustering_params.shape_threshold, shape_distance=histoMax_C3d_clustering_params.shape_distance)
def __init__(self, distance=histoMax_C3d_clustering_params.dR_multicluster, nBins_X1=histoInterpolatedMax_C3d_params.nBins_X1_histo_multicluster, nBins_X2=histoInterpolatedMax_C3d_params.nBins_X2_histo_multicluster, binSumsHisto=histoInterpolatedMax_C3d_params.binSumsHisto, seed_threshold=histoInterpolatedMax_C3d_params.threshold_histo_multicluster, shape_threshold=histoMax_C3d_clustering_params.shape_threshold, shape_distance=histoMax_C3d_clustering_params.shape_distance)
def __call__(self, process, inputs)
def set_histomax_seeding_params(parameters_seeding_c3d, nBins_X1, nBins_X2, binSumsHisto, seed_threshold)
def __call__(self, process, inputs)
def set_histomax_clustering_params(parameters_c3d, distance, shape_threshold, shape_distance)
def __call__(self, process, inputs)
def create_distance(process, inputs, distance=distance_C3d_params.dR_multicluster)
def __call__(self, process, inputs)
def __call__(self, process, inputs)