X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=FMD%2FAliFMDSurveyToAlignObjs.cxx;h=cbfb403e71613b51b30541a204c1a856cfcdb916;hb=f0465e68ed0e6cef2ac66ad03502329dc63580bd;hp=1e7f2eb872f0aad62cdaad53cb99aa43805eda03;hpb=9956d45393c7b654addabeb5710dc519eabc90c8;p=u%2Fmrichter%2FAliRoot.git diff --git a/FMD/AliFMDSurveyToAlignObjs.cxx b/FMD/AliFMDSurveyToAlignObjs.cxx index 1e7f2eb872f..cbfb403e716 100644 --- a/FMD/AliFMDSurveyToAlignObjs.cxx +++ b/FMD/AliFMDSurveyToAlignObjs.cxx @@ -318,6 +318,8 @@ namespace { { static Double_t off = 0; return off; + +#if 0 if (off != 0) return off; const char* lidN = "FMD1_lid_mat0"; @@ -333,6 +335,7 @@ namespace { off = lidZ-3.3; return off; +#endif } } @@ -670,8 +673,7 @@ AliFMDSurveyToAlignObjs::FillDefaultAlignObjs() const char* side = sides; while (*side) { TString path = TString::Format("FMD/FMD%d_%c", d, *side); - AliAlignObjParams* p = FindAlignObj(path); - if (!p) p = CreateDefaultAlignObj(path, 0); + if (!FindAlignObj(path)) CreateDefaultAlignObj(path, 0); const char halves[] = { 'I', d == 1 ? '\0' : 'O', 0 }; const char* half = halves;