]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STRUCT/AliDIPOv2.cxx
Coding violations...
[u/mrichter/AliRoot.git] / STRUCT / AliDIPOv2.cxx
index 4184c7f4d6f1c2eeade1cab1119bed8438408b07..12c1fff152b7a849008ae8e6d79b7a6580327418 100644 (file)
 //                                                                           //
 //                                                                           //
 
+#include <TVirtualMC.h>
+
+#include "AliConst.h"
 #include "AliDIPOv2.h"
-#include "AliRun.h"
 #include "AliMagF.h"
-#include "AliConst.h"
+#include "AliRun.h"
  
 ClassImp(AliDIPOv2)
  
@@ -616,8 +618,9 @@ void AliDIPOv2::CreateSpectrometerDipole()
   
   gMC->Gspos("DY2 ", 1, "DDIP",  dx, 0.0,  dz+kZDipole, idrotm[1809], "ONLY");
   gMC->Gspos("DY2 ", 2, "DDIP", -dx, 0.0,  dz+kZDipole, idrotm[1810], "ONLY");
-
-  gMC->Gspos("DDIP", 1, "ALIC", 0., 0., 0., 0, "ONLY");
+  
+  AliMatrix(idrotm[1811], 270., 0., 90., 90., 180., 0.);
+  gMC->Gspos("DDIP", 1, "ALIC", 0., 0., 0., idrotm[1811], "ONLY");
 
   gMC->Gsatt("DDIP", "SEEN", 0);
 //  gMC->Gsatt("DC21", "SEEN", 0);
@@ -635,7 +638,7 @@ void AliDIPOv2::CreateCompensatorDipole()
     Int_t *idtmed = fIdtmed->GetArray()-1799;
     Int_t idrotm[1899];
 //
-    Float_t pbox[3] = {62.5, 62.5, 170.};
+    Float_t pbox[3] = {63., 63., 170.};
     
 //  Mother volumes
     gMC->Gsvolu("DCM0", "BOX", idtmed[1814], pbox, 3);
@@ -755,7 +758,8 @@ void AliDIPOv2::CreateCompensatorDipole()
 
 
     gMC->Gspos("DCBA", 1, "DCM0",  0., -47.5 , 17.5, 0, "ONLY");
-    gMC->Gspos("DCM0", 1, "ALIC",  0., -6.75, -975., 0, "ONLY");
+    AliMatrix(idrotm[1816], 270., 0., 90., 90.,  180., 0.);  
+    gMC->Gspos("DCM0", 1, "ALIC",  0., -6.75,  975., idrotm[1816], "ONLY");
 
 
 }