]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coverity correction.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 Jan 2011 21:11:09 +0000 (21:11 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 Jan 2011 21:11:09 +0000 (21:11 +0000)
STRUCT/AliABSO.cxx

index b5c9cf8c833715cbbdef16411dc36cbd1716d1c9..f6e86eff665a692d0e8308d991cef88f33ce2587 100644 (file)
@@ -51,6 +51,15 @@ AliABSO::AliABSO()
   //
   // Default constructor
   //
+    for (Int_t i = 0; i < 2; i++) 
+    {
+       fNLayers[i] = 0;
+       for (Int_t j = 0; j < 15; j++) 
+       {
+           fZLayers[i][j] = 0.;
+           fMLayers[i][j] = 0;
+       }
+    }
 }
  
 //_____________________________________________________________________________
@@ -60,9 +69,15 @@ AliABSO::AliABSO(const char *name, const char *title)
   //
   // Standard constructor
   //
-  //PH  SetMarkerColor(7);
-  //PH  SetMarkerStyle(2);
-  //PH  SetMarkerSize(0.4);
+    for (Int_t i = 0; i < 2; i++) 
+    {
+       fNLayers[i] = 0;
+       for (Int_t j = 0; j < 15; j++) 
+       {
+           fZLayers[i][j] = 0.;
+           fMLayers[i][j] = 0;
+       }
+    }
 }
  
 //_____________________________________________________________________________