CMS 3D CMS Logo

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

Public Member Functions

def __call__ (self, process, inputs)
 
def __init__ (self, distances=histoMaxVariableDR_C3d_params.dR_multicluster_byLayer_coefficientA, nBins_X1=histoMax_C3d_seeding_params.nBins_X1_histo_multicluster, nBins_X2=histoMax_C3d_seeding_params.nBins_X2_histo_multicluster, binSumsHisto=histoMax_C3d_seeding_params.binSumsHisto, seed_threshold=histoMax_C3d_seeding_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 68 of file clustering3d.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 77 of file clustering3d.py.

77  ):
78  self.clustering_parameters= histoMax_C3d_clustering_params.clone(
79  dR_multicluster_byLayer_coefficientA = distances
80  )
81  self.seeding_parameters = histoMax_C3d_seeding_params.clone()
82  set_histomax_seeding_params(self.seeding_parameters, nBins_X1, nBins_X2, binSumsHisto, seed_threshold)
83  set_histomax_clustering_params(self.clustering_parameters, 0, shape_threshold, shape_distance)
84 
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.CreateHistoMaxVariableDr.__call__ (   self,
  process,
  inputs 
)

Definition at line 85 of file clustering3d.py.

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

85  def __call__(self, process, inputs):
86  producer = process.l1tHGCalBackEndLayer2Producer.clone(
87  InputCluster = cms.InputTag(inputs)
88  )
89  producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters = self.clustering_parameters
90  producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = self.seeding_parameters
91  return producer
92 
93 

Member Data Documentation

◆ clustering_parameters

clustering3d.CreateHistoMaxVariableDr.clustering_parameters

◆ seeding_parameters

clustering3d.CreateHistoMaxVariableDr.seeding_parameters