hep.io.stdhep
Class StdhepWriter

java.lang.Object
  extended by hep.io.mcfio.MCFIOWriter
      extended by hep.io.stdhep.StdhepWriter

public class StdhepWriter
extends hep.io.mcfio.MCFIOWriter

A class for writing stdhep files.

Version:
$Id: StdhepWriter.java 9132 2006-10-13 05:39:06Z tonyj $
Author:
Tony Johnson (tonyj@slac.stanford.edu)

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
           
static int MCFIO_STDHEP
           
static int MCFIO_STDHEPBEG
           
static int MCFIO_STDHEPEND
           
static int MCFIO_STDHEPEV4
           
static int MCFIO_STDHEPM
           
static String STDHEP_VERSION
           
 
Fields inherited from class hep.io.mcfio.MCFIOWriter
compatibilityMode
 
Constructor Summary
StdhepWriter(String file, String title, String comment, int numevts)
           
 
Method Summary
 void writeRecord(StdhepRecord record)
           
 
Methods inherited from class hep.io.mcfio.MCFIOWriter
close, setCompatibilityMode, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

MCFIO_STDHEPEV4

public static final int MCFIO_STDHEPEV4
See Also:
Constant Field Values

STDHEP_VERSION

public static final String STDHEP_VERSION
See Also:
Constant Field Values

MCF_XDR_F_TITLE_LENGTH

public static final int MCF_XDR_F_TITLE_LENGTH
See Also:
Constant Field Values

MCF_XDR_VERSION_LENGTH

public static final int MCF_XDR_VERSION_LENGTH
See Also:
Constant Field Values

MCF_DEFAULT_TABLE_SIZE

public static final int MCF_DEFAULT_TABLE_SIZE
See Also:
Constant Field Values

FILEHEADER

public static final int FILEHEADER
See Also:
Constant Field Values

EVENTTABLE

public static final int EVENTTABLE
See Also:
Constant Field Values

EVENTHEADER

public static final int EVENTHEADER
See Also:
Constant Field Values
Constructor Detail

StdhepWriter

public StdhepWriter(String file,
                    String title,
                    String comment,
                    int numevts)
             throws IOException
Throws:
IOException
Method Detail

writeRecord

public void writeRecord(StdhepRecord record)
                 throws IOException
Throws:
IOException


Copyright © 2000-2007 FreeHEP. All Rights Reserved.