View Javadoc

1   package org.lcsim.recon.tracking.trflayer;
2   // Independent detector simulators (single inheritance).
3   import org.lcsim.recon.tracking.trfutil.Assert;
4   //**********************************************************************
5   
6   // Simulator composed of one layer simulator.
7   
8   public class OneLayerDetectorSimulatorTest extends DetectorSimulator
9   {
10      
11      // constructor
12      public OneLayerDetectorSimulatorTest(  Detector det,
13              String name, LayerSimulator lsim)
14      {
15          super(det);
16          DetSimReturnStatus stat = addLayerSimulator(name,lsim);
17          Assert.assertTrue( stat == DetSimReturnStatus.OK );
18      }
19      
20  }
21