Commit in lcsim/src/org/lcsim/recon/pfa/structural on MAIN
ExampleGenerateLikelihood.java+28added 1.1
RunAndWriteOutPFA.java+51.2 -> 1.3
+33
1 added + 1 modified, total 2 files
MJC: Bit more documentation for PFA

lcsim/src/org/lcsim/recon/pfa/structural
ExampleGenerateLikelihood.java added at 1.1
diff -N ExampleGenerateLikelihood.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ExampleGenerateLikelihood.java	28 Mar 2008 17:10:31 -0000	1.1
@@ -0,0 +1,28 @@
+package org.lcsim.recon.pfa.structural;
+
+import org.lcsim.util.Driver;
+
+/**
+ * A very simple wrapper class that can be used to generate
+ * likelihood distributions. The output is a file called
+ * "likelihood.bin", created in the current working
+ * directory. This can be placed into the detector conditions
+ * database at "structuralPFA/likelihood.bin". This will then
+ * be read in and used when doing actual PFA reconstruction
+ * in subsequent jobs (for the same detector).
+ *
+ * If possible, reconstruction should be done with a likelihood
+ * file generated with the same detector design and a similar jet/CM
+ * energy.
+ *
+ * @author Mat <[log in to unmask]>
+ * @version $Id: ExampleGenerateLikelihood.java,v 1.1 2008/03/28 17:10:31 mcharles Exp $
+ */
+
+public class ExampleGenerateLikelihood extends Driver
+{
+    public ExampleGenerateLikelihood()
+    {
+	add(new org.lcsim.recon.pfa.structural.NonTrivialPFA(true));
+    }
+}

lcsim/src/org/lcsim/recon/pfa/structural
RunAndWriteOutPFA.java 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- RunAndWriteOutPFA.java	26 Mar 2008 20:11:08 -0000	1.2
+++ RunAndWriteOutPFA.java	28 Mar 2008 17:10:31 -0000	1.3
@@ -16,6 +16,10 @@
  * are written to "output-write.aida".
  * 
  * Beware that the LCIO output file will be quite large!
+ * Some attempt is made to slim it down, but if space is
+ * an issue you may need to cut out more of the output
+ * (see code in the writeOutMini() subroutine for how this
+ * is done).
  *
  * There is no acceptance cut built in, since this depends
  * on what kind of event you are looking at.
@@ -34,6 +38,7 @@
 	// Output
 	add(new FlushReconstructedParticlesDriver("DTreeReclusteredParticles", "FlushedDTreeReclusteredParticles", "FlushedDTreeReclusteredClusters"));
 	add(new FlushReconstructedParticlesDriver("DTreeReclusteredParticles_withEoverPveto", "FlushedDTreeReclusteredParticles_withEoverPveto", "FlushedDTreeReclusteredClusters_withEoverPveto"));
+	add(new FlushReconstructedParticlesDriver("DTreeReclusteredParticles_forConfusionMatrix", "Flushed_DTreeReclusteredParticles_forConfusionMatrix", "FlushedClusters_DTreeReclusteredParticles_forConfusionMatrix"));
 	writeOutMini("full.slcio"); // Write out to an LCIO file
 	// Some mass plots
 	add(new MassPlots("DTreeReclusteredParticles", "output-write-reclustered-dtree.aida")); // Make some histograms and write them to a file
CVSspam 0.2.8