alcap-org/g4sim — pull request #26 by AndrewEdmonds11 (2014-09-10 11:18:24+00:00)
Title: Ae output local positions

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.