CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
clustering3d.CreateHistoThreshold Class Reference
Inheritance diagram for clustering3d.CreateHistoThreshold:

Public Member Functions

def __call__
 
def __init__
 

Public Attributes

 clustering_parameters
 
 seeding_parameters
 

Detailed Description

Definition at line 171 of file clustering3d.py.

Constructor & Destructor Documentation

def clustering3d.CreateHistoThreshold.__init__ (   self,
  seed_threshold = histoThreshold_C3d_params.threshold_histo_multicluster,
  distance = histoMax_C3d_clustering_params.dR_multicluster,
  nBins_X1 = histoThreshold_C3d_params.nBins_X1_histo_multicluster,
  nBins_X2 = histoThreshold_C3d_params.nBins_X2_histo_multicluster,
  binSumsHisto = histoThreshold_C3d_params.binSumsHisto,
  shape_threshold = histoMax_C3d_clustering_params.shape_threshold,
  shape_distance = histoMax_C3d_clustering_params.shape_distance 
)

Definition at line 180 of file clustering3d.py.

181  ):
182  self.seeding_parameters = histoThreshold_C3d_params.clone()
183  self.clustering_parameters = histoMax_C3d_clustering_params.clone()
184  set_histomax_seeding_params(self.seeding_parameters, nBins_X1, nBins_X2, binSumsHisto, seed_threshold)
185  set_histomax_clustering_params(self.clustering_parameters, distance, shape_threshold, shape_distance)
def set_histomax_clustering_params

Member Function Documentation

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

Definition at line 186 of file clustering3d.py.

References clustering3d.CreateHistoMax.clustering_parameters, clustering3d.CreateHistoMaxVariableDr.clustering_parameters, clustering3d.CreateHistoMaxXYVariableDr.clustering_parameters, clustering3d.CreateHistoInterpolatedMax1stOrder.clustering_parameters, clustering3d.CreateHistoInterpolatedMax2ndOrder.clustering_parameters, clustering3d.CreateHistoThreshold.clustering_parameters, clustering3d.CreateHistoMax.seeding_parameters, clustering3d.CreateHistoMaxVariableDr.seeding_parameters, clustering3d.CreateHistoMaxXYVariableDr.seeding_parameters, clustering3d.CreateHistoInterpolatedMax1stOrder.seeding_parameters, clustering3d.CreateHistoInterpolatedMax2ndOrder.seeding_parameters, and clustering3d.CreateHistoThreshold.seeding_parameters.

187  def __call__(self, process, inputs):
188  producer = process.hgcalBackEndLayer2Producer.clone(
189  InputCluster = cms.InputTag(inputs)
190  )
191  producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = self.seeding_parameters
192  producer.ProcessorParameters.C3d_parameters.histoMax_C3d_clustering_parameters = self.clustering_parameters
193  return producer

Member Data Documentation

clustering3d.CreateHistoThreshold.clustering_parameters

Definition at line 182 of file clustering3d.py.

Referenced by clustering3d.CreateHistoThreshold.__call__().

clustering3d.CreateHistoThreshold.seeding_parameters

Definition at line 181 of file clustering3d.py.

Referenced by clustering3d.CreateHistoThreshold.__call__().