public final class EvioHeader
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
org.jlab.coda.jevio.DataType |
getDataTypeObj()
Get the evio type of the data this evio structure contains as an object.
|
long |
getFilePosition()
Get the position of this event in file.
|
org.jlab.coda.jevio.DataType |
getTypeObj()
Get the evio type of this evio structure as an object.
|
boolean |
probablyIsBank()
When scanning for events, the user initially clicks on a first header word value.
|
void |
setAll(int word1,
int word2,
long pos,
long dataPos,
int dataLen,
boolean isEvent)
Set all relevant parameters.
|
public boolean probablyIsBank()
public java.lang.Object clone()
clone
in class java.lang.Object
public void setAll(int word1, int word2, long pos, long dataPos, int dataLen, boolean isEvent)
word1
- event's first header wordword2
- event's second header wordpos
- evio structure's byte position in filedataPos
- evio structure's data position in filedataLen
- length of node data in 32-bit wordsisEvent
- is this structure an event (top-level bank)?public long getFilePosition()
public org.jlab.coda.jevio.DataType getDataTypeObj()
public org.jlab.coda.jevio.DataType getTypeObj()