public final class FileHeaderV6
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
count
Number of records in file.
|
(package private) int |
fileNumber
File's split number.
|
(package private) java.lang.String |
fileType
Type of evio file.
|
(package private) boolean |
hasDictionary
Record has dictionary event.
|
(package private) boolean |
hasFirstEvent
Has a "first event" which exists in each related split file.
|
(package private) boolean |
hasTrailerWithIndex
Has a last record with no data (trailer) containing an index of all records.
|
(package private) int |
headerLen
NUmber of words in this header.
|
(package private) long |
id
File's id value.
|
(package private) int |
indexArrayBytes
Index array length in bytes.
|
(package private) int |
infoWord
Word containing version, hasDictionary, and is Last info.
|
(package private) static int |
MAGIC_INT |
(package private) long |
register
User defined long register.
|
(package private) long |
trailerPos
Trailer position from beginning of file.
|
(package private) int |
userHeaderBytes
Length of user defined data in bytes.
|
(package private) int |
userInt1
User defined long integer 1.
|
(package private) int |
userInt2
User defined long integer 2.
|
(package private) int |
version
Evio version.
|
Constructor and Description |
---|
FileHeaderV6() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
setData(int[] recordInts)
Set members given an array containing the file header values.
|
(package private) void |
setInfoWord(int infoWord)
Given the info word, sets values embedded in it.
|
static int MAGIC_INT
long id
java.lang.String fileType
int fileNumber
int headerLen
int count
int infoWord
int version
boolean hasDictionary
boolean hasFirstEvent
boolean hasTrailerWithIndex
int indexArrayBytes
int userHeaderBytes
long register
long trailerPos
int userInt1
int userInt2
void setInfoWord(int infoWord)
infoWord
- info word of file headervoid setData(int[] recordInts)
recordInts
- array containing the file header values in proper order.