diff --git a/backend/scripts/triggered_hits.py b/backend/scripts/triggered_hits.py index 426668396a3098a36e66b92b83364c0b7b52edf3..0cb39dff56b27c498dec66d0487e0949c905255d 100755 --- a/backend/scripts/triggered_hits.py +++ b/backend/scripts/triggered_hits.py @@ -45,6 +45,7 @@ import km3pipe as kp import km3pipe.style import km3io from km3pipe.io.daq import DAQPreamble, DAQEvent +from km3modules.common import MemoryObserver VERSION = "1.0" km3pipe.style.use("km3pipe") @@ -262,6 +263,7 @@ def main(): ligier_port = int(args["-p"]) pipe = kp.Pipeline() + pipe.attach(MemoryObserver, every=1000) pipe.attach( kp.io.ch.CHPump, host=ligier_ip,