hep.physics.particle.properties
Class DefaultParticlePropertyProvider
- java.lang.Object
-
- hep.physics.particle.properties.DefaultParticlePropertyProvider
-
- All Implemented Interfaces:
- ParticlePropertyProvider
public class DefaultParticlePropertyProvider extends java.lang.Object implements ParticlePropertyProvider
Default table of particle properties used byParticlePropertyProvider.- See Also:
ParticlePropertyProvider
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ParticleTypeget(int PDGID)Get the properties for a particular particle.java.util.Settypes()Returns a List of all particle types defined by this Particle Property Provider
-
-
-
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 returns 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:
getin interfaceParticlePropertyProvider
-
types
public java.util.Set types()
Description copied from interface:ParticlePropertyProviderReturns a List of all particle types defined by this Particle Property Provider- Specified by:
typesin interfaceParticlePropertyProvider
-
-
DMelt 3.0 © DataMelt by jWork.ORG