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 detector simulator
7   
8   public class OneSubDetectorSimulatorTest extends DetectorSimulator
9   {
10      
11      
12      
13      // constructor
14      public OneSubDetectorSimulatorTest(  Detector det,
15              DetectorSimulator dsim)
16      {
17          super(det);
18          DetSimReturnStatus stat = addDetectorSimulator(dsim);
19          Assert.assertTrue( stat == DetSimReturnStatus.OK );
20      }
21      
22  }