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.
- Version:
- $Id:
- Author:
- Tony Johnson (tonyj@slac.stanford.edu)
Constructor Summary |
StdhepEvent(int nevhep,
int nhep,
int[] isthep,
int[] idhep,
int[] jmohep,
int[] jdahep,
double[] phep,
double[] vhep)
|
StdhepEvent
public StdhepEvent(int nevhep,
int nhep,
int[] isthep,
int[] idhep,
int[] jmohep,
int[] jdahep,
double[] phep,
double[] vhep)
read
public void read(XDRDataInput xdr)
throws IOException
- Specified by:
read
in interface XDRSerializable
- Overrides:
read
in class StdhepRecord
IOException
write
public void write(XDRDataOutput xdr)
throws IOException
- Specified by:
write
in interface XDRSerializable
- Overrides:
write
in class MCFIOBlock
IOException
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 String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2002 FreeHEP, All Rights Reserved.