Rotate MUON trigger chambers around the x-axis with 0.794 degrees
authorvulpescu <vulpescu@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Nov 2009 15:57:49 +0000 (15:57 +0000)
committervulpescu <vulpescu@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Nov 2009 15:57:49 +0000 (15:57 +0000)
MUON/AliMUONTriggerGeometryBuilder.cxx

index ec490df..b7e3daa 100644 (file)
@@ -1696,17 +1696,20 @@ void AliMUONTriggerGeometryBuilder::SetTransformations()
 {
 /// Defines the transformations for the trigger chambers.
 
+    TGeoRotation st345inclination("rotbeam");
+    st345inclination.RotateX(-AliMUONConstants::St345Inclination());
+
     Double_t zpos1= AliMUONConstants::DefaultChamberZ(10); 
-    SetTranslation(16, TGeoTranslation(0., 0., zpos1));
+    SetTransformation(16, TGeoTranslation(0., 0, zpos1), st345inclination);
     
     zpos1= AliMUONConstants::DefaultChamberZ(11); 
-    SetTranslation(17, TGeoTranslation(0., 0., zpos1));
+    SetTransformation(17, TGeoTranslation(0., 0, zpos1), st345inclination);
 
     zpos1= AliMUONConstants::DefaultChamberZ(12); 
-    SetTranslation(18, TGeoTranslation(0., 0., zpos1));
+    SetTransformation(18, TGeoTranslation(0., 0, zpos1), st345inclination);
 
     zpos1= AliMUONConstants::DefaultChamberZ(13); 
-    SetTranslation(19, TGeoTranslation(0., 0., zpos1));
+    SetTransformation(19, TGeoTranslation(0., 0, zpos1), st345inclination);
 }
 
 //______________________________________________________________________________