View Javadoc

1   package org.lcsim.recon.tracking.trfutil;
2   public class RandomGeneratorTest extends RandomGenerator
3   {
4       
5       private double _min;
6       private double _max;
7       
8       public RandomGeneratorTest(double min, double max)
9       {
10          _min = min;
11          _max = max;
12      }
13      public RandomGeneratorTest(double min, double max, long seed)
14      {
15          super(seed);
16          _min = min;
17          _max = max;
18      }
19      public RandomGeneratorTest( RandomGeneratorTest rgt)
20      {
21          super(rgt);
22          _min = rgt._min;
23          _max = rgt._max;
24      }
25      public double flat()
26      { return super.flat(_min,_max); }
27      public double gauss()
28      { return super.gauss(); }
29  }