printf("peak %d found at pss_index %d, n %6d, peak_value %15llu\n",n_peaks,pss_source[n_peaks],peak_position[n_peaks],(unsignedlonglong)pss_corr_ue[pss_source[n_peaks]][peak_position[n_peaks]]);
//#endif
peak_value=threshold;
found_peak=0;
n_peaks++;
//if (n_peaks==L_max) break;
if(pss_corr_ue[pss_index][n]>peak_value){
peak_value=pss_corr_ue[pss_index][n];
peak_position=n;
pss_source=pss_index;
#ifdef DEBUG_PSS_NR
printf("pss_index %d: n %6d peak_value %15llu\n",pss_index,n,(unsignedlonglong)pss_corr_ue[pss_index][n]);