-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add Truth plugins to fuse #99
Conversation
The columns provided by
If there are more columns needed as output for the truth plugin, please comment below. |
These are the things that I want to add next:
|
Right now the weighted x and y position in the PeakTruth plugin are computed from the "real" position in the TPC. We should add the observed positions as well to allow a better comparison with our PosRec output. |
I will now bump the plugin versions & update the documentation. When merging this PR we should also bump the overall fuse version to 1.1.0. |
@HenningSE In tagged clusters, can you also include how many S1/S2 photons created by a certain cluster are detected? Just by counting the propagated_photons, should be easy. Maybe call them |
We can use |
This PR will add truth output to fuse. The logic differs from the one used in WFSim so one has to be a bit careful with the interpretation of the output.
The code in the PR works as follows:
propagated_photons
level. For each photon, it is now possible to tell which cluster it came from.PMTResponseAndDAQ
puts these photons into waveforms and splits the waveforms intoraw_records
. It will now save an additional output calledcontributing_clusters
. This output contains the information which cluster contributed with how many photons to a givenraw_record
.PeakTruth
plugin evaluates which clusters contribute to apeak
and calculates truth data for each peak. One of the provided columns is theobservable_energy_truth
(we can rename columns if needed), indicating how large the energy was that went into a certain peak. Some examples: