corrected TRD/TOF MV position
[u/mrichter/AliRoot.git] / THijing / AliGenBeamGasNew.h
CommitLineData
e3bd319d 1#ifndef ALIGENBEAMGASNEW_H
2#define ALIGENBEAMGASNEW_H
520b9406 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
e3bd319d 5
6/* $Id$ */
7
8#include "AliGenCocktail.h"
9
520b9406 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
e3bd319d 17class AliGenBeamGasNew : public AliGenCocktail
18{
19 public:
20 AliGenBeamGasNew();
21 virtual ~AliGenBeamGasNew();
520b9406 22
e3bd319d 23 virtual void Generate();
24 void VertexInternal();
25 virtual void Init();
26
520b9406 27 void SetTimeWindow(Float_t twindow);
28 bool SetRate(Float_t rate);
29 void SetZWindow(Float_t zwindow);
30
e3bd319d 31 protected:
32 Float_t fItime; // time of bg-interaction
33 Float_t fTwindow; // time-window in which tpc-gate is open
520b9406 34 Float_t fZwindow; // extension of simulation in z-direction in cm
35 Float_t fRate; // rate for bg-interaction in Hz/m
e3bd319d 36
520b9406 37 private:
38 AliGenBeamGasNew& operator=(const AliGenBeamGasNew &rhs);
39 AliGenBeamGasNew(const AliGenBeamGasNew& rhs);
e3bd319d 40 ClassDef(AliGenBeamGasNew,1);
41
42};
43#endif