Skip to content

Commit

Permalink
Merge pull request cms-sw#285 from jbsauvan/cluster-params-refinement
Browse files Browse the repository at this point in the history
Update default clustering parameters
  • Loading branch information
jbsauvan committed Feb 27, 2019
2 parents 4fd3429 + 07e7f26 commit babcbc9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions L1Trigger/L1THGCal/python/customClustering.py
Expand Up @@ -76,11 +76,11 @@ def custom_3dclustering_dbscan(process,


def custom_3dclustering_histoMax(process,
distance = 0.01,
distance = 0.03,
nBins_R = 36,
nBins_Phi = 216,
binSumsHisto = binSums,
seed_threshold = 0,
seed_threshold = 10,
):
parameters_c3d = process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters
parameters_c3d.dR_multicluster = cms.double(distance)
Expand All @@ -93,15 +93,15 @@ def custom_3dclustering_histoMax(process,


dr_layerbylayer = ([0] + # no layer 0
[0.010]*7 + [0.020]*7 + [0.030]*7 + [0.040]*7 + # EM
[0.015]*7 + [0.020]*7 + [0.030]*7 + [0.040]*7 + # EM
[0.040]*6 + [0.050]*6 + # FH
[0.050]*12) # BH
def custom_3dclustering_histoMax_variableDr(process,
distances = dr_layerbylayer,
nBins_R = 36,
nBins_Phi = 216,
binSumsHisto = binSums,
seed_threshold = 0,
seed_threshold = 10,
):
process = custom_3dclustering_histoMax(process, 0, nBins_R, nBins_Phi, binSumsHisto, seed_threshold)
parameters_c3d = process.hgcalBackEndLayer2Producer.ProcessorParameters.C3d_parameters
Expand All @@ -110,7 +110,7 @@ def custom_3dclustering_histoMax_variableDr(process,


def custom_3dclustering_histoInterpolatedMax(process,
distance = 0.01,
distance = 0.03,
nBins_R = 36,
nBins_Phi = 216,
binSumsHisto = binSums,
Expand Down Expand Up @@ -146,7 +146,7 @@ def custom_3dclustering_histoInterpolatedMax2ndOrder(process):

def custom_3dclustering_histoThreshold(process,
threshold = 20.,
distance = 0.01,
distance = 0.03,
nBins_R = 36,
nBins_Phi = 216,
binSumsHisto = binSums,
Expand Down
Expand Up @@ -14,7 +14,7 @@
nBins_R_histo_multicluster = cms.uint32(36),
nBins_Phi_histo_multicluster = cms.uint32(216),
binSumsHisto = binSums,
threshold_histo_multicluster = cms.double(0.),
threshold_histo_multicluster = cms.double(10.),
EGIdentification=egamma_identification_drnn_cone.clone(),
neighbour_weights=cms.vdouble( 0 , 0.25, 0 ,
0.25 , 0 , 0.25,
Expand Down

0 comments on commit babcbc9

Please sign in to comment.