For issue #25. Here is the code for outputting the local positions.
I used a python script to copy MonitorSD.cc and MonitorSD.hh (also included in this branch) to copy lines for global positions and make them local positions. There were a few occurances that were missed with the script but I didn't want to search for "x", so these were edited by hand.
I've run g4sim with this once, and it seems to work (i.e the local positions are different to the global positions).
@thnam, since you're currently working on something that needs this, could you give this a quick test and that it produces the results that you expect, then I will merge it in.
For issue #25. Here is the code for outputting the local positions.
I used a python script to copy MonitorSD.cc and MonitorSD.hh (also included in this branch) to copy lines for global positions and make them local positions. There were a few occurances that were missed with the script but I didn't want to search for "x", so these were edited by hand.
I've run g4sim with this once, and it seems to work (i.e the local positions are different to the global positions).
@thnam, since you're currently working on something that needs this, could you give this a quick test and that it produces the results that you expect, then I will merge it in.