65 double *epx_list,
size_t epx_list_len,
side x_conv,
66 double *epy_list,
size_t epy_list_len,
side y_conv)
76 for (i=0; i<epx_list_len; i++) {x_conv_list[i]=x_conv;}
78 (epx_list, epx_list_len, x_conv_list, epx_list_len);
81 for (i=0; i<epy_list_len; i++) {y_conv_list[i]=y_conv;}
83 (epy_list, epy_list_len, y_conv_list, epy_list_len);
96 theName =
"Blank Array";
109 for (i=0; i<256; i++) {
110 for (j=0; j<256; j++) {
111 totalWeight[i][j] = 0.;
112 totalWeightSquared[i][j] = 0.;
117 for (i=0; i<2; i++) {
118 for (j=0; j<2; j++) {
119 uoflowTotalWeight[i][j] = 0.;
120 uoflowTotalWeightSquared[i][j] = 0.;
121 uoflownEvents[i][j] = 0;
151 uoflowTotalWeight[xSpecialBin][ySpecialBin] +=
weight;
152 uoflowTotalWeightSquared[xSpecialBin][ySpecialBin] +=
weight*
weight;
153 uoflownEvents[xSpecialBin][ySpecialBin]++;
161 totalWeight[i][j] +=
weight;
199 value = totalWeight[i][j];}
201 value = uoflowTotalWeight[xSpecialBin][ySpecialBin];}
235 if (nEvents[i][j]>0) {
236 error = totalWeight[i][j]/std::sqrt((
G4double) nEvents[i][j]);
240 {error = std::sqrt(uoflowTotalWeightSquared[xSpecialBin][ySpecialBin] -
241 uoflowTotalWeight[xSpecialBin][ySpecialBin]*
242 uoflowTotalWeight[xSpecialBin][ySpecialBin]);}
256 for (i = 0; i < 3; i ++)
258 for (j = 0; j < 3; j++)
260 uoflowTotalWeight[i][j] = uoflowTotalWeight[i][j] /
r;
261 uoflowTotalWeightSquared[i][j] = uoflowTotalWeightSquared[i][j] /
r;
273 totalWeight[i][j] = totalWeight[i][j] /
r;
274 totalWeightSquared[i][j] = totalWeightSquared[i][j] / r /
r;