lcsim/src/org/lcsim/mc/fast
diff -u -r1.5 -r1.6
--- MCFast.java 7 Oct 2006 00:25:26 -0000 1.5
+++ MCFast.java 29 Nov 2007 09:50:06 -0000 1.6
@@ -14,45 +14,56 @@
*/
public class MCFast extends Driver
{
- /** Creates a new instance of MCFast */
+ /** Creates a new instance of MCFast */
- public static Logger log;
+ public static Logger log;
- public MCFast(boolean beamSpotConstraint, boolean simple, long seed, boolean printinfo)
- {
- this(beamSpotConstraint, simple, printinfo);
- getRandom().setSeed(seed);
- }
-
- public MCFast(boolean beamSpotConstraint, boolean simple, boolean printinfo)
- {
- log=getLogger();
- if(printinfo)
- {
- log.setLevel(Level.INFO);
- }
- else
- {
- log.setLevel(Level.WARNING);
- }
- add(new MCFastTracking(beamSpotConstraint, simple));
- add(new MCFastRonan());
- add(new MCFastReconstructedParticleDriver());
- }
-
- public MCFast(boolean beamSpotConstraint, boolean simple)
- {
- this(beamSpotConstraint, simple, false);
- }
-
- public MCFast(boolean beamSpotConstraint, boolean simple, long seed)
- {
- this(beamSpotConstraint, simple, seed, false);
- }
-
- public MCFast()
- {
- this(false,false,false);
- }
+ public MCFast(boolean beamSpotConstraint, boolean simple, long seed, boolean printinfo, boolean refPoint000)
+ {
+ this(beamSpotConstraint, simple, printinfo, refPoint000);
+ getRandom().setSeed(seed);
+ }
+
+ public MCFast(boolean beamSpotConstraint, boolean simple, long seed, boolean printinfo)
+ {
+ this(beamSpotConstraint, simple, printinfo);
+ getRandom().setSeed(seed);
+ }
+
+ public MCFast(boolean beamSpotConstraint, boolean simple, boolean printinfo)
+ {
+ this(beamSpotConstraint, simple, printinfo, true);
+ }
+
+ public MCFast(boolean beamSpotConstraint, boolean simple, boolean printinfo, boolean refPoint000)
+ {
+ log=getLogger();
+ if(printinfo)
+ {
+ log.setLevel(Level.INFO);
+ }
+ else
+ {
+ log.setLevel(Level.WARNING);
+ }
+ add(new MCFastTracking(beamSpotConstraint, simple));
+ add(new MCFastRonan());
+ add(new MCFastReconstructedParticleDriver(refPoint000));
+ }
+
+ public MCFast(boolean beamSpotConstraint, boolean simple)
+ {
+ this(beamSpotConstraint, simple, false);
+ }
+
+ public MCFast(boolean beamSpotConstraint, boolean simple, long seed)
+ {
+ this(beamSpotConstraint, simple, seed, false);
+ }
+
+ public MCFast()
+ {
+ this(false,false);
+ }
}