CMS 3D CMS Logo

Classes | Functions
clustering3d Namespace Reference

Classes

class  CreateHistoInterpolatedMax1stOrder
 
class  CreateHistoInterpolatedMax2ndOrder
 
class  CreateHistoMax
 
class  CreateHistoMaxVariableDr
 
class  CreateHistoMaxXYVariableDr
 
class  CreateHistoThreshold
 

Functions

def create_dbscan (process, inputs, distance=dbscan_C3d_params.dist_dbscan_multicluster, min_points=dbscan_C3d_params.minN_dbscan_multicluster)
 
def create_distance (process, inputs, distance=distance_C3d_params.dR_multicluster)
 

Function Documentation

◆ create_dbscan()

def clustering3d.create_dbscan (   process,
  inputs,
  distance = dbscan_C3d_params.dist_dbscan_multicluster,
  min_points = dbscan_C3d_params.minN_dbscan_multicluster 
)

Definition at line 33 of file clustering3d.py.

Referenced by create_distance().

33  ):
34  producer = process.hgcalBackEndLayer2Producer.clone(
35  InputCluster = cms.InputTag(inputs)
36  )
37  producer.ProcessorParameters.C3d_parameters = dbscan_C3d_params.clone(
38  dist_dbscan_multicluster = distance,
39  minN_dbscan_multicluster = min_points
40  )
41  return producer
42 
43 

◆ create_distance()

def clustering3d.create_distance (   process,
  inputs,
  distance = distance_C3d_params.dR_multicluster 
)

Definition at line 20 of file clustering3d.py.

References create_dbscan().

20  ):
21  producer = process.hgcalBackEndLayer2Producer.clone(
22  InputCluster = cms.InputTag(inputs)
23  )
24  producer.ProcessorParameters.C3d_parameters = distance_C3d_params.clone(
25  dR_multicluster = distance
26  )
27  return producer
28 
29