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, seeds_norm_by_area=histoMax_C3d_seeding_params.seeds_norm_by_area, 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 71 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,
  seeds_norm_by_area = histoMax_C3d_seeding_params.seeds_norm_by_area,
  shape_threshold = histoMaxVariableDR_C3d_params.shape_threshold,
  shape_distance = histoMaxVariableDR_C3d_params.shape_distance 
)

Definition at line 81 of file clustering3d.py.

81  ):
82  self.clustering_parameters= histoMax_C3d_clustering_params.clone(
83  dR_multicluster_byLayer_coefficientA = distances
84  )
85  self.seeding_parameters = histoMax_C3d_seeding_params.clone(
86  seeds_norm_by_area=seeds_norm_by_area
87  )
88  set_histomax_seeding_params(self.seeding_parameters, nBins_X1, nBins_X2, binSumsHisto, seed_threshold)
89  set_histomax_clustering_params(self.clustering_parameters, 0, shape_threshold, shape_distance)
90 
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 91 of file clustering3d.py.

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

91  def __call__(self, process, inputs):
92  producer = process.l1tHGCalBackEndLayer2Producer.clone(
93  InputCluster = cms.InputTag(inputs)
94  )
95  producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters = self.clustering_parameters
96  producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = self.seeding_parameters
97  return producer
98 
99 

Member Data Documentation

◆ clustering_parameters

clustering3d.CreateHistoMaxVariableDr.clustering_parameters

◆ seeding_parameters

clustering3d.CreateHistoMaxVariableDr.seeding_parameters