|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthep.io.mcfio.MCFIOWriter
A class for writing MCFIO files.
| Field Summary | |
protected static boolean |
compatibilityMode
|
static int |
EVENTHEADER
|
static int |
EVENTTABLE
|
static int |
FILEHEADER
|
static int |
MCF_DEFAULT_TABLE_SIZE
|
static int |
MCF_XDR_F_TITLE_LENGTH
|
static int |
MCF_XDR_VERSION_LENGTH
|
| Constructor Summary | |
MCFIOWriter(String file,
String title,
String comment,
int numevts,
int[] blockIds,
String[] blockNames)
Open an MCFIO file for writing. |
|
| Method Summary | |
void |
close()
|
void |
setCompatibilityMode(boolean mode)
Set compatibility mode. |
void |
write(MCFIOEvent event)
Write an event |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static boolean compatibilityMode
public static final int MCF_XDR_F_TITLE_LENGTH
public static final int MCF_XDR_VERSION_LENGTH
public static final int MCF_DEFAULT_TABLE_SIZE
public static final int FILEHEADER
public static final int EVENTTABLE
public static final int EVENTHEADER
| Constructor Detail |
public MCFIOWriter(String file,
String title,
String comment,
int numevts,
int[] blockIds,
String[] blockNames)
throws IOException
title - The title of the filecomment - The comment associate with the filenumevts - The number of events expected to be writtenblockIds - The user defined blocks that will be included in this fileblockNames - Names for the blocks defined by blockIds| Method Detail |
public void setCompatibilityMode(boolean mode)
public void close()
throws IOException
IOException
public void write(MCFIOEvent event)
throws IOException
IOException
|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||