CMS 3D CMS Logo

Functions
customClustering Namespace Reference

Functions

def custom_2dclustering_constrainedtopological (process, distance=6., seed_threshold=5., cluster_threshold=2.#MipT)
 
def custom_2dclustering_distance (process, distance=6., seed_threshold=5., cluster_threshold=2.#MipT)
 
def custom_2dclustering_topological (process, seed_threshold=5., cluster_threshold=2.#MipT)
 
def custom_3dclustering_dbscan (process, distance=0.005, min_points=3)
 
def custom_3dclustering_distance (process, distance=0.01)
 

Function Documentation

def customClustering.custom_2dclustering_constrainedtopological (   process,
  distance = 6.,
  seed_threshold = 5.,
  cluster_threshold = 2.# MipT 
)

Definition at line 34 of file customClustering.py.

References custom_3dclustering_distance().

Referenced by custom_2dclustering_topological().

34  ):
35  parameters_c2d = process.hgcalTriggerPrimitiveDigiProducer.BEConfiguration.algorithms[0].C2d_parameters
36  parameters_c2d.seeding_threshold_silicon = cms.double(seed_threshold) # MipT
37  parameters_c2d.seeding_threshold_scintillator = cms.double(seed_threshold) # MipT
38  parameters_c2d.clustering_threshold_silicon = cms.double(cluster_threshold) # MipT
39  parameters_c2d.clustering_threshold_scintillator = cms.double(cluster_threshold) # MipT
40  parameters_c2d.dR_cluster = cms.double(distance) # cm
41  parameters_c2d.clusterType = cms.string('dRNNC2d')
42  return process
43 
def customClustering.custom_2dclustering_distance (   process,
  distance = 6.,
  seed_threshold = 5.,
  cluster_threshold = 2.# MipT 
)

Definition at line 8 of file customClustering.py.

References custom_2dclustering_topological().

8  ):
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')
16  return process
17 
def customClustering.custom_2dclustering_topological (   process,
  seed_threshold = 5.,
  cluster_threshold = 2.# MipT 
)

Definition at line 21 of file customClustering.py.

References custom_2dclustering_constrainedtopological().

Referenced by custom_2dclustering_distance().

21  ):
22  parameters_c2d = process.hgcalTriggerPrimitiveDigiProducer.BEConfiguration.algorithms[0].C2d_parameters
23  parameters_c2d.seeding_threshold_silicon = cms.double(seed_threshold) # MipT
24  parameters_c2d.seeding_threshold_scintillator = cms.double(seed_threshold) # MipT
25  parameters_c2d.clustering_threshold_silicon = cms.double(cluster_threshold) # MipT
26  parameters_c2d.clustering_threshold_scintillator = cms.double(cluster_threshold) # MipT
27  parameters_c2d.clusterType = cms.string('NNC2d')
28  return process
29 
def customClustering.custom_3dclustering_dbscan (   process,
  distance = 0.005,
  min_points = 3 
)

Definition at line 56 of file customClustering.py.

Referenced by custom_3dclustering_distance().

56  ):
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')
61  return process
62 
def customClustering.custom_3dclustering_distance (   process,
  distance = 0.01 
)

Definition at line 46 of file customClustering.py.

References custom_3dclustering_dbscan().

Referenced by custom_2dclustering_constrainedtopological().

46  ):
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')
50  return process
51 
52