Yes, that's fine for me! I sometimes tab without thinking, I'll try to force myself to stick to 2-spaces.
Of course. I did some preliminary validation using an event display. Just saving all particle hits in output and displaying them. I attach a few picture as proof :) The G4 geometry visualization is instead here.
1 GeV muon, starting at z = 3m (check on first magnetic field)
5 GeV muon, starting at z = 30m (check on second magnetic field)
10 GeV muon, starting at z = 3 m (it missing the second field, but it is seen by the first tracking stations)
I agree. I was planning to focus on a reconstruction strategy next, so I'll be thinking about that. We can potentially wait to merge, but since there is already a lot of new code it might be good to merge this first.
This PR includes:
SteppingAction.cc
This can potentially already be merged.