I am trying to use THnSparse as a way of reducing the amount of time and memory required to perform a task. My goal is to first store the location and time of electrons hitting the detector, then be able to come back to the full THnSparse, isolate the electrons in specific X and Y bins and get the bin content back as a list.
Is this something that can be done with THnSparse? Or am I misinterpreting the functionality of THnSparse?
ROOT Version: ROOT 6.26
Compiler: Not Provided