|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.io.mcfio.MCFIOReader
A class for reading MCFIO files
Field Summary | |
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 | |
MCFIOReader(InputStream input)
|
|
MCFIOReader(String file)
|
Method Summary | |
void |
close()
|
protected MCFIOBlock |
createUserBlock(int id)
Override this method to create user defined blocks |
String |
getComment()
Get the comment associated with the file |
String |
getDate()
Get the date when the file was created |
int |
getNumberOfEvents()
The actual number of events on the file |
int |
getNumberOfEventsExpected()
The expected number of events in the file |
String |
getTitle()
Get the title of the file |
MCFIOEvent |
nextEvent()
Get the next event. |
void |
rewind()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
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 MCFIOReader(String file) throws IOException
public MCFIOReader(InputStream input) throws IOException
Method Detail |
public String getComment()
public String getDate()
public int getNumberOfEvents()
public int getNumberOfEventsExpected()
public String getTitle()
public void close() throws IOException
IOException
public MCFIOEvent nextEvent() throws IOException
IOException
public void rewind() throws IOException
IOException
protected MCFIOBlock createUserBlock(int id) throws IOException
IOException
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |