FreeHEP API
Version v1.1

hep.io.stdhep
Class StdhepWriter

java.lang.Object
  |
  +--hep.io.mcfio.MCFIOWriter
        |
        +--hep.io.stdhep.StdhepWriter
All Implemented Interfaces:
hep.io.mcfio.MCFIOConstants, hep.io.stdhep.StdhepConstants

public class StdhepWriter
extends MCFIOWriter
implements hep.io.stdhep.StdhepConstants

A class for writing stdhep files.

Version:
$Id: StdhepWriter.java,v 1.2 2000/10/25 19:55:48 tonyj Exp $
Author:
Tony Johnson (tonyj@slac.stanford.edu)

Field Summary
static int MCFIO_STDHEP
           
static int MCFIO_STDHEPBEG
           
static int MCFIO_STDHEPEND
           
static int MCFIO_STDHEPM
           
static String STDHEP_VERSION
           
 
Fields inherited from class hep.io.mcfio.MCFIOWriter
compatibilityMode, EVENTHEADER, EVENTTABLE, FILEHEADER, MCF_DEFAULT_TABLE_SIZE, MCF_XDR_F_TITLE_LENGTH, MCF_XDR_VERSION_LENGTH
 
Constructor Summary
StdhepWriter(String file, String title, String comment, int numevts)
           
 
Method Summary
static void main(String[] argv)
           
 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

STDHEP_VERSION

public static final String STDHEP_VERSION
See Also:
Constant Field Values
Constructor Detail

StdhepWriter

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

writeRecord

public void writeRecord(StdhepRecord record)
                 throws IOException
IOException

main

public static void main(String[] argv)
                 throws Exception
Exception

FreeHEP API
Version v1.1

Copyright © 2000-2002 FreeHEP, All Rights Reserved.