]> git.uio.no Git - u/mrichter/AliRoot.git/blob - THijing/AliGenBeamGasNew.h
Update of the class ESDMuonFilter. New marcros for creating AOD with muon information...
[u/mrichter/AliRoot.git] / THijing / AliGenBeamGasNew.h
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                               */
5
6 /* $Id$ */
7
8 #include "AliGenCocktail.h"
9
10 //
11 // Class for the simulation of beam gas events with correct timing.
12 // By default HIJING is used as a generator for pO collisions.
13 //
14 // Author: Jochen Klein
15 //
16
17 class AliGenBeamGasNew : public AliGenCocktail
18 {
19  public:
20   AliGenBeamGasNew();
21   virtual ~AliGenBeamGasNew();
22
23   virtual void Generate();
24   void VertexInternal();
25   virtual void Init();
26
27   void SetTimeWindow(Float_t twindow);
28   bool SetRate(Float_t rate);
29   void SetZWindow(Float_t zwindow);
30
31  protected:
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
36
37  private:
38   AliGenBeamGasNew& operator=(const AliGenBeamGasNew &rhs);
39   AliGenBeamGasNew(const AliGenBeamGasNew& rhs);
40   ClassDef(AliGenBeamGasNew,1);
41
42 };
43 #endif