You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Remove skipping of events
Instead, we can fill one of the dead PMTs with a "minimal" waveform to pass to the hit finding tool
* Remove event skipping for hit finder tool
* Fix skip event
* Add files via upload
* Add files via upload
* Add files via upload
* Update PMTWaveformSim.cpp
forgot to set the channel ID to a dead PMT
* Update README.md
Quick disclaimer about the dummy channel
Copy file name to clipboardExpand all lines: UserTools/PMTWaveformSim/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,3 +35,6 @@ MakeDebugFile 0 # Produce a root file containing all the simulated waveforms
35
35
36
36
## Other notes
37
37
#### CAUTION: In line 90, the RNG seed is set in Initialization based on the clock time. If any other downstream tools are also setting a random seed, there may be unexpected behavior as a result of this tool.
38
+
39
+
For events with no MCHits (and hence no waveforms to simulate) a "dummy" waveform is simulated in one of the dead PMT channels (333). The dummy waveform is very short (50ns) and samples from a noise distribution lower than normal, as to not have any hits register in the hit finder (the hit finder will skip dead PMTs anyways). Passing at least one waveform to the hit finding tools prevents crashing. **IF** that PMT is ever repaired or comes back online, please move this dummy channel to a different offline channel.
0 commit comments