hep.physics
Class DefaultParticlePropertyProvider

java.lang.Object
  |
  +--hep.physics.DefaultParticlePropertyProvider
All Implemented Interfaces:
ParticlePropertyProvider

public class DefaultParticlePropertyProvider
extends java.lang.Object
implements ParticlePropertyProvider

Default table of particle properties used by ParticlePropertyProvider.

See Also:
ParticlePropertyProvider

Constructor Summary
protected DefaultParticlePropertyProvider()
          Default constructor, can be called from superclasses
 
Method Summary
 ParticleType get(int PDGID)
          Get the properties for a particular particle.
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultParticlePropertyProvider

protected DefaultParticlePropertyProvider()
Default constructor, can be called from superclasses
Method Detail

get

public ParticleType get(int PDGID)
Get the properties for a particular particle. Note, this method no longer throws UnknownParticleID. It will always return a ParticleType object, from which at least the PDGID can be obtained. Calling other methods on the ParticleType object may cause UnknownParticleID to be thrown if the PDGID is unknown.
Specified by:
get in interface ParticlePropertyProvider

main

public static void main(java.lang.String[] argv)