Print

Print


Commit in lcsim/src/org/lcsim/contrib/timb/mc/fast on MAIN
MCFast.java+32added 1.1
fastmc modifications Oct 2005 - Feb 2006 

lcsim/src/org/lcsim/contrib/timb/mc/fast
MCFast.java added at 1.1
diff -N MCFast.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ MCFast.java	26 May 2006 07:21:47 -0000	1.1
@@ -0,0 +1,32 @@
+package org.lcsim.mc.fast;
+
+import org.lcsim.mc.fast.cluster.ronan.MCFastRonan;
+import org.lcsim.mc.fast.reconstructedparticle.MCFastReconstructedParticleDriver;
+import org.lcsim.mc.fast.tracking.MCFastTracking;
+import org.lcsim.util.Driver;
+
+/**
+ *
+ * @author Tony Johnson
+ */
+public class MCFast extends Driver
+{
+   /** Creates a new instance of MCFast */
+   public MCFast(boolean beamSpotConstraint, boolean simple)
+   {
+      add(new MCFastTracking(beamSpotConstraint, simple));
+      add(new MCFastRonan());
+      add(new MCFastReconstructedParticleDriver());
+   }
+   
+   public MCFast(boolean beamSpotConstraint, boolean simple, long seed)
+   {
+      this(beamSpotConstraint, simple);
+      getRandom().setSeed(seed);
+   }
+   
+   public MCFast()
+   {
+       this(false,false);
+   }
+}
CVSspam 0.2.8