| Enum Constant and Description |
|---|
BUILT_BY_PEB
Event built by primary event builder.
|
BUILT_BY_PEB_SYNC
Event built by primary event builder with sync bit set.
|
BUILT_BY_SEB
Event built by secondary event builder.
|
BUILT_BY_SEB_SYNC
Event built by secondary event builder with sync bit set.
|
BUILT_TRIGGER_BANK
No timestamp and no run data.
|
BUILT_TRIGGER_NRSD
No timestamp, no run and no roc-specific data.
|
BUILT_TRIGGER_ROC_ERROR
At least one ROC used in building this trigger bank
has a bad or nonexistent trigger bank of its own.
|
BUILT_TRIGGER_RUN
Only run data.
|
BUILT_TRIGGER_RUN_NRSD
Run and no roc-specific data.
|
BUILT_TRIGGER_TS
Only timestamp data.
|
BUILT_TRIGGER_TS_NRSD
Timestamp and no roc-specific data.
|
BUILT_TRIGGER_TS_RUN
Both timestamp and run data.
|
BUILT_TRIGGER_TS_RUN_NRSD
Timestamp and run, but no roc-specific data.
|
RAW_TRIGGER
Trigger bank from ROC with no timestamps.
|
RAW_TRIGGER_TS
Trigger bank from ROC with 32 bit timestamps.
|
RAW_TRIGGER_TS_BIG
Trigger bank from ROC with 64 bit timestamps.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getName(int val)
Obtain the name from the value.
|
static CODATag |
getTagType(int val)
Obtain the enum from the value.
|
int |
getValue()
Get the integer value of this enum.
|
boolean |
hasRocSpecificData()
Does this tag indicate the trigger bank has roc-specific data
segments present?
|
static boolean |
hasRocSpecificData(int value)
Does this tag indicate the trigger bank has roc-specific data
segments present?
|
boolean |
hasRunData()
Does this tag indicate run number and type are present?
|
static boolean |
hasRunData(int value)
Does this tag indicate run number and type are present?
|
boolean |
hasTimestamp()
Does this tag indicate a timestamp is present?
|
static boolean |
hasTimestamp(int value)
Does this tag indicate a timestamp is present?
|
boolean |
isBuiltTrigger()
Is this a built trigger tag?
Values can range from 0xff20 to 0xff4f.
|
static boolean |
isBuiltTrigger(int value)
Is this a built trigger tag?
Values can range from 0xff20 to 0xff4f.
|
boolean |
isRawTrigger()
Is this a raw trigger tag?
Values can range from 0xff10 to 0xff1f.
|
static boolean |
isRawTrigger(int value)
Is this a raw trigger tag?
Values can range from 0xff10 to 0xff1f.
|
boolean |
isSyncEVent()
Is this any kind of a sync event tag?
|
static boolean |
isSyncEVent(int value)
Is this any kind of a sync event tag?
|
boolean |
isTrigger()
Is this any kind of a trigger tag?
Values can range from 0xff10 to 0xff4f.
|
static boolean |
isTrigger(int value)
Is this any kind of a trigger tag?
Values can range from 0xff10 to 0xff4f.
|
static CODATag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CODATag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CODATag RAW_TRIGGER
public static final CODATag RAW_TRIGGER_TS
public static final CODATag RAW_TRIGGER_TS_BIG
public static final CODATag BUILT_TRIGGER_BANK
public static final CODATag BUILT_TRIGGER_TS
public static final CODATag BUILT_TRIGGER_RUN
public static final CODATag BUILT_TRIGGER_TS_RUN
public static final CODATag BUILT_TRIGGER_NRSD
public static final CODATag BUILT_TRIGGER_TS_NRSD
public static final CODATag BUILT_TRIGGER_RUN_NRSD
public static final CODATag BUILT_TRIGGER_TS_RUN_NRSD
public static final CODATag BUILT_TRIGGER_ROC_ERROR
public static final CODATag BUILT_BY_PEB
public static final CODATag BUILT_BY_PEB_SYNC
public static final CODATag BUILT_BY_SEB
public static final CODATag BUILT_BY_SEB_SYNC
public static CODATag[] values()
for (CODATag c : CODATag.values()) System.out.println(c);
public static CODATag 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 CODATag getTagType(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 isBuiltTrigger()
true if built trigger tag, else falsepublic static boolean isBuiltTrigger(int value)
value - the tag value to checktrue if built trigger tag, else falsepublic boolean isRawTrigger()
true if raw trigger tag, else falsepublic static boolean isRawTrigger(int value)
value - the tag value to checktrue if raw trigger tag, else falsepublic static boolean isTrigger(int value)
value - the tag value to checktrue if any kind of trigger tag, else falsepublic boolean isTrigger()
true if any kind of trigger tag, else falsepublic boolean hasTimestamp()
true if this tag indicates a timestamp exists,
else falsepublic static boolean hasTimestamp(int value)
value - the tag value to checktrue if this tag indicates a timestamp exists,
else falsepublic boolean hasRunData()
true if this tag indicates run number and type exist,
else falsepublic static boolean hasRunData(int value)
value - the tag value to checktrue if this tag indicates run number and type exist,
else falsepublic boolean hasRocSpecificData()
true if this tag indicates trigger bank
has roc-specific data segments present, else falsepublic static boolean hasRocSpecificData(int value)
value - the tag value to checktrue if this tag indicates trigger bank
has roc-specific data segments present, else falsepublic static boolean isSyncEVent(int value)
value - the tag value to checktrue if any kind of sync event tag, else falsepublic boolean isSyncEVent()
true if any kind of sync event tag, else false