Class ALERTEngine

java.lang.Object
org.jlab.clas.reco.ReconstructionEngine
org.jlab.service.alert.ALERTEngine
All Implemented Interfaces:
org.jlab.clara.engine.Engine

public class ALERTEngine extends ReconstructionEngine

ALERTEngine reconstruction service.

YAML configuration

All settings the engine reads from the reconstruction YAML, shown with their default values:
services:
  - class: org.jlab.service.alert.ALERTEngine
    name: ALERT

configuration:
  services:
    ALERT:
      Mode: "AI_GNN"   # track-finding strategy; see TrackFindingMode
                       # (AI_MLP | CV_Distance | CV_Hough | AI_GNN)
Since:
2025-04-03
Author:
Whit Armstrong, Noemie Pilleux, Mathieu Ouillon
  • Constructor Details

    • ALERTEngine

      public ALERTEngine()
      ALERTEngine service c'tor.
  • Method Details

    • setB

      public void setB(double B)
    • getB

      public double getB()
    • detectorChanged

      public void detectorChanged(int run)
      Specified by:
      detectorChanged in class ReconstructionEngine
    • init

      public boolean init()
      ALERTEngine initialization. Creates the RecoBankWriter and checks for various yaml flags. TODO: document flags
      Specified by:
      init in class ReconstructionEngine
    • processDataEventUser

      public boolean processDataEventUser(DataEvent event)
      Process Event. Main method called to process event data.
      • Check for AHDC and ATOF banks
      • Project track to ATOF
      Specified by:
      processDataEventUser in class ReconstructionEngine
    • main

      public static void main(String[] args)
      ALERTEngine main. TODO: needs good test.