hep.io.stdhep
Class StdhepEvent

java.lang.Object
  |
  +--hep.io.mcfio.MCFIOBlock
        |
        +--hep.io.stdhep.StdhepRecord
              |
              +--hep.io.stdhep.StdhepEvent
All Implemented Interfaces:
hep.io.stdhep.StdhepConstants, XDRSerializable

public class StdhepEvent
extends StdhepRecord

A stdhep event. This class does not attempt to provide an OO interface to the event, but simply acts as a container for the packed stdhep event record.


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
StdhepEvent(int nevhep, int nhep, int[] isthep, int[] idhep, int[] jmohep, int[] jdahep, double[] phep, double[] vhep)
           
 
Method Summary
 int getIDHEP(int index)
           
 int getISTHEP(int index)
           
 int getJDAHEP(int index, int i)
           
 int getJMOHEP(int index, int i)
           
 int getNEVHEP()
          The event number
 int getNHEP()
          The number of particles
 double getPHEP(int index, int i)
           
 double getVHEP(int index, int i)
           
 void read(XDRDataInput xdr)
           
 java.lang.String toString()
           
 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, wait, wait, wait
 

Constructor Detail

StdhepEvent

public StdhepEvent(int nevhep,
                   int nhep,
                   int[] isthep,
                   int[] idhep,
                   int[] jmohep,
                   int[] jdahep,
                   double[] phep,
                   double[] vhep)
Method Detail

read

public void read(XDRDataInput xdr)
          throws java.io.IOException
Overrides:
read in class StdhepRecord

write

public void write(XDRDataOutput xdr)
           throws java.io.IOException
Overrides:
write in class MCFIOBlock

getNEVHEP

public int getNEVHEP()
The event number

getNHEP

public int getNHEP()
The number of particles

getISTHEP

public int getISTHEP(int index)

getIDHEP

public int getIDHEP(int index)

getJMOHEP

public int getJMOHEP(int index,
                     int i)

getJDAHEP

public int getJDAHEP(int index,
                     int i)

getPHEP

public double getPHEP(int index,
                      int i)

getVHEP

public double getVHEP(int index,
                      int i)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object