hep.io.stdhep
Class StdhepRunRecord

java.lang.Object
  extended by hep.io.mcfio.MCFIOBlock
      extended by hep.io.stdhep.StdhepRecord
          extended by hep.io.stdhep.StdhepRunRecord
All Implemented Interfaces:
hep.io.xdr.XDRSerializable
Direct Known Subclasses:
StdhepBeginRun, StdhepEndRun

public abstract class StdhepRunRecord
extends StdhepRecord

A base class for stdhep begin/end run records.

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

Field Summary
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.MCFIOBlock
fVersion, id, length, version
 
Constructor Summary
protected StdhepRunRecord(int id, int nevtreq, int nevtgen, int nevtwrt, float stdecom, float stdxsec, double stdseed1, double stdseed2)
           
 
Method Summary
 int nevtgen()
           
 int nevtreq()
           
 int nevtwrt()
           
 void read(hep.io.xdr.XDRDataInput xdr)
           
 float stdecom()
           
 double stdseed1()
           
 double stdseed2()
           
 float stdxsec()
           
 void write(hep.io.xdr.XDRDataOutput xdr)
           
 
Methods inherited from class hep.io.mcfio.MCFIOBlock
getLength
 
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
Constructor Detail

StdhepRunRecord

protected StdhepRunRecord(int id,
                          int nevtreq,
                          int nevtgen,
                          int nevtwrt,
                          float stdecom,
                          float stdxsec,
                          double stdseed1,
                          double stdseed2)
Method Detail

nevtgen

public int nevtgen()

nevtreq

public int nevtreq()

nevtwrt

public int nevtwrt()

read

public void read(hep.io.xdr.XDRDataInput xdr)
          throws IOException
Specified by:
read in interface hep.io.xdr.XDRSerializable
Overrides:
read in class StdhepRecord
Throws:
IOException

stdecom

public float stdecom()

stdseed1

public double stdseed1()

stdseed2

public double stdseed2()

stdxsec

public float stdxsec()

write

public void write(hep.io.xdr.XDRDataOutput xdr)
           throws IOException
Specified by:
write in interface hep.io.xdr.XDRSerializable
Overrides:
write in class hep.io.mcfio.MCFIOBlock
Throws:
IOException


Copyright © 2000-2007 FreeHEP. All Rights Reserved.