]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIGENBEAMGAS_H | |
2 | #define ALIGENBEAMGAS_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 | // | |
9 | // Generator to simulate beam gas interactions. | |
10 | // At present single interactions are read from an external file. | |
11 | // Author: andreas.morsch@cern.ch | |
12 | ||
13 | #include "AliGenExtFile.h" | |
14 | ||
15 | class AliGenBeamGas : public AliGenExtFile | |
16 | { | |
17 | public: | |
18 | AliGenBeamGas(); | |
19 | virtual ~AliGenBeamGas(); | |
20 | // | |
21 | virtual void SetNumberOfInteractions(Int_t n) | |
22 | {fInteractions = n;} | |
23 | // Initialise | |
24 | virtual void Init(); | |
25 | // generate event | |
26 | virtual void Generate(); | |
27 | protected: | |
28 | Int_t fInteractions; // Number of interactions | |
29 | private: | |
30 | AliGenBeamGas(const AliGenBeamGas &beamgas); | |
31 | AliGenBeamGas & operator=(const AliGenBeamGas &beamgas); | |
32 | ||
33 | ClassDef(AliGenBeamGas,1) //Generator for beam gas interactions | |
34 | ||
35 | }; | |
36 | #endif | |
37 | ||
38 | ||
39 | ||
40 | ||
41 | ||
42 |