correct creation of alignment objects in global c.s., not local
authorjklay <jklay@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Jul 2010 08:50:08 +0000 (08:50 +0000)
committerjklay <jklay@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Jul 2010 08:50:08 +0000 (08:50 +0000)
EMCAL/AliEMCALSurvey.cxx

index 04522d2..dc6b4ef 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;