3 #include "fcs_trg_base.h"
11 for(
int tb=0;tb<8;tb++) {
12 u_short radc = adc.d[tb] ;
25 if(sum>0 && fcs_trgDebug>=2){
27 printf(
"ns=%1d det=%1d dep=%2d ch=%2d sum=%6d gain=%6d s*g=%6d pT=%6.3f\n",
28 geo.ns,geo.det,geo.dep,geo.ch,
29 sum,pg->gain,(sum*pg->gain)>>6,
30 0.00024711*((sum*pg->gain)>>6) );
32 printf(
"ns=%1d det=%1d dep=%2d ch=%2d sum=%6d gain=%6d s*g=%6d MIP=%5.3f\n",
33 geo.ns,geo.det,geo.dep,geo.ch,
34 sum,pg->gain,(sum*pg->gain)>>6,
35 float((sum*pg->gain)>>6)/100.0);