lcsim/src/org/lcsim/mc/fast/reconstructedparticle
diff -u -r1.11 -r1.12
--- MCFastReconstructedParticleDriver.java 8 Sep 2006 03:19:45 -0000 1.11
+++ MCFastReconstructedParticleDriver.java 16 Feb 2007 01:34:35 -0000 1.12
@@ -169,7 +169,7 @@
{
ReconEMCluster emc = (ReconEMCluster) c;
p = emc.getMCParticle();
- if(abs(p.getCharge()) > 0.) continue;
+ if(m_ct.get(c) != null) continue;
type = photon;
if (hist)
{
@@ -181,7 +181,7 @@
{
ReconHADCluster emc = (ReconHADCluster) c;
p = emc.getMCParticle();
- if(abs(p.getCharge()) > 0.) continue;
+ if(m_ct.get(c) != null) continue;
int pdgid = p.getPDGID();
if (hist)
{