lcsim/src/org/lcsim/util/lcio
diff -u -r1.7 -r1.8
--- SIOMCParticle.java 30 Sep 2005 21:08:36 -0000 1.7
+++ SIOMCParticle.java 26 Jul 2007 20:41:51 -0000 1.8
@@ -21,7 +21,7 @@
/**
*
* @author Tony Johnson
- * @version $Id: SIOMCParticle.java,v 1.7 2005/09/30 21:08:36 jeremy Exp $
+ * @version $Id: SIOMCParticle.java,v 1.8 2007/07/26 20:41:51 tonyj Exp $
*/
class SIOMCParticle implements MCParticle
{
@@ -223,7 +223,7 @@
out.writeInt(particle.getType().getPDGID());
out.writeInt(particle.getGeneratorStatus());
- boolean hasEndPoint = !particle.getDaughters().isEmpty();
+ boolean hasEndPoint = particle.getDaughters().isEmpty();
int simStatus = particle.getSimulatorStatus().getValue();
simStatus = LCIOUtil.bitSet(simStatus,31,hasEndPoint);
out.writeInt(simStatus);