]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coverity corrections.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 23 Jan 2011 19:31:09 +0000 (19:31 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 23 Jan 2011 19:31:09 +0000 (19:31 +0000)
PWG1/AliAnalysisTaskV0QA.cxx

index 5e25e37bab2b18f0c8043b200b89ae1f3d697dc5..6ff96627fdf0b7a5e67333b83988b34bfcc14297 100644 (file)
@@ -111,7 +111,13 @@ fclRefsP(0)
 
  {
   // Default Constructor.
-
+   for (Int_t i = 0; i < AliPID::kSPECIES; i++) {
+     fprobabilityPos[i] = 0.;
+     fprobabilityNeg[i] = 0.;
+   }
+   for (Int_t i = 0; i < 100000; i++) {
+     fLabelsTPC[i] = 0;
+   }
  }
 
 //________________________________________________________________________
@@ -195,6 +201,13 @@ fclRefsN(0),
 fclRefsP(0)
 
  {
+   for (Int_t i = 0; i < AliPID::kSPECIES; i++) {
+     fprobabilityPos[i] = 0.;
+     fprobabilityNeg[i] = 0.;
+   }
+   for (Int_t i = 0; i < 100000; i++) {
+     fLabelsTPC[i] = 0;
+   }
 
    fnEv=0;
    fDim=37;