Package | Description |
---|---|
org.jlab.coda.emu | |
org.jlab.coda.emu.support.data |
Modifier and Type | Method and Description |
---|---|
static void |
EmuUtilities.setEventType(java.util.BitSet bSet,
EventType eType)
Encode the event type into the bit info word
which will be in each evio block header.
|
Modifier and Type | Field and Description |
---|---|
protected EventType |
RingItemAdapter.eventType
What type of CODA events are contained in this bank (RocRaw, Physics, Control, User, ...)?
Only one type is stored in one RingItem object.
|
Modifier and Type | Method and Description |
---|---|
EventType |
RingItem.getEventType()
Get the type of event (ROC raw, physics, user, control , etc) this is.
|
EventType |
RingItemAdapter.getEventType()
Get the type of event (ROC raw, physics, user, control , etc) this is.
|
static EventType |
EventType.getEventType(int val)
Obtain the enum from the value.
|
static EventType |
EventType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
EventType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
Evio.checkInput(PayloadBuffer pBuf,
DataChannel channel,
EventType eventType,
org.jlab.coda.jevio.EvioNode inputNode,
boolean recordIdError)
Check the given payload buffer for correct record id, source id.
|
static boolean |
Evio.checkInputType(int recordId,
DataChannel channel,
EventType eventType,
org.jlab.coda.jevio.EvioNode inputNode)
Check the given payload buffer for event type
(physics, ROC raw, control, or user) as well as evio structure type.
|
static int |
Evio.checkRecordIdSequence(int recordId,
int expectedRecordId,
boolean print,
EventType eventType,
DataChannel channel)
Check the data coming over a channel for sequential record ids.
|
void |
RingItem.setAll(org.jlab.coda.jevio.EvioEvent ev,
java.nio.ByteBuffer buf,
org.jlab.coda.jevio.EvioNode nd,
EventType eType,
ControlType cType,
boolean user,
boolean first,
int chanId,
int rId,
int sId,
int evCount,
java.lang.String sName,
ByteBufferItem bbItem,
ByteBufferSupply bbSupply)
For a ringItem producer, when a new item is obtained, it must have all
of its values set or reset.
|
void |
RingItemAdapter.setAll(org.jlab.coda.jevio.EvioEvent ev,
java.nio.ByteBuffer buf,
org.jlab.coda.jevio.EvioNode nd,
EventType eType,
ControlType cType,
boolean user,
boolean first,
int chanId,
int rId,
int sId,
int evCount,
java.lang.String sName,
ByteBufferItem bbItem,
ByteBufferSupply bbSupply)
For a ringItem producer, when a new item is obtained, it must have all
of its values set or reset.
|
void |
RingItem.setEventType(EventType type)
Set the type of event (ROC raw, physics, user, control , etc) this is.
|
void |
RingItemAdapter.setEventType(EventType type)
Set the type of event (ROC raw, physics, user, control , etc) this is.
|
Constructor and Description |
---|
PayloadBuffer(java.nio.ByteBuffer buffer,
EventType eventType,
ControlType controlType,
int recordId,
int sourceId,
java.lang.String sourceName,
org.jlab.coda.jevio.EvioNode node)
Constructor that sets attachment to null.
|