Enum Constant and Description |
---|
CONTROL
Allow only CODA control events.
|
EVERY
Allow all.
|
PARTIAL
Allow only CODA partially-built physics events.
|
PHYSICS
Allow only CODA physics events.
|
ROC_RAW
Allow only CODA ROC raw events.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
allow(org.jlab.coda.jevio.EvioEvent event)
Filter to apply to Evio events.
|
boolean |
allow2(org.jlab.coda.jevio.EvioEvent event)
Filter to apply to Evio events.
|
boolean |
isActive() |
void |
setActive(boolean active) |
void |
setTriggerType(int triggerType)
Set the value of the trigger type which is
allowed by this filter in Physics events.
|
static Filter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Filter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Filter EVERY
public static final Filter PHYSICS
public static final Filter PARTIAL
public static final Filter CONTROL
public static final Filter ROC_RAW
public static Filter[] values()
for (Filter c : Filter.values()) System.out.println(c);
public static Filter valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isActive()
public void setActive(boolean active)
public void setTriggerType(int triggerType)
triggerType
- value of the trigger type which is
allowed by this filter in Physics events.public static boolean allow(org.jlab.coda.jevio.EvioEvent event)
event
- evio event to be examinedtrue
if event is allowed into viewer, else false
.public boolean allow2(org.jlab.coda.jevio.EvioEvent event)
event
- evio event to be examinedtrue
if event is allowed into viewer, else false
.