hep.physics.generator.event
Class GeneratorParticle

java.lang.Object
  |
  +--hep.physics.generator.event.GeneratorParticle
All Implemented Interfaces:
Particle

public class GeneratorParticle
extends java.lang.Object
implements Particle

GeneratorParticle, defines a Generator particle.


Fields inherited from interface hep.physics.Particle
DOCUMENTATION, FINALSTATE, INTERMEDIATE
 
Constructor Summary
GeneratorParticle()
           
 
Method Summary
 void addParent(GeneratorParticle parent)
           
 ParticleEnumeration getDaughters()
          Returns an enumeration of the decay products of this particle
 double getEnergy()
          Energy
 double getMass()
          Mass
 double[] getMomentum()
          Momentum
 double[] getOrigin()
          Point of origin
 double getOriginX()
           
 double getOriginY()
           
 double getOriginZ()
           
 Particle getParent()
          Returns the parent of this particle
 ParticleEnumeration getParents()
          Returns an enumeration of the parent(s) of this particle
 double getProductionTime()
          Production time
 double getPX()
          X component of momentum
 double getPY()
          Y component of momentum
 double getPZ()
          Z component of momentum
 int getStatusCode()
          Status code, one of FINALSTATE, INTERMEDIATE or DOCUMENTATION
 ParticleType getType()
          Particle Type
 void setOrigin(Hep3Vector origin)
           
 void setP(HepLorentzVector p)
           
 void setProductionTime(double prodtime)
           
 void setStatusCode(int status)
           
 void setType(ParticleType ptype)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratorParticle

public GeneratorParticle()
Method Detail

setStatusCode

public void setStatusCode(int status)

setProductionTime

public void setProductionTime(double prodtime)

setType

public void setType(ParticleType ptype)

setOrigin

public void setOrigin(Hep3Vector origin)

setP

public void setP(HepLorentzVector p)

getPX

public double getPX()
Description copied from interface: Particle
X component of momentum
Specified by:
getPX in interface Particle

getPY

public double getPY()
Description copied from interface: Particle
Y component of momentum
Specified by:
getPY in interface Particle

getPZ

public double getPZ()
Description copied from interface: Particle
Z component of momentum
Specified by:
getPZ in interface Particle

getEnergy

public double getEnergy()
Description copied from interface: Particle
Energy
Specified by:
getEnergy in interface Particle

getMass

public double getMass()
Description copied from interface: Particle
Mass
Specified by:
getMass in interface Particle

getOriginX

public double getOriginX()
Specified by:
getOriginX in interface Particle

getOriginY

public double getOriginY()
Specified by:
getOriginY in interface Particle

getOriginZ

public double getOriginZ()
Specified by:
getOriginZ in interface Particle

getProductionTime

public double getProductionTime()
Description copied from interface: Particle
Production time
Specified by:
getProductionTime in interface Particle

getStatusCode

public int getStatusCode()
Description copied from interface: Particle
Status code, one of FINALSTATE, INTERMEDIATE or DOCUMENTATION
Specified by:
getStatusCode in interface Particle

getMomentum

public double[] getMomentum()
Description copied from interface: Particle
Momentum
Specified by:
getMomentum in interface Particle

getOrigin

public double[] getOrigin()
Description copied from interface: Particle
Point of origin
Specified by:
getOrigin in interface Particle

getDaughters

public ParticleEnumeration getDaughters()
Description copied from interface: Particle
Returns an enumeration of the decay products of this particle
Specified by:
getDaughters in interface Particle

getParent

public Particle getParent()
Description copied from interface: Particle
Returns the parent of this particle
Specified by:
getParent in interface Particle

getParents

public ParticleEnumeration getParents()
Description copied from interface: Particle
Returns an enumeration of the parent(s) of this particle
Specified by:
getParents in interface Particle

getType

public ParticleType getType()
Description copied from interface: Particle
Particle Type
Specified by:
getType in interface Particle

addParent

public void addParent(GeneratorParticle parent)