Enum Constant and Description |
---|
CONTROL |
DISENTANGLED_PHYSICS |
OTHER |
PARTIAL_PHYSICS |
PHYSICS |
ROC_RAW |
USER |
Modifier and Type | Method and Description |
---|---|
static EventType |
getEventType(int val)
Obtain the enum from the value.
|
static java.lang.String |
getName(int val)
Obtain the name from the value.
|
int |
getValue()
Get the integer value of this enum.
|
boolean |
isAnyPhysics()
Is this a any kind of a physics event type?
|
boolean |
isBuildable()
Is this a type buildable by the event builder?
|
boolean |
isControl()
Is this a control event type?
|
boolean |
isDisentangledPhysics()
Is this a fully-built, disentangled physics event type?
|
boolean |
isEbFriendly()
Is this a type appropriate for the event builder?
|
boolean |
isPartialPhysics()
Is this a partially-built physics event type?
If so, this event did not yet make it through all the layers of event building.
|
boolean |
isPhysics()
Is this a fully-built, but entangled physics event type?
|
boolean |
isROCRaw()
Is this a data event type?
|
boolean |
isUser()
Is this a user event type?
|
boolean |
isUserOrControl()
Is this a usr or control event type?
|
static EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventType ROC_RAW
public static final EventType PHYSICS
public static final EventType PARTIAL_PHYSICS
public static final EventType DISENTANGLED_PHYSICS
public static final EventType USER
public static final EventType CONTROL
public static final EventType OTHER
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType 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 static EventType getEventType(int val)
val
- the value to match.null
.public static java.lang.String getName(int val)
val
- the value to match.null
.public int getValue()
public boolean isControl()
true
if control event type, else false
public boolean isUserOrControl()
true
if user or control event type, else false
public boolean isROCRaw()
true
if data event type, else false
public boolean isAnyPhysics()
true
if any kind of a physics event type, else false
public boolean isPhysics()
true
if complete, but entangled physics event type, else false
public boolean isPartialPhysics()
true
if partially-built physics event type, else false
public boolean isDisentangledPhysics()
true
if complete and disentangled physics event type, else false
public boolean isEbFriendly()
true
if appropriate for the event builder, else false
public boolean isBuildable()
true
if buildable by the event builder, else false
public boolean isUser()
true
if user event type, else false