hep.physics
Class ParticleProperties

java.lang.Object
  |
  +--hep.physics.ParticleProperties

public class ParticleProperties
extends java.lang.Object

This class represents the collected particle properties. It allows access to the properties of a specific particle via the get method. By default it use DefaultParticleProperties as the source of particle data, but this can be overriden by setting a different ParticlePropertyProvider using the setParticlePropertyProvider method.

See Also:
ParticlePropertyProvider DefaultParticlePropertyProvider

Constructor Summary
ParticleProperties()
           
 
Method Summary
static ParticleType get(int PDGID)
          Get the properties for a specfic particle
static void setParticlePropertyProvider(ParticlePropertyProvider ppp)
          Set an alternate ParticlePropertyProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParticleProperties

public ParticleProperties()
Method Detail

get

public static ParticleType get(int PDGID)
Get the properties for a specfic particle
Parameters:
PDGID - The Particle Data Group ID for the particle of interest

setParticlePropertyProvider

public static void setParticlePropertyProvider(ParticlePropertyProvider ppp)
Set an alternate ParticlePropertyProvider
Parameters:
ppp - the new ParticlePropertyProvider