]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALSurvey.cxx
correct creation of alignment objects in global c.s., not local
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALSurvey.cxx
index 04522d2f85ac8209e1e39d227ca00567bc1231a9..dc6b4ef0a44a3a7330de3291765525d2e368d533 100644 (file)
@@ -178,12 +178,22 @@ void AliEMCALSurvey::CreateAliAlignObjParams(TClonesArray &array)
       smodName += (smodnum-10+1);
     }    
     AliEMCALSuperModuleDelta t(GetSuperModuleTransformation(smodnum));
+
+    ///////////////////////////////
+    // JLK 13-July-2010
+    //
+    // VERY IMPORTANT!!!!
+    //
+    // All numbers were calculated in ALICE global c.s., which means
+    // that the last argument in the creation of AliAlignObjParams
+    // MUST BE set to true
+    //////////////////////////////
     new(array[arrayInd])
       AliAlignObjParams(
                        smodName.Data(), volid, 
                        t.fXShift, t.fYShift, t.fZShift, 
                        -t.fPsi, -t.fTheta, -t.fPhi, 
-                       false
+                       true
                        );
     ++arrayInd;