GeomConverter/test/org/lcsim/detector
diff -u -r1.3 -r1.4
--- ShapeRotateTest.java 29 Mar 2007 22:27:52 -0000 1.3
+++ ShapeRotateTest.java 29 Mar 2007 22:43:19 -0000 1.4
@@ -76,10 +76,12 @@
Box box2 = new Box("box2", 10,10,10);
ILogicalVolume lv2 = new LogicalVolume("test2",box2,dummymat);
Hep3Vector t1 = new BasicHep3Vector(25,0,0);
+ Rotation3D r1 = new Rotation3D();
+ r1.setPassiveXYZ(0, 0, Math.PI/8);
IPhysicalVolume pv1 =
new PhysicalVolume(
- new Transform3D(t1),
+ new Transform3D(t1,r1),
"box2",
lv2,
lv1,
@@ -230,10 +232,7 @@
typeX.addAttValue("fill",true);
typeX.addAttValue("fillColor",Color.GREEN);
typeX.addAttValue("MarkName","Box");
- typeX.addAttDef("dEdx", "Hit dEdx", "physics", "");
- typeX.addAttDef("time", "Hit time", "physics", "");
- typeX.addAttDef("mcEnergy", "MC Particle Energy", "physics", "");
-
+
for (Hep3Vector p : points )
{
HepRepInstance instanceX = factory.createHepRepInstance(instanceTree, typeX);