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 Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a veto to the list.clone()Get a set of data that describes all of the parameters in a classgetVeto(int index) Get an angle veto from the listintGet a count of the number of angle vetoes in the listvoidremoveVeto(int index) Remove a veto from the listbooleanremoveVeto(AngleVeto angleVeto) Remove a veto from the list.voidreplaceVeto(int index, AngleVeto newOne) Replace a veto in the list at given index. 
- 
Field Details
- 
serialVersionUID
public static final long serialVersionUID- See Also:
 
 
 - 
 - 
Constructor Details
- 
AngleVetoParameters
public AngleVetoParameters() 
 - 
 - 
Method Details
- 
getVetoCount
public int getVetoCount()Get a count of the number of angle vetoes in the list- Returns:
 - angle veto count.
 
 - 
getVeto
Get an angle veto from the list- Parameters:
 index- index of veto to retreive.- Returns:
 - Angle veto reference
 
 - 
addVeto
Add a veto to the list.- Parameters:
 angleVeto- new angle veto
 - 
removeVeto
public void removeVeto(int index) Remove a veto from the list- Parameters:
 index- index of veto to remove
 - 
removeVeto
Remove a veto from the list.- Parameters:
 angleVeto- reference to veto to remove- Returns:
 - true ifveto was found and removed from list
 
 - 
replaceVeto
Replace a veto in the list at given index.- Parameters:
 index- index of veto to replacenewOne- new veto
 - 
clone
 - 
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
 getParameterSetin interfaceManagedParameters- Returns:
 - description of the parameters in a class.
 
 
 -