DUNE / larnd-sim

Simulation framework for a pixelated Liquid Argon TPC
Apache License 2.0
10 stars 29 forks source link

removes double swap of truth coordinates before writing to file #203

Closed krwood closed 9 months ago

krwood commented 9 months ago

larnd-sim uses a different internal coordinate system than edep-sim.

Below shows the previous results for truth information (red) and reconstructed hit location (blue). Beam is supposed to be ~ in the z-direction, which suggested that the truth information was not being swapped properly.

image

YifanC commented 9 months ago

@mjkramer I think they are currently filled at the end because vertices and light_dat are filled during the simulation... Not a very strong reason though