]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliV0vertex.cxx
Correct layer index for LayerSize() and LayerName() methods
[u/mrichter/AliRoot.git] / ITS / AliV0vertex.cxx
index 9dd719a0872ca550c576822e2f76830a2e872288..e81b5805bbdaa655020791da524780240953dce6 100644 (file)
@@ -29,6 +29,11 @@ AliV0vertex::AliV0vertex(const AliITStrackV2 &n, const AliITStrackV2 &p) {
   //--------------------------------------------------------------------
   // Main constructor
   //--------------------------------------------------------------------
+  for (Int_t i=0; i<6; i++) {
+    fPosCov[i]= 0.;
+    fNmomCov[i] = 0.;
+    fPmomCov[i] = 0.;
+  }
   fPdgCode=kK0Short;
   fNidx=n.GetLabel(); fPidx=p.GetLabel(); //indices in the array of ESD tracks