summaryrefslogtreecommitdiff
path: root/threadtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'threadtest.py')
-rw-r--r--threadtest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/threadtest.py b/threadtest.py
index 6cc9c07..5dffb98 100644
--- a/threadtest.py
+++ b/threadtest.py
@@ -35,7 +35,7 @@ def likelihood(detector, event_times, position=(0,0,0), nphotons=5000, neval=100
log_likelihood_variance = 0.0
for i, time in event_times:
h = Histogram(500, (-0.5e-9, 99.5e-9))
- h.fill(t[:,i][t[:,i] < 1e8])
+ h.fill(t[:,i])
if h.nentries > 0:
h.normalize()
@@ -67,7 +67,7 @@ if __name__ == '__main__':
from detectors import lbne_cut, minilbne_cut, minilbne, microlbne
- detector = minilbne_cut
+ detector = minilbne
detector.build(bits=options.nbits)