From 3b92271ce3ef6031adf998e91fd420fe402b9c01 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 1cec83e1e0..0bb00115cb 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 @@ -40,6 +40,9 @@ public boolean init() { return true; } + @Override + public void detectorChanged(int run){} + public boolean init(String... filenames) { String detectors = getEngineConfigString(CONF_DETECTORS,"DC,FTOF"); String orders = getEngineConfigString(CONF_ORDERS,"NOMINAL"); @@ -52,7 +55,7 @@ public boolean init(String... filenames) { } @Override - public boolean processDataEvent(DataEvent event) { + public boolean processDataEventUser(DataEvent event) { return bgmerger.mergeEvents(event); } 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; }