CMS 3D CMS Logo

Functions
clustering2d Namespace Reference

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_dummy (process, inputs)
 
def create_topological (process, inputs, seed_threshold=topological_C2d_params.seeding_threshold_silicon, cluster_threshold=topological_C2d_params.clustering_threshold_silicon#MipT)
 

Function Documentation

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 40 of file clustering2d.py.

References customClustering.set_threshold_params().

Referenced by create_topological().

40  ):
41  producer = process.hgcalBackEndLayer1Producer.clone(
42  InputTriggerCells = cms.InputTag('{}:HGCalConcentratorProcessorSelection'.format(inputs))
43  )
44  producer.ProcessorParameters.C2d_parameters = constrTopological_C2d_params.clone(
45  dR_cluster = distance
46  )
47  set_threshold_params(producer.ProcessorParameters.C2d_parameters, seed_threshold, cluster_threshold)
48  return producer
49 
50 
def set_threshold_params(pset, seed_threshold, cluster_threshold)
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 13 of file clustering2d.py.

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

13  ):
14  producer = process.hgcalBackEndLayer1Producer.clone(
15  InputTriggerCells = cms.InputTag('{}:HGCalConcentratorProcessorSelection'.format(inputs))
16  )
17  producer.ProcessorParameters.C2d_parameters = distance_C2d_params.clone(
18  dR_cluster = distance
19  )
20  set_threshold_params(producer.ProcessorParameters.C2d_parameters, seed_threshold, cluster_threshold)
21  return producer
22 
23 
def set_threshold_params(pset, seed_threshold, cluster_threshold)
def clustering2d.create_dummy (   process,
  inputs 
)

Definition at line 51 of file clustering2d.py.

51 def create_dummy(process, inputs):
52  producer = process.hgcalBackEndLayer1Producer.clone(
53  InputTriggerCells = cms.InputTag('{}:HGCalConcentratorProcessorSelection'.format(inputs))
54  )
55  producer.ProcessorParameters.C2d_parameters = dummy_C2d_params.clone()
56  return producer
57 
def create_dummy(process, inputs)
Definition: clustering2d.py:51
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 27 of file clustering2d.py.

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

Referenced by create_distance().

27  ):
28  producer = process.hgcalBackEndLayer1Producer.clone(
29  InputTriggerCells = cms.InputTag('{}:HGCalConcentratorProcessorSelection'.format(inputs))
30  )
31  producer.ProcessorParameters.C2d_parameters = topological_C2d_params.clone()
32  set_threshold_params(producer.ProcessorParameters.C2d_parameters, seed_threshold, cluster_threshold)
33  return producer
34 
35 
def set_threshold_params(pset, seed_threshold, cluster_threshold)