- // 0---------0 Ch. debug 0---------0
-/* printf("\n\n ---------- Debug of pedestal subtraction from correlation ----------\n");
- printf("\tCorrCoeff0\tCorrCoeff1\n");
- printf(" ZN1 %d\t%1.0f\t%1.0f\n",t,corrCoeff0[t],corrCoeff1[t]);
- printf(" ZN1lg %d\t%1.0f\t%1.0f\n",t+kNch,corrCoeff0[t+kNch],corrCoeff1[t+kNch]);
- printf(" ZP1 %d\t%1.0f\t%1.0f\n",t+5,corrCoeff0[t+5],corrCoeff1[t+5]);
- printf(" ZP1lg %d\t%1.0f\t%1.0f\n",t+5+kNch,corrCoeff0[t+5+kNch],corrCoeff1[t+5+kNch]);
- printf(" ZN2 %d\t%1.0f\t%1.0f\n",t+12,corrCoeff0[t+12],corrCoeff1[t+12]);
- printf(" ZN2lg %d\t%1.0f\t%1.0f\n",t+12+kNch,corrCoeff0[t+12+kNch],corrCoeff1[t+12+kNch]);
- printf(" ZP2 %d\t%1.0f\t%1.0f\n",t+17,corrCoeff0[t+17],corrCoeff1[t+17]);
- printf(" ZP2lg %d\t%1.0f\t%1.0f\n",t+17+kNch,corrCoeff0[t+17+kNch],corrCoeff1[t+17+kNch]);
-
- printf("ZN1 -> rawADC %d\tpedestal%1.2f\tcorrADC%1.2f\n",
- adcZN1[t],(corrCoeff1[t]*adcZN1oot[t]+corrCoeff0[t]),tZN1Corr[t]);
- printf(" lg -> rawADC %d\tpedestal%1.2f\tcorrADC%1.2f\n",
- adcZN1lg[t],(corrCoeff1[t+kNch]*adcZN1ootlg[t]+corrCoeff0[t+kNch]),tZN1Corr[t+5]);
- //
- printf("ZP1 -> rawADC %d\tpedestal%1.2f\tcorrADC%1.2f\n",
- adcZP1[t],(corrCoeff1[t+5]*adcZP1oot[t]+corrCoeff0[t+5]),tZP1Corr[t]);
- printf(" lg -> rawADC %d\tpedestal%1.2f\tcorrADC%1.2f\n",
- adcZP1lg[t],(corrCoeff1[t+5+kNch]*adcZP1ootlg[t]+corrCoeff0[t+5+kNch]),tZP1Corr[t+5]);
- //
- printf("ZN2 -> rawADC %d\tpedestal%1.2f\tcorrADC%1.2f\n",
- adcZN2[t],(corrCoeff1[t+12]*adcZN2oot[t]+corrCoeff0[t+12]),tZN2Corr[t]);
- printf(" lg -> rawADC %d\tpedestal%1.2f\tcorrADC%1.2f\n",
- adcZN2lg[t],(corrCoeff1[t+12+kNch]*adcZN2ootlg[t]+corrCoeff0[t+12+kNch]),tZN2Corr[t+5]);
- //
- printf("ZP2 -> rawADC %d\tpedestal%1.2f\tcorrADC%1.2f\n",
- adcZP2[t],(corrCoeff1[t+17]*adcZP2oot[t]+corrCoeff0[t+17]),tZP2Corr[t]);
- printf(" lg -> rawADC %d\tpedestal%1.2f\tcorrADC%1.2f\n",
- adcZP2lg[t],(corrCoeff1[t+17+kNch]*adcZP2ootlg[t]+corrCoeff0[t+17+kNch]),tZP2Corr[t+5]);
-*/