Package angleVetoes

Class AngleVetoParameters

java.lang.Object
angleVetoes.AngleVetoParameters
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class AngleVetoParameters extends Object implements Serializable, Cloneable, ManagedParameters
PArameters controlling angle vetoes for a particular detector.
Author:
Douglas Gillespie
See Also:
  • Field Details Link icon

  • Constructor Details Link icon

    • AngleVetoParameters Link icon

      public AngleVetoParameters()
  • Method Details Link icon

    • getVetoCount Link icon

      public int getVetoCount()
      Get a count of the number of angle vetoes in the list
      Returns:
      angle veto count.
    • getVeto Link icon

      public AngleVeto getVeto(int index)
      Get an angle veto from the list
      Parameters:
      index - index of veto to retreive.
      Returns:
      Angle veto reference
    • addVeto Link icon

      public void addVeto(AngleVeto angleVeto)
      Add a veto to the list.
      Parameters:
      angleVeto - new angle veto
    • removeVeto Link icon

      public void removeVeto(int index)
      Remove a veto from the list
      Parameters:
      index - index of veto to remove
    • removeVeto Link icon

      public boolean removeVeto(AngleVeto angleVeto)
      Remove a veto from the list.
      Parameters:
      angleVeto - reference to veto to remove
      Returns:
      true ifveto was found and removed from list
    • replaceVeto Link icon

      public void replaceVeto(int index, AngleVeto newOne)
      Replace a veto in the list at given index.
      Parameters:
      index - index of veto to replace
      newOne - new veto
    • clone Link icon

      public AngleVetoParameters clone()
    • getParameterSet Link icon

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.