Commit in lcsim/src/org/lcsim/mc/fast on MAIN | |||
MCFast.java | +6 | 1.3 -> 1.4 |
add constructor with long seed argument for random number init
diff -u -r1.3 -r1.4 --- MCFast.java 9 Aug 2005 18:34:46 -0000 1.3 +++ MCFast.java 14 Oct 2005 17:33:01 -0000 1.4 @@ -19,6 +19,12 @@
add(new MCFastReconstructedParticleDriver()); }
+ public MCFast(boolean beamSpotConstraint, boolean simple, long seed) + { + this(beamSpotConstraint, simple); + getRandom().setSeed(seed); + } +
public MCFast() { this(false,false);