]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Set the default size of TArrayF
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Dec 2003 19:24:57 +0000 (19:24 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Dec 2003 19:24:57 +0000 (19:24 +0000)
STEER/AliGenEventHeader.cxx

index 16a7ecabf3d02617c121d8d53e9340ac2eca9045..1ff582f2143f08294d60cd9834a923adeb4fb27d 100644 (file)
@@ -65,6 +65,7 @@ void  AliGenEventHeader::PrimaryVertex(TArrayF &o) const
     //
     // Return the primary vertex for the event
     //
+    o.Set(3);
     o[0] = fVertex.At(0);
     o[1] = fVertex.At(1);
     o[2] = fVertex.At(2);