Print

Print


Commit in GeomConverter/test/org/lcsim/geometry/field on MAIN
FieldMap3DTest.java+27added 1.1

GeomConverter/test/org/lcsim/geometry/field
FieldMap3DTest.java added at 1.1
diff -N FieldMap3DTest.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ FieldMap3DTest.java	3 Sep 2013 20:20:13 -0000	1.1
@@ -0,0 +1,27 @@
+package org.lcsim.geometry.field;
+
+import java.io.InputStream;
+import org.lcsim.geometry.Detector;
+import org.lcsim.geometry.FieldMap;
+import org.lcsim.geometry.GeometryReader;
+
+/**
+ *
+ * @author jeremym
+ */
+public class FieldMap3DTest extends FieldTest
+{
+    /** Creates a new instance of RZFieldMapTest */
+    public FieldMap3DTest(String name)
+    {
+        super(name);
+    }
+       
+    public void testRead() throws Exception
+    {
+        InputStream in = this.getClass().getResourceAsStream("/org/lcsim/geometry/field/FieldMap3DTest.xml");        
+        GeometryReader reader = new GeometryReader();
+        Detector det = reader.read(in);
+        FieldMap map = det.getFieldMap();
+    }
+}
\ No newline at end of file
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1