lcsim/src/org/lcsim/mc/fast/cluster/ronan
diff -u -r1.11 -r1.12
--- MCFastRonan.java 7 Oct 2006 00:25:31 -0000 1.11
+++ MCFastRonan.java 16 Feb 2007 01:34:34 -0000 1.12
@@ -81,7 +81,7 @@
Random rand = getRandom();
// Photons
- if (PDGID == PhotonID || PDGID == ElecID)
+ if (absPDGID == PhotonID || absPDGID == ElecID)
{
// within acceptance
// double thing = (1 - 1 / ( 1 + Math.exp( (E-clusterParm.getEMOnset())*clusterParm.getEMSharpness() ) ));
@@ -103,7 +103,7 @@
}
// Neutral hadrons
- else if (PDGID != MuID)
+ else if (absPDGID != MuID)
{
// within acceptance