X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=FMD%2FAliFMD2.cxx;h=8e86894a199a16be8a9d3f54a0354dbab7fff1ef;hb=f0465e68ed0e6cef2ac66ad03502329dc63580bd;hp=9e05ea75f7f3ef4084171df699f223b8289d6d65;hpb=c2fc12580f7bb903a1f061ae3d60882098e8a988;p=u%2Fmrichter%2FAliRoot.git diff --git a/FMD/AliFMD2.cxx b/FMD/AliFMD2.cxx index 9e05ea75f7f..8e86894a199 100644 --- a/FMD/AliFMD2.cxx +++ b/FMD/AliFMD2.cxx @@ -26,9 +26,11 @@ // The FMD2 has two ring, one of both types. // FMD2 is mounted on the space-frame via 4 flanges // Support is not fleshed ot yet. +// Support will be simple compared to FMD3. // #include "AliFMD2.h" // ALIFMD2_H -#include "AliFMDRing.h" // ALIFMDRING_H +#include "AliLog.h" +// #include "AliFMDRing.h" // ALIFMDRING_H //==================================================================== ClassImp(AliFMD2) @@ -41,8 +43,15 @@ AliFMD2::AliFMD2(AliFMDRing* inner, AliFMDRing* outer) : AliFMDDetector(2, inner, outer) { // Constructor - SetInnerZ(83.4); - SetOuterZ(75.2); + // SetInnerZ(83.4); + // SetOuterZ(75.2); + // 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); }