Mother volume changed from ALIC to YOUT1/YOUT2 (defined in SHIL)
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 May 2006 13:22:22 +0000 (13:22 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 May 2006 13:22:22 +0000 (13:22 +0000)
MUON/AliMUONSlatGeometryBuilder.cxx
MUON/AliMUONSt2GeometryBuilderV2.cxx
MUON/AliMUONTriggerGeometryBuilder.cxx

index 977ce110a15077e021c3e3e516382ce83c79462d..859c191a7ea5be5427af64be7f7880cb2a7d746c 100644 (file)
@@ -1187,7 +1187,15 @@ void AliMUONSlatGeometryBuilder::SetTransformations()
   else {
     SetVolume(4, "CH05");
     SetVolume(5, "CH06");
+  } 
+   
+  if (gAlice->GetModule("SHIL")) {
+    SetMotherVolume(6, "YOUT2");
+    SetMotherVolume(7, "YOUT2");
+    SetMotherVolume(8, "YOUT2");
+    SetMotherVolume(9, "YOUT2");
   }  
+
   SetVolume(6, "CH07");
   SetVolume(7, "CH08");
   SetVolume(8, "CH09");
index c03aef912943a7c1ea85c799167a4816211ced18..bcf50ec5ef0314f48360a5e3d87caf1f6f9566f3 100644 (file)
@@ -785,6 +785,11 @@ void AliMUONSt2GeometryBuilderV2::SetTransformations()
 // Defines the transformations for the station2 chambers.
 // ---
 
+  if (gAlice->GetModule("SHIL")) {
+    SetMotherVolume(2, "YOUT1");
+    SetMotherVolume(3, "YOUT1");
+  }  
+
   // Define chamber volumes as virtual
   SetVolume(2, "SC03", true);
   SetVolume(3, "SC04", true);
index c58891cab3e4f736bdf74971c4b94299df4a7b5e..ed56faa0ca59a689a3623389f04e28c9927c158f 100644 (file)
@@ -26,6 +26,7 @@
 #include <TGeoMatrix.h>
 
 #include "AliLog.h"
+#include "AliRun.h"
 
 #include "AliMUONTriggerGeometryBuilder.h"
 #include "AliMUON.h"
@@ -339,6 +340,13 @@ void AliMUONTriggerGeometryBuilder::SetTransformations()
 // Defines the transformations for the trigger chambers.
 // ---
 
+    if (gAlice->GetModule("SHIL")) {
+      SetMotherVolume(10, "YOUT2");
+      SetMotherVolume(11, "YOUT2");
+      SetMotherVolume(12, "YOUT2");
+      SetMotherVolume(13, "YOUT2");
+    }  
+
     SetVolume(10, "SC11");
     SetVolume(11, "SC12");
     SetVolume(12, "SC13");