CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
customHistoSeeding Namespace Reference

Functions

def custom_3dclustering_histoInterpolatedMax1stOrder
 
def custom_3dclustering_histoInterpolatedMax2ndOrder
 
def custom_3dclustering_histoMax
 
def custom_3dclustering_histoSecondaryMax
 
def custom_3dclustering_histoThreshold
 
def custom_3dclustering_XYHistoMax
 
def set_histomax_seeding_params
 

Function Documentation

def customHistoSeeding.custom_3dclustering_histoInterpolatedMax1stOrder (   process,
  nBins_X1 = histoInterpolatedMax_C3d_params.nBins_X1_histo_multicluster,
  nBins_X2 = histoInterpolatedMax_C3d_params.nBins_X2_histo_multicluster,
  binSumsHisto = histoInterpolatedMax_C3d_params.binSumsHisto,
  seed_threshold = histoInterpolatedMax_C3d_params.threshold_histo_multicluster 
)

Definition at line 55 of file customHistoSeeding.py.

References custom_3dclustering_histoInterpolatedMax2ndOrder(), and set_histomax_seeding_params().

Referenced by custom_3dclustering_histoSecondaryMax().

55 
56  ):
57  parameters_c3d = histoInterpolatedMax_C3d_params.clone(
58  neighbour_weights = neighbour_weights_1stOrder
59  )
60  set_histomax_seeding_params(parameters_c3d, nBins_X1, nBins_X2, binSumsHisto,
61  seed_threshold)
62  process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
63  return process
64 
def customHistoSeeding.custom_3dclustering_histoInterpolatedMax2ndOrder (   process,
  nBins_X1 = histoInterpolatedMax_C3d_params.nBins_X1_histo_multicluster,
  nBins_X2 = histoInterpolatedMax_C3d_params.nBins_X2_histo_multicluster,
  binSumsHisto = histoInterpolatedMax_C3d_params.binSumsHisto,
  seed_threshold = histoInterpolatedMax_C3d_params.threshold_histo_multicluster 
)

Definition at line 70 of file customHistoSeeding.py.

References custom_3dclustering_histoThreshold(), and set_histomax_seeding_params().

Referenced by custom_3dclustering_histoInterpolatedMax1stOrder().

70 
71  ):
72  parameters_c3d = histoInterpolatedMax_C3d_params.clone(
73  neighbour_weights = neighbour_weights_2ndOrder
74  )
75  set_histomax_seeding_params(parameters_c3d, nBins_X1, nBins_X2, binSumsHisto,
76  seed_threshold)
77  process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
78  return process
79 
def customHistoSeeding.custom_3dclustering_histoMax (   process,
  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,
  seed_position = histoMax_C3d_seeding_params.seed_position 
)

Definition at line 30 of file customHistoSeeding.py.

References custom_3dclustering_histoSecondaryMax(), and set_histomax_seeding_params().

Referenced by set_histomax_seeding_params().

30 
31  ):
32  parameters_c3d = histoMax_C3d_seeding_params.clone()
33  set_histomax_seeding_params(parameters_c3d, nBins_X1, nBins_X2, binSumsHisto,
34  seed_threshold)
35  process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
36  return process
def customHistoSeeding.custom_3dclustering_histoSecondaryMax (   process,
  threshold = histoSecondaryMax_C3d_params.threshold_histo_multicluster,
  nBins_X1 = histoSecondaryMax_C3d_params.nBins_X1_histo_multicluster,
  nBins_X2 = histoSecondaryMax_C3d_params.nBins_X2_histo_multicluster,
  binSumsHisto = histoSecondaryMax_C3d_params.binSumsHisto 
)

Definition at line 42 of file customHistoSeeding.py.

References custom_3dclustering_histoInterpolatedMax1stOrder(), and set_histomax_seeding_params().

Referenced by custom_3dclustering_histoMax().

42 
43  ):
44  parameters_c3d = histoSecondaryMax_C3d_params.clone()
45  set_histomax_seeding_params(parameters_c3d, nBins_X1, nBins_X2, binSumsHisto,
46  threshold)
47  process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
48  return process
49 
def customHistoSeeding.custom_3dclustering_histoThreshold (   process,
  nBins_X1 = histoThreshold_C3d_params.nBins_X1_histo_multicluster,
  nBins_X2 = histoThreshold_C3d_params.nBins_X2_histo_multicluster,
  binSumsHisto = histoThreshold_C3d_params.binSumsHisto,
  seed_threshold = histoThreshold_C3d_params.threshold_histo_multicluster 
)

Definition at line 85 of file customHistoSeeding.py.

References custom_3dclustering_XYHistoMax(), and set_histomax_seeding_params().

Referenced by custom_3dclustering_histoInterpolatedMax2ndOrder().

85 
86  ):
87  parameters_c3d = histoThreshold_C3d_params.clone()
88  set_histomax_seeding_params(parameters_c3d, nBins_X1, nBins_X2, binSumsHisto,
89  seed_threshold)
90  process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
91  return process
92 
def customHistoSeeding.custom_3dclustering_XYHistoMax (   process,
  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,
  seed_position = histoMaxXYVariableDR_C3d_params.seed_position 
)

Definition at line 98 of file customHistoSeeding.py.

References set_histomax_seeding_params().

Referenced by custom_3dclustering_histoThreshold().

98 
99  ):
100  parameters_c3d = histoMaxXYVariableDR_C3d_params.clone()
101  set_histomax_seeding_params(parameters_c3d, nBins_X1, nBins_X2,
102  histoMaxXYVariableDR_C3d_params.binSumsHisto,seed_threshold)
103  process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
104  return process
105 
def customHistoSeeding.set_histomax_seeding_params (   parameters_seeding_c3d,
  nBins_X1,
  nBins_X2,
  binSumsHisto,
  seed_threshold 
)

Definition at line 17 of file customHistoSeeding.py.

References custom_3dclustering_histoMax().

Referenced by clustering3d.create_histoInterpolatedMax1stOrder(), clustering3d.create_histoInterpolatedMax2ndOrder(), clustering3d.create_histoMax(), clustering3d.create_histoMax_variableDr(), clustering3d.create_histoMaxXY_variableDr(), clustering3d.create_histoThreshold(), custom_3dclustering_histoInterpolatedMax1stOrder(), custom_3dclustering_histoInterpolatedMax2ndOrder(), custom_3dclustering_histoMax(), custom_3dclustering_histoSecondaryMax(), custom_3dclustering_histoThreshold(), and custom_3dclustering_XYHistoMax().

17 
18  ):
19  parameters_seeding_c3d.nBins_X1_histo_multicluster = nBins_X1
20  parameters_seeding_c3d.nBins_X2_histo_multicluster = nBins_X2
21  parameters_seeding_c3d.binSumsHisto = binSumsHisto
22  parameters_seeding_c3d.threshold_histo_multicluster = seed_threshold
23