-
Notifications
You must be signed in to change notification settings - Fork 9
nVeto pulses haven't made following Geant4 file #192
Comments
Hi Keita, I am not sure I understand your example, could you please be a bit more clear? For the rest, I do not understand the problem. For all the other I would start by showing an array of |
Hi Keita, what does "some records_nv have been observed mean? |
Got it. What do you propose as a solution? |
@petergaemers Didn't we have a cut on the nVeto channels, for this case? I vaguely remember we discussed, but I can't find it from a first glance. |
If I would have a proposal, I posted this in Pull-request. |
One small thing, is it only me or photons are sorted by time? i remember that we had issues due to implicit sorting in PMT hit time generation, which was not supposed to be there. |
/home/mzks/chain_test/nveto_g4_bug_fix1.ipynb Note on dali |
But before close this issue, I would like to do more careful check. Thank you very much @petergaemers |
I found among timing check that WFSim doesn't make nVeto pulse following Geant4 file.
Events which have no nVeto hits in G4, have
records_nv
andtruth_nv
I guess that nVeto events are shifted in somewhere...
WFSim/wfsim/strax_interface.py
Line 134 in 018694b
At this line, G4 array is flatten. There may be a bug in chopping the events after that line.
We need to check them carefully.
Rest information I investigated is there.
I used this file and tried to make pulses with very low rate.
/dali/lgrandi/xenonnt/simulations/testing_epix_wfsim/tpc_and_nveto_cryoneutrons_200.root
python v3.7.9 (default, Dec 15 2020, 15:48:53) [Clang 11.0.0 ]
strax v0.16.0 /Users/mzks/.pyenv/versions/3.7.9/lib/python3.7/site-packages/strax
straxen v0.19.2 /Users/mzks/xenon/straxen/straxen
wfsim version:0.5.6
epix version:0.1.1
Scripts:
Example:
In Original Geant4 file, event 11,
g4_pmthitID[11]
have no available ID for nVeto .[106, 137, 314, 255, ... 276, 489, 438]
All of them are not nVeto ID (2000--2199)
But some
records_nv
have been observed.The text was updated successfully, but these errors were encountered: