CMS 3D CMS Logo

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

Public Member Functions

def __call__ (self, process, inputs)
 
def __init__ (self, distance=histoMax_C3d_clustering_params.dR_multicluster, 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=histoMax_C3d_clustering_params.shape_threshold, shape_distance=histoMax_C3d_clustering_params.shape_distance)
 

Public Attributes

 clustering_parameters
 
 seeding_parameters
 

Detailed Description

Definition at line 44 of file clustering3d.py.

Constructor & Destructor Documentation

◆ __init__()

def clustering3d.CreateHistoMax.__init__ (   self,
  distance = histoMax_C3d_clustering_params.dR_multicluster,
  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 = histoMax_C3d_clustering_params.shape_threshold,
  shape_distance = histoMax_C3d_clustering_params.shape_distance 
)

Definition at line 54 of file clustering3d.py.

54  ):
55  self.clustering_parameters = histoMax_C3d_clustering_params.clone()
56  self.seeding_parameters = histoMax_C3d_seeding_params.clone(
57  seeds_norm_by_area=seeds_norm_by_area
58  )
59  set_histomax_seeding_params(self.seeding_parameters, nBins_X1, nBins_X2, binSumsHisto, seed_threshold)
60  set_histomax_clustering_params(self.clustering_parameters, distance, shape_threshold, shape_distance)
61 
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.CreateHistoMax.__call__ (   self,
  process,
  inputs 
)

Definition at line 62 of file clustering3d.py.

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

62  def __call__(self, process, inputs):
63  producer = process.l1tHGCalBackEndLayer2Producer.clone(
64  InputCluster = cms.InputTag(inputs)
65  )
66  producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters = self.clustering_parameters
67  producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = self.seeding_parameters
68  return producer
69 
70 

Member Data Documentation

◆ clustering_parameters

clustering3d.CreateHistoMax.clustering_parameters

◆ seeding_parameters

clustering3d.CreateHistoMax.seeding_parameters