]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliGenEventHeader.cxx
AliWarning instead of AliFatal
[u/mrichter/AliRoot.git] / STEER / AliGenEventHeader.cxx
index 3cf1814a161d98f26952dc0d145e5814d832f78d..1ff582f2143f08294d60cd9834a923adeb4fb27d 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.4  2002/10/29 14:26:49  hristov
-Code clean-up (F.Carminati)
-
-Revision 1.3  2001/10/16 07:44:38  morsch
-Initialize  fVertex in all constructors.
-
-Revision 1.2  2001/09/25 11:28:48  morsch
-Possibility to store and retrieve primary vertex position added.
-
-Revision 1.1  2001/05/16 14:57:22  alibrary
-New files for folders and Stack
-
-Revision 1.2  2000/12/21 16:24:06  morsch
-Coding convention clean-up
-
-Revision 1.1  2000/06/15 15:47:48  morsch
-Proposal for an event header class for generated events.
-
-*/
+/* $Id$ */
 
+//---------------------------------------------------------------------
 // Event header base class for generator. 
 // Stores as a minimum the date, run number, event number,
 // number of particles produced  
 // and the impact parameter.
-// 
 // Author: andreas.morsch@cern.ch
+//---------------------------------------------------------------------
 
 #include "AliGenEventHeader.h"
 ClassImp(AliGenEventHeader)
@@ -84,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);