X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EMCAL%2FAliEMCALSurvey.cxx;h=7782097a479582a252cc0d52c098d092e5d70da1;hb=53e430a387b237ff61f252bc239813dc3e030661;hp=0f38d5056da4c7c8f6b1b066b9680d6f2a37b66e;hpb=7bf75b687e76c8227f3f1c7b976c5206aef25bb3;p=u%2Fmrichter%2FAliRoot.git diff --git a/EMCAL/AliEMCALSurvey.cxx b/EMCAL/AliEMCALSurvey.cxx index 0f38d5056da..7782097a479 100644 --- a/EMCAL/AliEMCALSurvey.cxx +++ b/EMCAL/AliEMCALSurvey.cxx @@ -287,7 +287,7 @@ void AliEMCALSurvey::InitSuperModuleData(const TObjArray *svypts) //Center of supermodules Float_t *pars = geom->GetSuperModulesPars(); Double_t rpos = (geom->GetEnvelop(0) + geom->GetEnvelop(1))/2.; - Double_t phi, phiRad, xpos, ypos, zpos; + Double_t phi=0, phiRad=0, xpos=0, ypos=0, zpos=0; AliEMCALSuperModuleCoords *idealSM = new AliEMCALSuperModuleCoords[fNSuperModule]; for (Int_t smodnum = 0; smodnum < geom->GetNumberOfSuperModules(); ++smodnum) { @@ -475,7 +475,7 @@ void AliEMCALSurvey::InitSuperModuleData(const Double_t *xReal, const Double_t * //Center of supermodules Float_t *pars = geom->GetSuperModulesPars(); Double_t rpos = (geom->GetEnvelop(0) + geom->GetEnvelop(1))/2.; - Double_t phi, phiRad, xpos, ypos, zpos; + Double_t phi=0, phiRad=0, xpos=0, ypos=0, zpos=0; zpos = pars[2];