Commit in lcsim/src/org/lcsim/particle on MAIN
KLong.java+51added 1.1
Added missing K0 long.

lcsim/src/org/lcsim/particle
KLong.java added at 1.1
diff -N KLong.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ KLong.java	15 Jul 2005 22:12:33 -0000	1.1
@@ -0,0 +1,51 @@
+/*
+ * KLong.java
+ *
+ * Created on July 6, 2005, 8:21 PM
+ *
+ * To change this template, choose Tools | Options and locate the template under
+ * the Source Creation and Management node. Right-click the template and choose
+ * Open. You can then make changes to the template in the Source Editor.
+ */
+
+package org.lcsim.particle;
+
+import org.lcsim.particle.ParticleType;
+
+/**
+ *
+ * @author Daniel
+ */
+public class KLong implements ParticleType
+{
+    
+    /** Creates a new instance of KLong */
+    public KLong() 
+    {
+    }
+    
+    public String name()
+    {
+	return ParticleType.KLONG;
+    }
+    
+    public double mass()
+    {
+	return 0.4977;
+    }
+    
+    public int charge()
+    {
+	return 0;
+    }
+    
+    public int pdgId()
+    {
+ 	return 130;
+    }
+    
+    public String toString()
+    {
+	return name()+" "+mass()+" "+charge()+" "+pdgId();
+    }
+}
CVSspam 0.2.8