distance_C3d_params = cms.PSet(
    type_multicluster=cms.string('dRC3d'),
    dR_multicluster=cms.double(0.01),
    minPt_multicluster=cms.double(0.5),  # minimum pt of the multicluster (GeV)
    dist_dbscan_multicluster=cms.double(0.),
    minN_dbscan_multicluster=cms.uint32(0),
    EGIdentification=egamma_identification_drnn_cone.clone(),
)

dbscan_C3d_params = cms.PSet(
    type_multicluster=cms.string('DBSCANC3d'),
    dR_multicluster=cms.double(0.),
    minPt_multicluster=cms.double(0.5),  # minimum pt of the multicluster (GeV)
    dist_dbscan_multicluster=cms.double(0.005),
    minN_dbscan_multicluster=cms.uint32(3),
    EGIdentification=egamma_identification_drnn_dbscan.clone())

histoMax_C3d_seeding_params = cms.PSet(
    type_histoalgo=cms.string('HistoMaxC3d'),
    nBins_X1_histo_multicluster=cms.uint32(42),  # bin size of about 0.012
    nBins_X2_histo_multicluster=cms.uint32(216),  # bin size of about 0.029
    binSumsHisto=binSums,
    kROverZMin=cms.double(0.076),
    kROverZMax=cms.double(0.58),
    threshold_histo_multicluster=cms.double(10.),
    neighbour_weights=neighbour_weights_1stOrder,
    seed_position=cms.string("TCWeighted"),  #BinCentre, TCWeighted
    seeding_space=cms.string("RPhi"),  # RPhi, XY
    seed_smoothing_ecal=seed_smoothing_ecal,
    seed_smoothing_hcal=seed_smoothing_hcal,
)
distance_C3d_params = cms.PSet(type_multicluster=cms.string('dRC3d'),
                               dR_multicluster=cms.double(0.01),
                               minPt_multicluster=cms.double(0.5),  # minimum pt of the multicluster (GeV)
                               dist_dbscan_multicluster=cms.double(0.),
                               minN_dbscan_multicluster=cms.uint32(0),
                               EGIdentification=egamma_identification_drnn_cone.clone(),
                               )


dbscan_C3d_params = cms.PSet(type_multicluster=cms.string('DBSCANC3d'),
                             dR_multicluster=cms.double(0.),
                             minPt_multicluster=cms.double(0.5),  # minimum pt of the multicluster (GeV)
                             dist_dbscan_multicluster=cms.double(0.005),
                             minN_dbscan_multicluster=cms.uint32(3),
                             EGIdentification=egamma_identification_drnn_dbscan.clone())


histoMax_C3d_params = cms.PSet(type_multicluster=cms.string('HistoMaxC3d'),
                               dR_multicluster=cms.double(0.03),
                               dR_multicluster_byLayer_coefficientA=cms.vdouble(),
                               dR_multicluster_byLayer_coefficientB=cms.vdouble(),
                               minPt_multicluster=cms.double(0.5),  # minimum pt of the multicluster (GeV)
                               nBins_R_histo_multicluster=cms.uint32(36),
                               nBins_Phi_histo_multicluster=cms.uint32(216),
                               binSumsHisto=binSums,
                               threshold_histo_multicluster=cms.double(10.),
                               cluster_association=cms.string("NearestNeighbour"),
                               EGIdentification=egamma_identification_histomax.clone(),
                               neighbour_weights=neighbour_weights_1stOrder
                               )