Print

Print


Commit in lcsim/src/org/lcsim/event/base on MAIN
BaseMCParticle.java+2-231.2 -> 1.3
Removed parent/daughter methods to use the methods from BasicParticle instead.

lcsim/src/org/lcsim/event/base
BaseMCParticle.java 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- BaseMCParticle.java	22 Nov 2010 13:16:27 -0000	1.2
+++ BaseMCParticle.java	15 Feb 2011 23:22:29 -0000	1.3
@@ -3,7 +3,7 @@
  *
  * Created on March 30, 2006, 8:58 AM
  *
- * $Id: BaseMCParticle.java,v 1.2 2010/11/22 13:16:27 grefe Exp $
+ * $Id: BaseMCParticle.java,v 1.3 2011/02/15 23:22:29 grefe Exp $
  */
 
 package org.lcsim.event.base;
@@ -13,8 +13,6 @@
 import hep.physics.vec.BasicHep3Vector;
 import hep.physics.vec.Hep3Vector;
 import hep.physics.vec.HepLorentzVector;
-import java.util.ArrayList;
-import java.util.List;
 import org.lcsim.event.MCParticle;
 
 /**
@@ -24,10 +22,7 @@
  */
 public class BaseMCParticle extends BasicParticle implements MCParticle
 {
-    // TODO resolve whether this should be handled by BasicParticle
-    protected List<MCParticle> _parents = new ArrayList<MCParticle>();
-    protected List<MCParticle> _daughters = new ArrayList<MCParticle>();;
-    
+   
     protected Hep3Vector _endPoint = new BasicHep3Vector(0., 0., 0.);
     
     protected SimulatorStatus _status;
@@ -77,22 +72,6 @@
 // MCParticle interface
     
     /**
-     * The list of parents of this particle 
-     * @return list of parent MCParticles.
-     */
-    public List<MCParticle> getParents()
-    {
-        return _parents;
-    }
-    /**
-     * The list of daughters of this particle
-     * @return list of daughter MCParticles.
-     */
-    public List<MCParticle> getDaughters()
-    {
-        return _daughters;
-    }
-    /**
      * If this event has been simulated by Geant4 this method will return
      * the simulation status
      * @return 
CVSspam 0.2.8