From ad1df3327ed39a1a36fd9fed0aed77e020036fd8 Mon Sep 17 00:00:00 2001 From: Sylvester Joosten Date: Fri, 2 Mar 2018 13:11:12 -0500 Subject: [PATCH] updated reconstruction engine to initialize the calibration table --- .../ltcc/src/main/java/org/jlab/service/ltcc/LTCCEngine.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reconstruction/ltcc/src/main/java/org/jlab/service/ltcc/LTCCEngine.java b/reconstruction/ltcc/src/main/java/org/jlab/service/ltcc/LTCCEngine.java index fd0d27af17..fdabcb32a4 100644 --- a/reconstruction/ltcc/src/main/java/org/jlab/service/ltcc/LTCCEngine.java +++ b/reconstruction/ltcc/src/main/java/org/jlab/service/ltcc/LTCCEngine.java @@ -3,6 +3,7 @@ import org.jlab.clas.reco.ReconstructionEngine; import org.jlab.io.base.DataEvent; import java.util.List; +import java.util.Arrays; /** * LTCC Reconstruction Engine. @@ -11,6 +12,8 @@ */ public class LTCCEngine extends ReconstructionEngine { private static final boolean DEBUG = false; + private static final List CC_TABLES = + Arrays.asList("/calibration/ltcc/spe"); public LTCCEngine() { super("LTCC", "joosten", "1.0"); @@ -37,6 +40,7 @@ public boolean processDataEvent(DataEvent event) { @Override public boolean init() { + this.requireConstants(CC_TABLES); System.out.println("[LTCC] --> initialization successful..."); return true; }