1 #ifndef ALIGENBEAMGASNEW_H
2 #define ALIGENBEAMGASNEW_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 #include "AliGenCocktail.h"
11 // Class for the simulation of beam gas events with correct timing.
12 // By default HIJING is used as a generator for pO collisions.
14 // Author: Jochen Klein
17 class AliGenBeamGasNew : public AliGenCocktail
21 virtual ~AliGenBeamGasNew();
23 virtual void Generate();
24 void VertexInternal();
27 void SetTimeWindow(Float_t twindow);
28 bool SetRate(Float_t rate);
29 void SetZWindow(Float_t zwindow);
32 Float_t fItime; // time of bg-interaction
33 Float_t fTwindow; // time-window in which tpc-gate is open
34 Float_t fZwindow; // extension of simulation in z-direction in cm
35 Float_t fRate; // rate for bg-interaction in Hz/m
38 AliGenBeamGasNew& operator=(const AliGenBeamGasNew &rhs);
39 AliGenBeamGasNew(const AliGenBeamGasNew& rhs);
40 ClassDef(AliGenBeamGasNew,1);