Skip to content

Commit 6bc0b33

Browse files
committed
only check tables if not shared
1 parent 283f1a2 commit 6bc0b33

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎common-tools/clas-detector/src/main/java/org/jlab/detector/decode/DetectorEventDecoder.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,17 +133,17 @@ public final void initDecoder(){
133133

134134
// Data filter list
135135
keysFilter = Arrays.asList(new DetectorType[]{DetectorType.DC});
136+
137+
keysMicromega = Arrays.asList(new DetectorType[]{DetectorType.BMT,DetectorType.FMT,DetectorType.FTTRK});
136138

137139
if (!sharedManagers) {
138140
translationManager.init(tablesTrans);
139141
fitterManager.init(tablesFitter);
140142
scalerManager.init(Arrays.asList(new String[]{"/runcontrol/fcup","/runcontrol/slm","/runcontrol/hwp",
141143
"/runcontrol/helicity","/daq/config/scalers/dsc1"}));
144+
checkTables();
142145
}
143146

144-
keysMicromega = Arrays.asList(new DetectorType[]{DetectorType.BMT,DetectorType.FMT,DetectorType.FTTRK});
145-
146-
checkTables();
147147
}
148148

149149
public void checkTables() {

0 commit comments

Comments
 (0)