]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSSurvey.cxx
- Reshuffling of the particle codes in AliPID. Now the light nuclei are between the
[u/mrichter/AliRoot.git] / PHOS / AliPHOSSurvey.cxx
index 2d8e0b73c42a00132f636d100e18be24c355d7e0..06a04833c4f5dac7c83bfe8606536ac26f54ea72 100644 (file)
@@ -103,6 +103,11 @@ AliPHOSSurvey::AliPHOSSurvey(const TString &txtFileName)
   Double_t *xReal = new Double_t[fStrNum * 2];//2
   Double_t *zReal = new Double_t[fStrNum * 2];//3
 
+  for (Int_t i = 0; i < fStrNum * 2; ++i) {
+    xReal[i] = 0.;
+    zReal[i] = 0.;
+  }
+  
   for (Int_t i = 0; i < fStrNum * 2; ++i) {
     if (!inputFile) {
       AliError("Error while reading input file.");