Class Tag1ToEvent

java.lang.Object
org.jlab.analysis.postprocess.Tag1ToEvent

public class Tag1ToEvent extends Object
This is the "postprocessing" used in standard CLAS12 chef workflows. It propagates information from tag-1 events into every physics event, which includes beam charge from RUN::scaler and offline, delay-corrected helicity from HEL::flip. WARNING: Multiple run numbers in the same instance is not supported.
Author:
wphelps, baltzell
  • Constructor Details

    • Tag1ToEvent

      public Tag1ToEvent()
  • Method Details

    • getEventUnixMap

      public static TreeMap<Integer,Integer> getEventUnixMap(org.jlab.jnp.hipo4.data.SchemaFactory schema, List<String> files)
      Load the mapping from event number to unix time
      Parameters:
      schema -
      files -
      Returns:
      map
    • main

      public static void main(String[] args)