package hep.physics.particle.properties;
/**
* 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 ParticleType ParticlePropertyProvider DefaultParticlePropertyProvider
* @author Tony Johnson
*/
public class ParticlePropertyManager
{
public static ParticlePropertyProvider getParticlePropertyProvider()
{
return thePPP;
}
public static ParticlePropertyProvider getParticlePropertyProvider(String name)
{
return thePPP;
}
private static final ParticlePropertyProvider thePPP = new DefaultParticlePropertyProvider();
}
Ads help maintain this website.