DeepLearnPhysics / larcv2

MIT License
13 stars 16 forks source link

Build voxels from edep-sim TG4HitSegments rather than TG4Trajectories #38

Closed chenel closed 4 years ago

chenel commented 4 years ago

edep-sim produces two output products: TG4Trajectory (corresponds to an individual true particle track) and TG4HitSegment (energy deposited in designated 'sensitive' geometry volumes). Until we have the full detector response & charge simulation, we want to use the HitSegments as our voxelation input, because these tell us how much energy actually went where.

This PR adds a new class, SuperaG4HitSegment, which can be used with run_supera.py and a configuration like the sample supera-ndlar.cfg, to do so.