View Javadoc

1   package org.lcsim.recon.tracking.trflayer;
2   import java.util.*;
3   
4   import org.lcsim.recon.tracking.trfbase.VTrack;
5   import org.lcsim.recon.tracking.trfutil.RandomGenerator;
6   import org.lcsim.recon.tracking.trfutil.RandomGeneratorTest;
7   
8   public class LayerSimulatorTest extends LayerSimulator
9   {
10      
11      private RandomGenerator _gen;
12      
13      
14      public LayerSimulatorTest(Layer lyr)
15      {
16          super(lyr);
17          _gen = new RandomGeneratorTest(1.,2.);
18      }
19      
20      
21      public  List generators()
22      {
23          List tmp = new ArrayList();
24          tmp.add(_gen);
25          return tmp;
26      }
27      
28      
29      public void addClusters( VTrack trv, int mcid)
30      { }
31      
32      public String toString()
33      {
34          return "Dummy layer simulator.";
35          
36      }
37  }