hep.io.stdhep
Class StdhepReader
java.lang.Object
hep.io.mcfio.MCFIOReader
hep.io.stdhep.StdhepReader
- All Implemented Interfaces:
- hep.io.mcfio.MCFIOConstants, hep.io.stdhep.StdhepConstants
- public class StdhepReader
- extends MCFIOReader
- implements hep.io.stdhep.StdhepConstants
A class for reading stdhep files.
- Version:
- $Id: StdhepReader.java,v 1.4 2003/09/16 23:11:54 tonyj Exp $
- Author:
- Tony Johnson (tonyj@slac.stanford.edu)
- Source Code:
- StdhepReader.java
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCFIO_STDHEP
public static final int MCFIO_STDHEP
- See Also:
- Constant Field Values
MCFIO_STDHEPM
public static final int MCFIO_STDHEPM
- See Also:
- Constant Field Values
MCFIO_STDHEPBEG
public static final int MCFIO_STDHEPBEG
- See Also:
- Constant Field Values
MCFIO_STDHEPEND
public static final int MCFIO_STDHEPEND
- See Also:
- Constant Field Values
STDHEP_VERSION
public static final String STDHEP_VERSION
- See Also:
- Constant Field Values
StdhepReader
public StdhepReader(String file)
throws IOException
- Open a stdhep file for reading
nextRecord
public StdhepRecord nextRecord()
throws IOException
- Read the next stdhep record from the file.
The record may be a begin run, end run, or event record.
- Throws:
IOException
createUserBlock
protected MCFIOBlock createUserBlock(int id)
throws IOException
- Overrides the createUserBlock from MCFIO to create the
necessary stdhep records. Override this method to add
support for your own record types.
- Overrides:
createUserBlock
in class MCFIOReader
- Throws:
IOException
Copyright © 2000-2004 FreeHEP, All Rights Reserved.