Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Commit

Permalink
updated reconstruction engine to initialize the calibration table
Browse files Browse the repository at this point in the history
  • Loading branch information
sly2j committed Mar 2, 2018
1 parent 30deb3a commit ad1df33
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -11,6 +12,8 @@
*/
public class LTCCEngine extends ReconstructionEngine {
private static final boolean DEBUG = false;
private static final List<String> CC_TABLES =
Arrays.asList("/calibration/ltcc/spe");

public LTCCEngine() {
super("LTCC", "joosten", "1.0");
Expand All @@ -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;
}
Expand Down

0 comments on commit ad1df33

Please sign in to comment.