CMS 3D CMS Logo

Functions
customHistoSeeding Namespace Reference

Functions

def 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)
 
def 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)
 
def 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)
 
def 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)
 
def 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)
 
def 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)
 
def set_histomax_seeding_params (parameters_seeding_c3d, nBins_X1, nBins_X2, binSumsHisto, seed_threshold)
 

Function Documentation

◆ custom_3dclustering_histoInterpolatedMax1stOrder()

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 50 of file customHistoSeeding.py.

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

References set_histomax_seeding_params().

◆ custom_3dclustering_histoInterpolatedMax2ndOrder()

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 65 of file customHistoSeeding.py.

66  nBins_X1=histoInterpolatedMax_C3d_params.nBins_X1_histo_multicluster,
67  nBins_X2=histoInterpolatedMax_C3d_params.nBins_X2_histo_multicluster,
68  binSumsHisto=histoInterpolatedMax_C3d_params.binSumsHisto,
69  seed_threshold=histoInterpolatedMax_C3d_params.threshold_histo_multicluster,
70  ):
71  parameters_c3d = histoInterpolatedMax_C3d_params.clone(
72  neighbour_weights = neighbour_weights_2ndOrder
73  )
74  set_histomax_seeding_params(parameters_c3d, nBins_X1, nBins_X2, binSumsHisto,
75  seed_threshold)
76  process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
77  return process
78 
79 

References set_histomax_seeding_params().

◆ custom_3dclustering_histoMax()

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 24 of file customHistoSeeding.py.

25  nBins_X1=histoMax_C3d_seeding_params.nBins_X1_histo_multicluster,
26  nBins_X2=histoMax_C3d_seeding_params.nBins_X2_histo_multicluster,
27  binSumsHisto=histoMax_C3d_seeding_params.binSumsHisto,
28  seed_threshold=histoMax_C3d_seeding_params.threshold_histo_multicluster,
29  seed_position=histoMax_C3d_seeding_params.seed_position,
30  ):
31  parameters_c3d = histoMax_C3d_seeding_params.clone()
32  set_histomax_seeding_params(parameters_c3d, nBins_X1, nBins_X2, binSumsHisto,
33  seed_threshold)
34  process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
35  return process
36 

References set_histomax_seeding_params().

◆ custom_3dclustering_histoSecondaryMax()

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 37 of file customHistoSeeding.py.

38  threshold=histoSecondaryMax_C3d_params.threshold_histo_multicluster,
39  nBins_X1=histoSecondaryMax_C3d_params.nBins_X1_histo_multicluster,
40  nBins_X2=histoSecondaryMax_C3d_params.nBins_X2_histo_multicluster,
41  binSumsHisto=histoSecondaryMax_C3d_params.binSumsHisto,
42  ):
43  parameters_c3d = histoSecondaryMax_C3d_params.clone()
44  set_histomax_seeding_params(parameters_c3d, nBins_X1, nBins_X2, binSumsHisto,
45  threshold)
46  process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
47  return process
48 
49 

References set_histomax_seeding_params().

◆ custom_3dclustering_histoThreshold()

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 80 of file customHistoSeeding.py.

81  nBins_X1=histoThreshold_C3d_params.nBins_X1_histo_multicluster,
82  nBins_X2=histoThreshold_C3d_params.nBins_X2_histo_multicluster,
83  binSumsHisto=histoThreshold_C3d_params.binSumsHisto,
84  seed_threshold=histoThreshold_C3d_params.threshold_histo_multicluster,
85  ):
86  parameters_c3d = histoThreshold_C3d_params.clone()
87  set_histomax_seeding_params(parameters_c3d, nBins_X1, nBins_X2, binSumsHisto,
88  seed_threshold)
89  process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
90  return process
91 
92 

References set_histomax_seeding_params().

◆ custom_3dclustering_XYHistoMax()

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 93 of file customHistoSeeding.py.

94  nBins_X1=histoMaxXYVariableDR_C3d_params.nBins_X1_histo_multicluster,
95  nBins_X2=histoMaxXYVariableDR_C3d_params.nBins_X2_histo_multicluster,
96  seed_threshold=histoMaxXYVariableDR_C3d_params.threshold_histo_multicluster,
97  seed_position=histoMaxXYVariableDR_C3d_params.seed_position,
98  ):
99  parameters_c3d = histoMaxXYVariableDR_C3d_params.clone()
100  set_histomax_seeding_params(parameters_c3d, nBins_X1, nBins_X2,
101  histoMaxXYVariableDR_C3d_params.binSumsHisto,seed_threshold)
102  process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
103  return process
104 

References set_histomax_seeding_params().

◆ set_histomax_seeding_params()

def customHistoSeeding.set_histomax_seeding_params (   parameters_seeding_c3d,
  nBins_X1,
  nBins_X2,
  binSumsHisto,
  seed_threshold 
)

Definition at line 12 of file customHistoSeeding.py.

12 def set_histomax_seeding_params(parameters_seeding_c3d,
13  nBins_X1,
14  nBins_X2,
15  binSumsHisto,
16  seed_threshold,
17  ):
18  parameters_seeding_c3d.nBins_X1_histo_multicluster = nBins_X1
19  parameters_seeding_c3d.nBins_X2_histo_multicluster = nBins_X2
20  parameters_seeding_c3d.binSumsHisto = binSumsHisto
21  parameters_seeding_c3d.threshold_histo_multicluster = seed_threshold
22 
23 

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().

customHistoSeeding.custom_3dclustering_histoSecondaryMax
def 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: customHistoSeeding.py:37
customHistoSeeding.custom_3dclustering_XYHistoMax
def 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: customHistoSeeding.py:93
customHistoSeeding.custom_3dclustering_histoMax
def 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: customHistoSeeding.py:24
customHistoSeeding.set_histomax_seeding_params
def set_histomax_seeding_params(parameters_seeding_c3d, nBins_X1, nBins_X2, binSumsHisto, seed_threshold)
Definition: customHistoSeeding.py:12
customHistoSeeding.custom_3dclustering_histoThreshold
def 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: customHistoSeeding.py:80
customHistoSeeding.custom_3dclustering_histoInterpolatedMax2ndOrder
def 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: customHistoSeeding.py:65
customHistoSeeding.custom_3dclustering_histoInterpolatedMax1stOrder
def 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: customHistoSeeding.py:50