3 #include "fcs_trg_base.h"
13 for(
int tb=0;tb<8;tb++) {
14 u_short radc = adc.d[tb] ;
32 if(sum>0 && fcs_trgDebug>=2){
34 printf(
"ns=%1d det=%1d dep=%2d ch=%2d sum=%6d gain=%6d s*g=%6d pT=%6.3f\n",
35 geo.ns,geo.det,geo.dep,geo.ch,
36 sum,pg->gain,(sum*pg->gain)>>6,
37 0.00024711*((sum*pg->gain)>>6) );
39 printf(
"ns=%1d det=%1d dep=%2d ch=%2d sum=%6d gain=%6d s*g=%6d MIP=%5.3f\n",
40 geo.ns,geo.det,geo.dep,geo.ch,
41 sum,pg->gain,(sum*pg->gain)>>6,
42 float((sum*pg->gain)>>6)/100.0);