Package | Description |
---|---|
org.jlab.coda.emu.support.data |
Modifier and Type | Method and Description |
---|---|
static PayloadBuffer |
Evio.createControlBuffer(ControlType type,
int runNumber,
int runType,
int eventsInRun,
int eventsSinceSync,
java.nio.ByteOrder order,
boolean error)
Create a Control event with a ByteBuffer which is ready to read.
|
Modifier and Type | Method and Description |
---|---|
static void |
Evio.buildPhysicsEventWithPhysics(PayloadBuffer[] inputPayloadBanks,
org.jlab.coda.jevio.CompactEventBuilder builder)
Build a single physics event with the given trigger bank and the given array of Physics events.
|
static org.jlab.coda.jevio.EvioBank |
Evio.buildPhysicsEventWithRocRaw(PayloadBuffer[] inputPayloadBanks,
org.jlab.coda.jevio.CompactEventBuilder builder)
Build a single physics event with the given trigger bank
and the given array of ROC raw records.
|
static boolean |
Evio.checkConsistency(PayloadBuffer[] buildingBanks,
long eventNumber)
Check each payload bank - one from each input channel - for a number of issues:
|
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 void |
Evio.checkPayload(PayloadBuffer pBuf,
DataChannel channel)
Check the given payload buffer for correct format
(physics, ROC raw, control, or user).
|
static void |
Evio.gotConsistentControlEvents(PayloadBuffer[] buildingBanks,
int runNumber,
int runType)
When this is called all channels had control events.
|
static boolean |
Evio.makeTriggerBankFromPhysics(PayloadBuffer[] inputPayloadBanks,
org.jlab.coda.jevio.CompactEventBuilder builder,
int ebId,
int runNumber,
int runType,
boolean includeRunData,
boolean sparsify,
boolean checkTimestamps,
int timestampSlop)
Combine the trigger banks of all input payload banks of Physics event format (from previous
event builder) into a single trigger bank which will be used in the final built event.
|
static boolean |
Evio.makeTriggerBankFromPhysics(PayloadBuffer[] inputPayloadBanks,
org.jlab.coda.jevio.EvioNode[] rocNodes,
org.jlab.coda.jevio.EvioNode[] triggerBanks,
java.nio.ByteBuffer[] inputBuffers,
java.nio.ByteBuffer evBuf,
int ebId,
int runNumber,
int runType,
boolean includeRunData,
boolean sparsify,
boolean checkTimestamps,
boolean fastCopyReady,
int timestampSlop,
int[] returnLen,
long[] longData,
long[] commonLong,
long[] firstInputCommonLong,
long[] timestampsMin,
long[] timestampsMax,
short[] eventTypes,
short[] eventTypesRoc1)
Combine the trigger banks of all input payload banks of Physics event format (from previous
event builder) into a single trigger bank which will be used in the final built event.
|
static boolean |
Evio.makeTriggerBankFromPhysicsOrig(PayloadBuffer[] inputPayloadBanks,
org.jlab.coda.jevio.CompactEventBuilder builder,
int ebId,
int runNumber,
int runType,
boolean includeRunData,
boolean sparsify,
boolean checkTimestamps,
int timestampSlop)
Combine the trigger banks of all input payload banks of Physics event format (from previous
event builder) into a single trigger bank which will be used in the final built event.
|
static boolean |
Evio.makeTriggerBankFromRocRaw(PayloadBuffer[] inputPayloadBanks,
java.nio.ByteBuffer builtEventBuf,
int ebId,
long firstEventNumber,
int runNumber,
int runType,
boolean includeRunData,
boolean sparsify,
boolean checkTimestamps,
int timestampSlop,
int buildThreadOrder,
long[] longData,
short[] evData,
int[] segmentData,
int[] returnLen,
int[] rocOffset,
java.nio.ByteBuffer[] rocRecord,
org.jlab.coda.jevio.EvioNode[] rocNodes,
boolean fastCopyReady)
Combine the trigger banks of all input payload banks of ROC raw format into a single
trigger bank which will be used in the final built event.
|
static boolean |
Evio.makeTriggerBankFromRocRaw(PayloadBuffer[] inputPayloadBanks,
org.jlab.coda.jevio.CompactEventBuilder builder,
int ebId,
long firstEventNumber,
int runNumber,
int runType,
boolean includeRunData,
boolean sparsify,
boolean checkTimestamps,
int timestampSlop,
int buildThreadOrder)
Combine the trigger banks of all input payload banks of ROC raw format into a single
trigger bank which will be used in the final built event.
|
static boolean |
Evio.makeTriggerBankFromRocRaw(PayloadBuffer[] inputPayloadBanks,
org.jlab.coda.jevio.CompactEventBuilder builder,
int ebId,
long firstEventNumber,
int runNumber,
int runType,
boolean includeRunData,
boolean sparsify,
boolean checkTimestamps,
int timestampSlop,
int buildThreadOrder,
long[] longData,
short[] evData,
int[] segmentData,
int[] returnLen)
Combine the trigger banks of all input payload banks of ROC raw format into a single
trigger bank which will be used in the final built event.
|
static boolean |
Evio.makeTriggerBankFromRocRawOld(PayloadBuffer[] inputPayloadBanks,
org.jlab.coda.jevio.CompactEventBuilder builder,
int ebId,
long firstEventNumber,
int runNumber,
int runType,
boolean includeRunData,
boolean sparsify,
boolean checkTimestamps,
int timestampSlop,
int buildThreadOrder)
Combine the trigger banks of all input payload banks of ROC raw format into a single
trigger bank which will be used in the final built event.
|
static boolean |
Evio.makeTriggerBankFromRocRawOrig(PayloadBuffer[] inputPayloadBanks,
org.jlab.coda.jevio.CompactEventBuilder builder,
int ebId,
long firstEventNumber,
int runNumber,
int runType,
boolean includeRunData,
boolean sparsify,
boolean checkTimestamps,
int timestampSlop,
int buildThreadOrder)
Combine the trigger banks of all input payload banks of ROC raw format into a single
trigger bank which will be used in the final built event.
|
Constructor and Description |
---|
PayloadBuffer(PayloadBuffer buf)
Copy constructor.
|