lcsim/src/org/lcsim/util/lcio
diff -u -r1.11 -r1.12
--- SIOMCParticle.java 17 Oct 2007 02:06:23 -0000 1.11
+++ SIOMCParticle.java 12 Mar 2011 12:11:39 -0000 1.12
@@ -20,9 +20,9 @@
/**
*
* @author Tony Johnson
- * @version $Id: SIOMCParticle.java,v 1.11 2007/10/17 02:06:23 tonyj Exp $
+ * @version $Id: SIOMCParticle.java,v 1.12 2011/03/12 12:11:39 grefe Exp $
*/
-class SIOMCParticle implements MCParticle
+public class SIOMCParticle implements MCParticle
{
private int pdg;
private int generatorStatus;
@@ -115,6 +115,9 @@
if (parents == null) parents = new ArrayList<MCParticle>();
parents.add(parent);
}
+ public void setTime(double newTime) {
+ time = (float) newTime;
+ }
public ParticleType getType()
{
return ParticlePropertyManager.getParticlePropertyProvider().get(pdg);