Print

Print


Commit in lcsim/src/org/lcsim/contrib/Cassell/recon/UI on MAIN
UIReconDriver.java+35added 1.1
Simplified driver for running UI reconstruction

lcsim/src/org/lcsim/contrib/Cassell/recon/UI
UIReconDriver.java added at 1.1
diff -N UIReconDriver.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ UIReconDriver.java	25 Aug 2008 21:08:14 -0000	1.1
@@ -0,0 +1,35 @@
+package org.lcsim.contrib.Cassell.recon.UI;
+import org.lcsim.recon.pfa.structural.*;
+
+import java.util.*;
+import org.lcsim.util.Driver;
+import org.lcsim.event.EventHeader;
+import org.lcsim.util.loop.LCIODriver;
+import org.lcsim.util.*;
+import org.lcsim.event.*;
+import org.lcsim.recon.cluster.structural.likelihood.LikelihoodEvaluatorWrapper;
+import org.lcsim.recon.pfa.output.*;
+
+/**
+ * Example driver to run UI PFA reconstruction.
+ */
+
+public class UIReconDriver extends Driver
+{
+    /** Constructor sets up daughter drivers. */
+    public UIReconDriver()
+    {
+	// Prepare to run PFA: Tracks (includes DigiSim)
+	add(new org.lcsim.contrib.Cassell.recon.Cheat.CheatReconDriver());
+	// Prepare to run PFA: Photon-finding and DirectedTree
+	add(new SetUpDTreeForReclustering());
+
+	// Set up and run PFA
+	add(new ReclusterDTreeDriver("DTreeClusters", "FSReconTracks", "ReconFSParticles"));
+
+	// Output
+	add(new FlushReconstructedParticlesDriver("DTreeReclusteredParticles", "FlushedDTreeReclusteredParticles", "FlushedDTreeReclusteredClusters"));
+    }
+
+
+}
CVSspam 0.2.8