Solved problem in photon finder

This commit is contained in:
redford_s
2022-03-25 18:20:32 +01:00
parent 2fe24c108b
commit ea1222ac5b
2 changed files with 33 additions and 17 deletions

View File

@ -216,14 +216,18 @@ class single_photon_hit {
// int ix, iy;
printf("***************\n");
printf("** %d %d **\n",x,y);
for (int iy = 0; iy < dy; iy++) {
for (int ix = 0; ix < dx; ix++) {
printf("%d \t", data[ix + iy * dx]);
}
printf("\n");
}
printf("***************\n");
}
/**
assign the value to the element of the cluster matrix, with relative
coordinates where the center of the cluster is (0,0) \param v value to be