]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTriggerGeometryBuilder.cxx
Rotate MUON trigger chambers around the x-axis with 0.794 degrees
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerGeometryBuilder.cxx
index ec490dff4e06ca547dc563c48cf4844e1fb977bf..b7e3daaf33385cd5ad1369ee6a3ce09e649ae23e 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);
 }
 
 //______________________________________________________________________________