1 import FWCore.ParameterSet.Config
as cms
9 parameters_c2d = process.hgcalTriggerPrimitiveDigiProducer.BEConfiguration.algorithms[0].C2d_parameters
10 parameters_c2d.seeding_threshold_silicon = cms.double(seed_threshold)
11 parameters_c2d.seeding_threshold_scintillator = cms.double(seed_threshold)
12 parameters_c2d.clustering_threshold_silicon = cms.double(cluster_threshold)
13 parameters_c2d.clustering_threshold_scintillator = cms.double(cluster_threshold)
14 parameters_c2d.dR_cluster = cms.double(distance)
15 parameters_c2d.clusterType = cms.string(
'dRC2d')
22 parameters_c2d = process.hgcalTriggerPrimitiveDigiProducer.BEConfiguration.algorithms[0].C2d_parameters
23 parameters_c2d.seeding_threshold_silicon = cms.double(seed_threshold)
24 parameters_c2d.seeding_threshold_scintillator = cms.double(seed_threshold)
25 parameters_c2d.clustering_threshold_silicon = cms.double(cluster_threshold)
26 parameters_c2d.clustering_threshold_scintillator = cms.double(cluster_threshold)
27 parameters_c2d.clusterType = cms.string(
'NNC2d')
35 parameters_c2d = process.hgcalTriggerPrimitiveDigiProducer.BEConfiguration.algorithms[0].C2d_parameters
36 parameters_c2d.seeding_threshold_silicon = cms.double(seed_threshold)
37 parameters_c2d.seeding_threshold_scintillator = cms.double(seed_threshold)
38 parameters_c2d.clustering_threshold_silicon = cms.double(cluster_threshold)
39 parameters_c2d.clustering_threshold_scintillator = cms.double(cluster_threshold)
40 parameters_c2d.dR_cluster = cms.double(distance)
41 parameters_c2d.clusterType = cms.string(
'dRNNC2d')
47 parameters_c3d = process.hgcalTriggerPrimitiveDigiProducer.BEConfiguration.algorithms[0].C3d_parameters
48 parameters_c3d.dR_multicluster = cms.double(distance)
49 parameters_c3d.type_multicluster = cms.string(
'dRC3d')
57 parameters_c3d = process.hgcalTriggerPrimitiveDigiProducer.BEConfiguration.algorithms[0].C3d_parameters
58 parameters_c3d.dist_dbscan_multicluster = cms.double(distance)
59 parameters_c3d.minN_dbscan_multicluster = cms.uint32(min_points)
60 parameters_c3d.type_multicluster = cms.string(
'DBSCANC3d')
def custom_2dclustering_distance(process, distance=6., seed_threshold=5., cluster_threshold=2.#MipT)
def custom_3dclustering_dbscan(process, distance=0.005, min_points=3)
def custom_2dclustering_topological(process, seed_threshold=5., cluster_threshold=2.#MipT)
def custom_2dclustering_constrainedtopological(process, distance=6., seed_threshold=5., cluster_threshold=2.#MipT)
def custom_3dclustering_distance(process, distance=0.01)