Print

Print


Author: [log in to unmask]
Date: Thu Sep 10 10:57:55 2015
New Revision: 3577

Log:
Fix accounting of events passing the cuts

Modified:
    java/trunk/recon/src/main/java/org/hps/recon/filtering/MollerCandidateFilter.java

Modified: java/trunk/recon/src/main/java/org/hps/recon/filtering/MollerCandidateFilter.java
 =============================================================================
--- java/trunk/recon/src/main/java/org/hps/recon/filtering/MollerCandidateFilter.java	(original)
+++ java/trunk/recon/src/main/java/org/hps/recon/filtering/MollerCandidateFilter.java	Thu Sep 10 10:57:55 2015
@@ -87,8 +87,8 @@
             if (abs(t1 - t2) > _clusterTimingCut) {
                 skipEvent();
             }
-            incrementEventPassed();
         }
+        incrementEventPassed();
     }
 
     /**
@@ -136,14 +136,14 @@
     public void setMollerMomentumMax(double d) {
         _fullEnergyCut = d;
     }
-    
+
     /**
-     * Setting a tight constraint requires one and only one candidate in the event
-     * 
+     * Setting a tight constraint requires one and only one candidate in the
+     * event
+     *
      * @param b
      */
-    public void setTightConstraint(boolean b)
-    {
+    public void setTightConstraint(boolean b) {
         _tight = b;
     }
 }