11 unsigned int nphiderbits) {
12 for (
unsigned int idisk = 0; idisk <
N_DISK; idisk++) {
13 unsigned int nsignbins = 2;
14 unsigned int nrbins = 1 << (nrbits);
15 unsigned int nphiderbins = 1 << (nphiderbits);
17 for (
unsigned int isignbin = 0; isignbin < nsignbins; isignbin++) {
18 for (
unsigned int irbin = 0; irbin < nrbins; irbin++) {
20 if (ir > (1 << (nrbits - 1)))
23 for (
unsigned int iphiderbin = 0; iphiderbin < nphiderbins; iphiderbin++) {
24 int iphider = iphiderbin;
25 if (iphider > (1 << (nphiderbits - 1)))
26 iphider -= (1 << nphiderbits);
31 double t = settings.
zmean(idisk) / rproj;
36 double rinv = -phider * (2.0 *
t);
39 double bendproj = 0.5 *
bend(rproj,
rinv, stripPitch);
41 int ibendproj = 2.0 * bendproj + 15.5;