CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
clustering2d Namespace Reference

Functions

def create_constrainedtopological
 
def create_distance
 
def create_dummy
 
def create_topological
 
def create_truth_dummy
 

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  ):
42  producer = process.hgcalBackEndLayer1Producer.clone(
43  InputTriggerCells = cms.InputTag('{}:HGCalConcentratorProcessorSelection'.format(inputs))
44  )
45  producer.ProcessorParameters.C2d_parameters = constrTopological_C2d_params.clone(
46  dR_cluster = distance
47  )
48  set_threshold_params(producer.ProcessorParameters.C2d_parameters, seed_threshold, cluster_threshold)
49  return producer
50 
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  ):
15  producer = process.hgcalBackEndLayer1Producer.clone(
16  InputTriggerCells = cms.InputTag('{}:HGCalConcentratorProcessorSelection'.format(inputs))
17  )
18  producer.ProcessorParameters.C2d_parameters = distance_C2d_params.clone(
19  dR_cluster = distance
20  )
21  set_threshold_params(producer.ProcessorParameters.C2d_parameters, seed_threshold, cluster_threshold)
22  return producer
23 
def clustering2d.create_dummy (   process,
  inputs 
)

Definition at line 51 of file clustering2d.py.

51 
52 def create_dummy(process, inputs):
53  producer = process.hgcalBackEndLayer1Producer.clone(
54  InputTriggerCells = cms.InputTag('{}:HGCalConcentratorProcessorSelection'.format(inputs))
55  )
56  producer.ProcessorParameters.C2d_parameters = dummy_C2d_params.clone()
57  return producer
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  ):
29  producer = process.hgcalBackEndLayer1Producer.clone(
30  InputTriggerCells = cms.InputTag('{}:HGCalConcentratorProcessorSelection'.format(inputs))
31  )
32  producer.ProcessorParameters.C2d_parameters = topological_C2d_params.clone()
33  set_threshold_params(producer.ProcessorParameters.C2d_parameters, seed_threshold, cluster_threshold)
34  return producer
35 
def clustering2d.create_truth_dummy (   process,
  inputs 
)

Definition at line 58 of file clustering2d.py.

58 
59 def create_truth_dummy(process, inputs):
60  producer = process.hgcalBackEndLayer1Producer.clone(
61  InputTriggerCells = cms.InputTag('{}'.format(inputs))
62  )
63  producer.ProcessorParameters.C2d_parameters = dummy_C2d_params.clone()
64  return producer
def create_truth_dummy
Definition: clustering2d.py:58