DUNE / larnd-sim

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

Charge attenuation from finite electron lifetime #228

Open krwood opened 4 months ago

krwood commented 4 months ago

Currently, the attenuation of ionization signals as they traverse the LAr to the anode plane for readout is done on a segment-by-segment (sometimes referred to as "tracks" in larnd-sim) basis. This means that longer segments that traverse a range of drift distances from the anode will suffer from having an average attenuation applied instead of one that is dependent on the local distance to anode from and allowed to vary across the segment.

It would be better to apply this attenuation after the segment has been projected onto the pixel plane so one can calculate the attenuation on a packet-by-packet basis.

It's also true that a response is induced on a pixel before the charge arrives at the pixel itself, and so, strictly spreading, it isn't correct to apply this attenuation factor once and before any pixel response is calculated.

YifanC commented 4 months ago

Agree on the comment that the varied length for segments may cause inaccurate electron lifetime application! It would be good to voxelize larndsim early on, so we move away from segments. However, I would argue for both electron lifetime and the field response, they are integrated effect. I'm not sure there's a strict order, but we can potentially interface the electron lifetime in the integral path. My naive understanding is that the field response would have larger impact for the close to anode path, so perhaps doing this way around isn't catastrophic?