lcsim/src/org/lcsim/recon/pfa/output
diff -u -r1.2 -r1.3
--- MassPlots.java 1 May 2008 22:56:29 -0000 1.2
+++ MassPlots.java 5 Jun 2008 00:18:02 -0000 1.3
@@ -97,7 +97,12 @@
int m_eventCount;
protected void process(EventHeader event)
{
- super.process(event);
+ try {
+ super.process(event);
+ } catch(FixNumberOfJetsFinder.NumJetsNotFoundException e) {
+ System.out.println("NumJetsNoFoundException: "+e.getMessage());
+ return;
+ }
// Event cut: Both reconstructed jets have cos(theta) < 0.8
// Event cut 2: Both quarks have cos(theta) < 0.8
@@ -220,6 +225,7 @@
//System.out.println("DEBUG: Checkpoint at "+m_eventCount);
try { m_tree.commit(); } catch(IOException ioe1) { ioe1.printStackTrace(); }
}
+
}
public void suspend() {
@@ -271,4 +277,5 @@
// Done
super.suspend();
}
+
}