Hello Ding,
there are two unrelated (yet critical) issues with your input:
- you are defining the XYZ-point USRBIN already in the transformed coordinates
- I think you mistyped the detector being modified by the last ROTPRBIN (r2res instead of r2res3) These two mistakes cancel each other because your co-odinates are already specified in the transformed frame, and you are not currently applying transformations
There are two more severe issues:
- when scoring on a lattice you need to score using special point, not just region point. See this related post (Scoring within lattice units).
- unfortunately lattice scoring cannot be combined with residual nuclei or activity scoring, this is something that might change in a future version.
My suggestions is that you use properly transformed point-cartesian scoring (the XYZ-point score you have, with the changes I pointed out). I hope this is of help, and let me know if I can help with anything else.
Stefano