]>
Commit | Line | Data |
---|---|---|
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 | ||
0742d588 | 9 | //--------------------------------------------------------------------- |
10 | // Event header base class for generator. | |
11 | // Stores generated event information | |
12 | // Author: andreas.morsch@cern.ch | |
13 | //--------------------------------------------------------------------- | |
14 | ||
56a10437 | 15 | #include <TNamed.h> |
c6675d58 | 16 | #include <TArrayF.h> |
56a10437 | 17 | |
18 | class AliGenEventHeader : public TNamed | |
19 | { | |
20 | public: | |
21 | ||
9e1a0ddb | 22 | AliGenEventHeader(const char* name); |
23 | AliGenEventHeader(); | |
56a10437 | 24 | virtual ~AliGenEventHeader() {} |
25 | // Getters | |
d07f0af2 | 26 | virtual Int_t NProduced() const {return fNProduced;} |
c6675d58 | 27 | virtual void PrimaryVertex(TArrayF &o) const; |
d07f0af2 | 28 | virtual Float_t InteractionTime() const {return fInteractionTime;} |
56a10437 | 29 | // Setters |
56a10437 | 30 | virtual void SetNProduced(Int_t nprod) {fNProduced=nprod;} |
c6675d58 | 31 | virtual void SetPrimaryVertex(const TArrayF &o); |
d07f0af2 | 32 | virtual void SetInteractionTime(Float_t t) {fInteractionTime = t;} |
33 | ||
34 | ||
56a10437 | 35 | protected: |
56a10437 | 36 | Int_t fNProduced; // Number stable or undecayed particles |
c6675d58 | 37 | TArrayF fVertex; // Primary Vertex Position |
d07f0af2 | 38 | Float_t fInteractionTime; // Time of the interaction |
39 | ||
40 | ClassDef(AliGenEventHeader, 3) // Event header for primary event | |
56a10437 | 41 | }; |
42 | ||
43 | #endif |