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_seedArea (process, seed_threshold=cms.double(8.5))
 
def custom_3dclustering_seedNoArea (process, seed_threshold=cms.double(20))
 
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 55 of file customHistoSeeding.py.

References custom_3dclustering_histoInterpolatedMax2ndOrder(), and set_histomax_seeding_params().

Referenced by custom_3dclustering_histoSecondaryMax().

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.l1tHGCalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
62  return process
63 
64 
def set_histomax_seeding_params(parameters_seeding_c3d, nBins_X1, nBins_X2, binSumsHisto, seed_threshold)

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

References custom_3dclustering_histoThreshold(), and set_histomax_seeding_params().

Referenced by custom_3dclustering_histoInterpolatedMax1stOrder().

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.l1tHGCalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
77  return process
78 
79 
def set_histomax_seeding_params(parameters_seeding_c3d, nBins_X1, nBins_X2, binSumsHisto, seed_threshold)

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

References custom_3dclustering_histoSecondaryMax(), and set_histomax_seeding_params().

Referenced by set_histomax_seeding_params().

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.l1tHGCalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
35  return process
36 
def set_histomax_seeding_params(parameters_seeding_c3d, nBins_X1, nBins_X2, binSumsHisto, seed_threshold)

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

References custom_3dclustering_histoInterpolatedMax1stOrder(), and set_histomax_seeding_params().

Referenced by custom_3dclustering_histoMax().

42  ):
43  parameters_c3d = histoSecondaryMax_C3d_params.clone()
44  set_histomax_seeding_params(parameters_c3d, nBins_X1, nBins_X2, binSumsHisto,
45  threshold)
46  process.l1tHGCalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
47  return process
48 
49 
def set_histomax_seeding_params(parameters_seeding_c3d, nBins_X1, nBins_X2, binSumsHisto, seed_threshold)

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

References custom_3dclustering_XYHistoMax(), and set_histomax_seeding_params().

Referenced by custom_3dclustering_histoInterpolatedMax2ndOrder().

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.l1tHGCalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
90  return process
91 
92 
def set_histomax_seeding_params(parameters_seeding_c3d, nBins_X1, nBins_X2, binSumsHisto, seed_threshold)

◆ custom_3dclustering_seedArea()

def customHistoSeeding.custom_3dclustering_seedArea (   process,
  seed_threshold = cms.double(8.5) 
)

Definition at line 107 of file customHistoSeeding.py.

References custom_3dclustering_seedNoArea().

Referenced by custom_3dclustering_XYHistoMax().

107  seed_threshold=cms.double(8.5)):
108  parameters_c3d = histoMax_C3d_seeding_params.clone(seeds_norm_by_area = True,
109  threshold_histo_multicluster = seed_threshold)
110  process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
111  return process
112 

◆ custom_3dclustering_seedNoArea()

def customHistoSeeding.custom_3dclustering_seedNoArea (   process,
  seed_threshold = cms.double(20) 
)

Definition at line 114 of file customHistoSeeding.py.

Referenced by custom_3dclustering_seedArea().

114  seed_threshold=cms.double(20)):
115  parameters_c3d = histoMax_C3d_seeding_params.clone(seeds_norm_by_area = False,
116  threshold_histo_multicluster = seed_threshold)
117  process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
118  return process
119 

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

References custom_3dclustering_seedArea(), and set_histomax_seeding_params().

Referenced by custom_3dclustering_histoThreshold().

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.l1tHGCalBackEndLayer2Producer.ProcessorParameters.C3d_parameters.histoMax_C3d_seeding_parameters = parameters_c3d
103  return process
104 
105 
def set_histomax_seeding_params(parameters_seeding_c3d, nBins_X1, nBins_X2, binSumsHisto, seed_threshold)

◆ set_histomax_seeding_params()

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 custom_3dclustering_histoInterpolatedMax1stOrder(), custom_3dclustering_histoInterpolatedMax2ndOrder(), custom_3dclustering_histoMax(), custom_3dclustering_histoSecondaryMax(), custom_3dclustering_histoThreshold(), and custom_3dclustering_XYHistoMax().

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