CMS 3D CMS Logo

Classes | Functions
clustering2d Namespace Reference

Classes

class  CreateDummy
 
class  CreateTruthDummy
 
class  RozBinTruncation
 

Functions

def create_constrainedtopological (process, inputs, distance=constrTopological_C2d_params.dR_cluster, seed_threshold=constrTopological_C2d_params.seeding_threshold_silicon, cluster_threshold=constrTopological_C2d_params.clustering_threshold_silicon # MipT)
 
def create_distance (process, inputs, distance=distance_C2d_params.dR_cluster, seed_threshold=distance_C2d_params.seeding_threshold_silicon, cluster_threshold=distance_C2d_params.clustering_threshold_silicon # MipT)
 
def create_topological (process, inputs, seed_threshold=topological_C2d_params.seeding_threshold_silicon, cluster_threshold=topological_C2d_params.clustering_threshold_silicon # MipT)
 

Function Documentation

◆ create_constrainedtopological()

def clustering2d.create_constrainedtopological (   process,
  inputs,
  distance = constrTopological_C2d_params.dR_cluster,
  seed_threshold = constrTopological_C2d_params.seeding_threshold_silicon,
  cluster_threshold = constrTopological_C2d_params.clustering_threshold_silicon  # MipT 
)

Definition at line 42 of file clustering2d.py.

References customClustering.set_threshold_params().

Referenced by create_topological().

42  ):
43  producer = process.l1tHGCalBackEndLayer1Producer.clone(
44  InputTriggerCells = cms.InputTag(inputs)
45  )
46  producer.ProcessorParameters.C2d_parameters = constrTopological_C2d_params.clone(
47  dR_cluster = distance
48  )
49  set_threshold_params(producer.ProcessorParameters.C2d_parameters, seed_threshold, cluster_threshold)
50  return producer
51 
52 
53 
def set_threshold_params(pset, seed_threshold, cluster_threshold)

◆ create_distance()

def clustering2d.create_distance (   process,
  inputs,
  distance = distance_C2d_params.dR_cluster,
  seed_threshold = distance_C2d_params.seeding_threshold_silicon,
  cluster_threshold = distance_C2d_params.clustering_threshold_silicon  # MipT 
)

Definition at line 15 of file clustering2d.py.

References create_topological(), and customClustering.set_threshold_params().

15  ):
16  producer = process.l1tHGCalBackEndLayer1Producer.clone(
17  InputTriggerCells = cms.InputTag(inputs)
18  )
19  producer.ProcessorParameters.C2d_parameters = distance_C2d_params.clone(
20  dR_cluster = distance
21  )
22  set_threshold_params(producer.ProcessorParameters.C2d_parameters, seed_threshold, cluster_threshold)
23  return producer
24 
25 
def set_threshold_params(pset, seed_threshold, cluster_threshold)

◆ create_topological()

def clustering2d.create_topological (   process,
  inputs,
  seed_threshold = topological_C2d_params.seeding_threshold_silicon,
  cluster_threshold = topological_C2d_params.clustering_threshold_silicon  # MipT 
)

Definition at line 29 of file clustering2d.py.

References create_constrainedtopological(), and customClustering.set_threshold_params().

Referenced by create_distance().

29  ):
30  producer = process.l1tHGCalBackEndLayer1Producer.clone(
31  InputTriggerCells = cms.InputTag(inputs)
32  )
33  producer.ProcessorParameters.C2d_parameters = topological_C2d_params.clone()
34  set_threshold_params(producer.ProcessorParameters.C2d_parameters, seed_threshold, cluster_threshold)
35  return producer
36 
37 
def set_threshold_params(pset, seed_threshold, cluster_threshold)