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.xdr.XDRSerializable
- Direct Known Subclasses:
- StdhepExtendedEvent
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)
| 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)
|
| Methods inherited from class hep.io.mcfio.MCFIOBlock |
getLength |
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
StdhepEvent
public StdhepEvent(int nevhep,
int nhep,
int[] isthep,
int[] idhep,
int[] jmohep,
int[] jdahep,
double[] phep,
double[] vhep)
getIDHEP
public int getIDHEP(int index)
getISTHEP
public int getISTHEP(int index)
getJDAHEP
public int getJDAHEP(int index,
int i)
getJMOHEP
public int getJMOHEP(int index,
int i)
getNEVHEP
public int getNEVHEP()
- The event number
getNHEP
public int getNHEP()
- The number of particles
getPHEP
public double getPHEP(int index,
int i)
getVHEP
public double getVHEP(int index,
int i)
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
toString
public String toString()
- Overrides:
toString in class Object
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.