Material budget in front of three PHOS modules in sector numbers 13, 14 and 15: fixed bug
authordecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Feb 2008 09:34:54 +0000 (09:34 +0000)
committerdecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Feb 2008 09:34:54 +0000 (09:34 +0000)
TOF/AliTOFv6T0.cxx

index b539a4f..fddd4bb 100644 (file)
@@ -1030,13 +1030,13 @@ void AliTOFv6T0::MakeBackInBTOFvolumes(Float_t ytof) const
   for(Int_t isec=0; isec<fTOFGeometry->NSectors(); isec++) {
     if(fTOFSectors[isec]==-1)continue;
     sprintf(name, "BTOF%d",isec);
-    if (!fgkFEAwithMasks[isec])
-      gMC->Gspos("FAIC", 0, name, xcoor, ycoor, zcoor, idrotm[0], "ONLY");
+    if (fgkFEAwithMasks[isec])
+      gMC->Gspos("FAIA", 0, name, xcoor, ycoor, zcoor, idrotm[0], "ONLY");
     else {
       if (fTOFHoles && (isec==13 || isec==14 || isec==15))
        gMC->Gspos("FAIB", 0, name, xcoor, ycoor, zcoor, idrotm[0], "ONLY");
       else
-       gMC->Gspos("FAIA", 0, name, xcoor, ycoor, zcoor, idrotm[0], "ONLY");
+       gMC->Gspos("FAIC", 0, name, xcoor, ycoor, zcoor, idrotm[0], "ONLY");
     }
   }