]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Rotated FMD1 half-rings 90 degrees, so that the 3 sensors on long legs
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Apr 2008 07:21:30 +0000 (07:21 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Apr 2008 07:21:30 +0000 (07:21 +0000)
are on the O side.  Double check with Borge.

FMD/AliFMDGeometryBuilder.cxx
FMD/Config.C

index 3804620e2743b0e7d6fa134c4c0d820b7d61aa3d..6f035e2e2606b121638fb5fb21105f4ebf7c846b 100644 (file)
@@ -460,7 +460,10 @@ AliFMDGeometryBuilder::FMD1Geometry(AliFMD1* fmd1,
 
   // Must add this after filling the assembly.
   TGeoVolume* top    = gGeoManager->GetVolume("ALIC");
-  TGeoMatrix* matrix = new TGeoTranslation("FMD1 trans", 0, 0, z);
+  // TGeoMatrix* matrix = new TGeoTranslation("FMD1 trans", 0, 0, z);
+  TGeoRotation* rot = new TGeoRotation("FMD1 rotatation");
+  rot->RotateZ(90);
+  TGeoMatrix* matrix = new TGeoCombiTrans("FMD1 trans", 0, 0, z, rot);
   AliFMDDebug(5, ("Placing volumes %s and %s in ALIC at z=%f", 
                   fmd1TopVolume->GetName(), fmd1BotVolume->GetName(), z));
   top->AddNode(fmd1TopVolume, fmd1->GetId(), matrix);
index 75ce3a8346245e8bea0c9a08a741f7af89274c62..71a5925faa003046dfc14d3ad3fa4c714f8f5bde 100644 (file)
@@ -287,6 +287,7 @@ Config()
       //
       // Libraries needed by GEANT 3.21 
       //
+      gSystem->Load("EGPythia6.so");
       gSystem->Load("libgeant321");
     
       //