|
14 | 14 | import org.jlab.detector.helicity.HelicityBit; |
15 | 15 | import org.jlab.detector.helicity.HelicitySequence; |
16 | 16 | import org.jlab.detector.helicity.HelicityState; |
17 | | -import org.jlab.detector.pulse.Mode3; |
| 17 | +import org.jlab.detector.pulse.ModeAHDC; |
18 | 18 |
|
19 | 19 | import org.jlab.logging.DefaultLogger; |
20 | 20 |
|
@@ -47,8 +47,8 @@ public class CLASDecoder4 { |
47 | 47 | private HipoDataEvent hipoEvent = null; |
48 | 48 | private boolean isRunNumberFixed = false; |
49 | 49 | private int decoderDebugMode = 0; |
50 | | - private SchemaFactory schemaFactory = new SchemaFactory(); |
51 | | - private Mode3 mode3 = new Mode3(); |
| 50 | + private SchemaFactory schemaFactory = new SchemaFactory(); |
| 51 | + private ModeAHDC ahdcExtractor = new ModeAHDC(); |
52 | 52 |
|
53 | 53 | public CLASDecoder4(boolean development){ |
54 | 54 | codaDecoder = new CodaEventDecoder(); |
@@ -248,7 +248,7 @@ public List<DetectorDataDgtz> getEntriesSCALER(DetectorType type, |
248 | 248 | } |
249 | 249 |
|
250 | 250 | public void extractPulses(Event event) { |
251 | | - mode3.update(6, null, event, schemaFactory, "AHDC::wf", "AHDC::adc"); |
| 251 | + ahdcExtractor.update(6, null, event, schemaFactory, "AHDC::wf", "AHDC::adc"); |
252 | 252 | } |
253 | 253 |
|
254 | 254 | public Bank getDataBankWF(String name, DetectorType type) { |
|
0 commit comments