Store total number of produced particles in the header.
[u/mrichter/AliRoot.git] / EVGEN / AliGenBeamGasNew.h
1 #ifndef ALIGENBEAMGASNEW_H
2 #define ALIGENBEAMGASNEW_H
3
4 /* $Id$ */
5
6 #include "AliGenCocktail.h"
7
8 class AliGenBeamGasNew : public AliGenCocktail
9 {
10  public:
11   AliGenBeamGasNew();
12   AliGenBeamGasNew(const AliGenBeamGasNew& rhs);
13   //  AliGenBeamGasNew& operator=(const AliGenBeamGasNew&);
14   virtual ~AliGenBeamGasNew();
15   void SetTimeWindow(Float_t twindow) {fTwindow = twindow;}
16   virtual void Generate();
17   void VertexInternal();
18   virtual void Init();
19
20  protected:
21   Float_t fItime;   // time of bg-interaction
22   Float_t fTwindow; // time-window in which tpc-gate is open
23
24   ClassDef(AliGenBeamGasNew,1);
25
26 };
27 #endif