]>
Commit | Line | Data |
---|---|---|
4bda3bc1 | 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 | ||
0af12c00 | 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 | |
4bda3bc1 | 12 | |
13 | #include "AliGenExtFile.h" | |
4bda3bc1 | 14 | |
15 | class AliGenBeamGas : public AliGenExtFile | |
16 | { | |
17 | public: | |
18 | AliGenBeamGas(); | |
4bda3bc1 | 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(); | |
0af12c00 | 27 | protected: |
28 | Int_t fInteractions; // Number of interactions | |
198bb1c7 | 29 | private: |
93a2041b | 30 | AliGenBeamGas(const AliGenBeamGas &beamgas); |
31 | AliGenBeamGas & operator=(const AliGenBeamGas &beamgas); | |
4bda3bc1 | 32 | |
0af12c00 | 33 | ClassDef(AliGenBeamGas,1) //Generator for beam gas interactions |
4bda3bc1 | 34 | |
35 | }; | |
36 | #endif | |
37 | ||
38 | ||
39 | ||
40 | ||
41 | ||
42 |