FreeHEP API
Version current

hep.io.stdhep
Class StdhepRunRecord

java.lang.Object
  extended byhep.io.mcfio.MCFIOBlock
      extended byhep.io.stdhep.StdhepRecord
          extended byhep.io.stdhep.StdhepRunRecord
All Implemented Interfaces:
hep.io.stdhep.StdhepConstants, 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,v 1.3 2003/09/16 23:11:54 tonyj Exp $
Author:
Tony Johnson (tonyj@slac.stanford.edu)
Source Code:
StdhepRunRecord.java

Field Summary
 
Fields inherited from class hep.io.stdhep.StdhepRecord
MCFIO_STDHEP, MCFIO_STDHEPBEG, MCFIO_STDHEPEND, MCFIO_STDHEPM, 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(XDRDataInput xdr)
           
 float stdecom()
           
 double stdseed1()
           
 double stdseed2()
           
 float stdxsec()
           
 void write(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
 

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(XDRDataInput xdr)
          throws IOException
Specified by:
read in interface 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(XDRDataOutput xdr)
           throws IOException
Specified by:
write in interface XDRSerializable
Overrides:
write in class MCFIOBlock
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.