Class DetectorCollection<T>

java.lang.Object
org.jlab.detector.base.DetectorCollection<T>

public class DetectorCollection<T> extends Object
Author:
gavalian
  • Constructor Details Link icon

    • DetectorCollection Link icon

      public DetectorCollection()
  • Method Details Link icon

    • setName Link icon

      public void setName(String name)
    • getName Link icon

      public String getName()
    • add Link icon

      public void add(int sector, int layer, int comp, T value)
    • add Link icon

      public void add(DetectorDescriptor desc, T value)
    • clear Link icon

      public void clear()
    • hasEntry Link icon

      public boolean hasEntry(int sector, int layer, int comp)
    • get Link icon

      public T get(int sector, int layer, int comp)
    • getKeys Link icon

      public Set<Long> getKeys()
    • getObjectForKey Link icon

      public T getObjectForKey(Long key)
    • getList Link icon

      public List<T> getList()
      Returns a list of all values in the collection
      Returns:
      List of collection values
    • getSectors Link icon

      public Set<Integer> getSectors()
      Returns Set of sectors defined in the map
      Returns:
    • getLayers Link icon

      public Set<Integer> getLayers(int sector)
      returns Set of layers for given sector.
      Parameters:
      sector -
      Returns:
    • getComponents Link icon

      public Set<Integer> getComponents(int sector, int layer)
      returns component set for given sector and layer
      Parameters:
      sector -
      layer -
      Returns: