-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output scheme for all hits performed in the simulation #85
Comments
The summary of our discussion how I understood it: A readout to have all the steps is not really what I/we want. Instead, having the hdf5 file organized according to accumulated detector types would be nice. E.g. file.lh5 Each accumulator stores the hit from each sensitive detector type in one table. In addition to that, the detector ID would be written out. For Geds this would correspond to the detector number, for the LAr this could also be specific volumes (ULAr, ALAr inside/outside neutron moderator). |
At least partially, this is possible now after #95 had been merged. For example, if I create an hdf5 output file with optical detectors (geant unfortunately cannot write lh5 Tables and uses their own format for ntuples):
which are essentially two flat tables The flat mode can be turned on with |
@MoritzNeuberger does this solve your issue? |
The only thing that we don't have at the moment (what Moritz has in his example above): Both But I think addding this would be highly complex to implement in our current output model. I.e. we would need a way to "clone" the detector type and output schemes and give them custom names... |
As far as I see, the output schemes currently require a specific definition of sensitive volume.
Could we have an additional macro option to allow all hits in all volumes stored?
Is something like this already implemented?
For example, this feature would help look at the muon-induced particle showers in the rock or external parts of the experimental setup.
The text was updated successfully, but these errors were encountered: