FreeHEP API
Version current

hep.io.stdhep
Class StdhepWriter

java.lang.Object
  extended byhep.io.mcfio.MCFIOWriter
      extended byhep.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.3 2003/09/16 23:11:55 tonyj Exp $
Author:
Tony Johnson (tonyj@slac.stanford.edu)
Source Code:
StdhepWriter.java

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

main

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

writeRecord

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

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.