Skip to content
Snippets Groups Projects
Verified Commit 841cb6ca authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Add memory observer to triggerd hits script

parent f5ea8510
No related branches found
No related tags found
No related merge requests found
Pipeline #33448 passed
...@@ -45,6 +45,7 @@ import km3pipe as kp ...@@ -45,6 +45,7 @@ import km3pipe as kp
import km3pipe.style import km3pipe.style
import km3io import km3io
from km3pipe.io.daq import DAQPreamble, DAQEvent from km3pipe.io.daq import DAQPreamble, DAQEvent
from km3modules.common import MemoryObserver
VERSION = "1.0" VERSION = "1.0"
km3pipe.style.use("km3pipe") km3pipe.style.use("km3pipe")
...@@ -262,6 +263,7 @@ def main(): ...@@ -262,6 +263,7 @@ def main():
ligier_port = int(args["-p"]) ligier_port = int(args["-p"])
pipe = kp.Pipeline() pipe = kp.Pipeline()
pipe.attach(MemoryObserver, every=1000)
pipe.attach( pipe.attach(
kp.io.ch.CHPump, kp.io.ch.CHPump,
host=ligier_ip, host=ligier_ip,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment