Replacing Header with Id
[u/mrichter/AliRoot.git] / STEER / AliGenEventHeader.h
CommitLineData
56a10437 1#ifndef ALIGENEVENTHEADER_H
2#define ALIGENEVENTHEADER_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
9#include <TNamed.h>
c6675d58 10#include <TArrayF.h>
56a10437 11
12class AliGenEventHeader : public TNamed
13{
14 public:
15
9e1a0ddb 16 AliGenEventHeader(const char* name);
17 AliGenEventHeader();
56a10437 18 virtual ~AliGenEventHeader() {}
19 // Getters
116cbefd 20 virtual Int_t NProduced() const {return fNProduced;}
c6675d58 21 virtual void PrimaryVertex(TArrayF &o) const;
22
56a10437 23 // Setters
56a10437 24 virtual void SetNProduced(Int_t nprod) {fNProduced=nprod;}
c6675d58 25 virtual void SetPrimaryVertex(const TArrayF &o);
56a10437 26
27protected:
56a10437 28 Int_t fNProduced; // Number stable or undecayed particles
c6675d58 29 TArrayF fVertex; // Primary Vertex Position
9cb01e01 30 ClassDef(AliGenEventHeader,2) // Event header for primary event
56a10437 31};
32
33#endif