1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 Revision 1.4 2002/10/29 14:26:49 hristov
19 Code clean-up (F.Carminati)
21 Revision 1.3 2001/10/16 07:44:38 morsch
22 Initialize fVertex in all constructors.
24 Revision 1.2 2001/09/25 11:28:48 morsch
25 Possibility to store and retrieve primary vertex position added.
27 Revision 1.1 2001/05/16 14:57:22 alibrary
28 New files for folders and Stack
30 Revision 1.2 2000/12/21 16:24:06 morsch
31 Coding convention clean-up
33 Revision 1.1 2000/06/15 15:47:48 morsch
34 Proposal for an event header class for generated events.
38 // Event header base class for generator.
39 // Stores as a minimum the date, run number, event number,
40 // number of particles produced
41 // and the impact parameter.
43 // Author: andreas.morsch@cern.ch
45 #include "AliGenEventHeader.h"
46 ClassImp(AliGenEventHeader)
49 //_______________________________________________________________________
50 AliGenEventHeader::AliGenEventHeader():
59 //_______________________________________________________________________
60 AliGenEventHeader::AliGenEventHeader(const char * name):
61 TNamed(name, "Event Header"),
70 //_______________________________________________________________________
71 void AliGenEventHeader::SetPrimaryVertex(const TArrayF &o)
74 // Set the primary vertex for the event
81 //_______________________________________________________________________
82 void AliGenEventHeader::PrimaryVertex(TArrayF &o) const
85 // Return the primary vertex for the event