CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
clustering3d.CreateHistoMaxXYVariableDr Class Reference
Inheritance diagram for clustering3d.CreateHistoMaxXYVariableDr:

Public Member Functions

def __call__ (self, process, inputs)
 
def __init__ (self, distances=histoMaxVariableDR_C3d_params.dR_multicluster_byLayer_coefficientA, nBins_X1=histoMaxXYVariableDR_C3d_params.nBins_X1_histo_multicluster, nBins_X2=histoMaxXYVariableDR_C3d_params.nBins_X2_histo_multicluster, seed_threshold=histoMaxXYVariableDR_C3d_params.threshold_histo_multicluster, shape_threshold=histoMaxVariableDR_C3d_params.shape_threshold, shape_distance=histoMaxVariableDR_C3d_params.shape_distance)
 

Public Attributes

 clustering_parameters
 
 seeding_parameters
 

Detailed Description

Definition at line 100 of file clustering3d.py.

Constructor & Destructor Documentation

◆ __init__()

def clustering3d.CreateHistoMaxXYVariableDr.__init__ (   self,
  distances = histoMaxVariableDR_C3d_params.dR_multicluster_byLayer_coefficientA,
  nBins_X1 = histoMaxXYVariableDR_C3d_params.nBins_X1_histo_multicluster,
  nBins_X2 = histoMaxXYVariableDR_C3d_params.nBins_X2_histo_multicluster,
  seed_threshold = histoMaxXYVariableDR_C3d_params.threshold_histo_multicluster,
  shape_threshold = histoMaxVariableDR_C3d_params.shape_threshold,
  shape_distance = histoMaxVariableDR_C3d_params.shape_distance 
)

Definition at line 108 of file clustering3d.py.

108  ):
109  self.clustering_parameters = histoMax_C3d_clustering_params.clone(
110  dR_multicluster_byLayer_coefficientA = distances
111  )
112  self.seeding_parameters = histoMaxXYVariableDR_C3d_params.clone()
113  set_histomax_seeding_params(self.seeding_parameters, nBins_X1, nBins_X2, histoMaxXYVariableDR_C3d_params.binSumsHisto, seed_threshold)
114  set_histomax_clustering_params(self.clustering_parameters, 0, shape_threshold, shape_distance)
115 
def set_histomax_seeding_params(parameters_seeding_c3d, nBins_X1, nBins_X2, binSumsHisto, seed_threshold)
def set_histomax_clustering_params(parameters_c3d, distance, shape_threshold, shape_distance)

Member Function Documentation

◆ __call__()

def clustering3d.CreateHistoMaxXYVariableDr.__call__ (   self,
  process,
  inputs 
)

Definition at line 116 of file clustering3d.py.

References clustering3d.CreateHistoMax.clustering_parameters, clustering3d.CreateHistoMaxVariableDr.clustering_parameters, clustering3d.CreateHistoMaxXYVariableDr.clustering_parameters, clustering3d.CreateHistoMax.seeding_parameters, clustering3d.CreateHistoMaxVariableDr.seeding_parameters, and clustering3d.CreateHistoMaxXYVariableDr.seeding_parameters.

116  def __call__(self, process, inputs):
117  producer = process.l1tHGCalBackEndLayer2Producer.clone(
118  InputCluster = cms.InputTag(inputs)
119  )
120  producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters = self.clustering_parameters
121  producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = self.seeding_parameters
122  return producer
123 
124 

Member Data Documentation

◆ clustering_parameters

clustering3d.CreateHistoMaxXYVariableDr.clustering_parameters

◆ seeding_parameters

clustering3d.CreateHistoMaxXYVariableDr.seeding_parameters