Class Occupancer.OccupanceTable

java.lang.Object
org.jlab.detector.serial.Occupancer.OccupanceTable
Enclosing class:
Occupancer

public static class Occupancer.OccupanceTable extends Object
  • Constructor Details

    • OccupanceTable

      public OccupanceTable(String hitBank)
      A 3- or 4-index table, depending on "order".
      Parameters:
      hitBank - name of the hit bank
    • OccupanceTable

      public OccupanceTable(String hitBank, int indexCount)
      An N-index table.
      Parameters:
      hitBank - name of the hit bank
      indexCount - number of inidices in the hit bank
  • Method Details

    • getTable

      public final IndexedTable getTable()
    • reset

      public final void reset()
      Zero the occupancy table.
    • getOccupancy

      public final IndexedTable getOccupancy(long events)
      Get the occupancy table, normalized by number of events.
      Parameters:
      events -
      Returns:
    • fill

      public final void fill(int... index)
      Fill the occupancy table.
      Parameters:
      index -
    • fill

      public void fill(org.jlab.jnp.hipo4.data.Event event)
      Fill occupancy table from a user-defined bank.
      Parameters:
      event -
    • create

      public org.jlab.jnp.hipo4.data.Bank create(long events)
      Get an occupancy bank, normalized by number of events.
      Parameters:
      events -
      Returns: