From 2216fb9b26472c26e8f659ee3774e0df016e32c3 Mon Sep 17 00:00:00 2001 From: Nathan Baltzell Date: Fri, 18 Oct 2024 14:46:11 -0400 Subject: [PATCH] add missing overrides --- .../src/main/java/org/jlab/service/bg/BackgroundEngine.java | 5 ++++- .../main/java/org/jlab/service/postproc/PostprocEngine.java | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/reconstruction/bg/src/main/java/org/jlab/service/bg/BackgroundEngine.java b/reconstruction/bg/src/main/java/org/jlab/service/bg/BackgroundEngine.java index 9ca9e9406c..54c1c7486a 100644 --- a/reconstruction/bg/src/main/java/org/jlab/service/bg/BackgroundEngine.java +++ b/reconstruction/bg/src/main/java/org/jlab/service/bg/BackgroundEngine.java @@ -41,6 +41,9 @@ public boolean init() { return true; } + @Override + public void detectorChanged(int run){} + public boolean init(String... filenames) { bgfilenames.clear(); String detectors = getEngineConfigString(CONF_DETECTORS,"DC,FTOF"); @@ -80,7 +83,7 @@ synchronized public DataEvent getBackgroundEvent() { } @Override - public boolean processDataEvent(DataEvent event) { + public boolean processDataEventUser(DataEvent event) { if (!bgfilenames.isEmpty()) { DataEvent a = getBackgroundEvent(); DataEvent b = getBackgroundEvent(); diff --git a/reconstruction/postproc/src/main/java/org/jlab/service/postproc/PostprocEngine.java b/reconstruction/postproc/src/main/java/org/jlab/service/postproc/PostprocEngine.java index 3a45e064a1..0aa6145e85 100644 --- a/reconstruction/postproc/src/main/java/org/jlab/service/postproc/PostprocEngine.java +++ b/reconstruction/postproc/src/main/java/org/jlab/service/postproc/PostprocEngine.java @@ -47,7 +47,10 @@ else if (getEngineConfigString(CONF_PRELOAD_DIR) != null) { } @Override - public boolean processDataEvent(DataEvent event) { + public void detectorChanged(int run) {} + + @Override + public boolean processDataEventUser(DataEvent event) { processor.processEvent(event); return true; }