X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;ds=sidebyside;f=FMD%2FAliFMD2.cxx;h=8e86894a199a16be8a9d3f54a0354dbab7fff1ef;hb=330d876fef155191dceb4a41a61949235db77ca7;hp=a62546e717015348ba448bf308886bc7b85c4c4b;hpb=ed82d35ec5e88ef7df1d7a5baa882467571fe3c7;p=u%2Fmrichter%2FAliRoot.git diff --git a/FMD/AliFMD2.cxx b/FMD/AliFMD2.cxx index a62546e7170..8e86894a199 100644 --- a/FMD/AliFMD2.cxx +++ b/FMD/AliFMD2.cxx @@ -45,9 +45,13 @@ AliFMD2::AliFMD2(AliFMDRing* inner, AliFMDRing* outer) // Constructor // SetInnerZ(83.4); // SetOuterZ(75.2); - AliWarning("Z position of FMD2 rings may be wrong by 2.35cm!"); - SetInnerZ(83.4+2.35); - SetOuterZ(75.2+2.35); + // Double_t off = 0.414256-0.1963; // 2.35 + Double_t off = 0; // 0.414256-0.1963+.27; // 2.35 + if (off < 0) off = 0; + if (off != 0) + AliWarning(Form("Z position of FMD2 rings may be wrong by %fcm!", off)); + SetInnerZ(83.4+off); + SetOuterZ(75.2+off); }