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 //---------------------------------------------------------------------
19 // Event header base class for generator.
20 // Stores as a minimum the date, run number, event number,
21 // number of particles produced
22 // and the impact parameter.
23 // Author: andreas.morsch@cern.ch
24 //---------------------------------------------------------------------
26 #include "AliGenEventHeader.h"
27 ClassImp(AliGenEventHeader)
30 //_______________________________________________________________________
31 AliGenEventHeader::AliGenEventHeader():
42 //_______________________________________________________________________
43 AliGenEventHeader::AliGenEventHeader(const char * name):
44 TNamed(name, "Event Header"),
55 //_______________________________________________________________________
56 void AliGenEventHeader::SetPrimaryVertex(const TArrayF &o)
59 // Set the primary vertex for the event
66 //_______________________________________________________________________
67 void AliGenEventHeader::PrimaryVertex(TArrayF &o) const
70 // Return the primary vertex for the event