]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIGENHALO_H | |
2 | #define ALIGENHALO_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 | #include "AliGenerator.h" | |
10 | #include <TString.h> | |
11 | ||
12 | // Read background particles from a boundary source | |
13 | // Very specialized generator to simulate background from beam halo. | |
14 | // Author: andreas.morsch@cern.ch | |
15 | ||
16 | class AliGenHalo : public AliGenerator | |
17 | { | |
18 | public: | |
19 | AliGenHalo(); | |
20 | AliGenHalo(Int_t npart); | |
21 | virtual ~AliGenHalo(); | |
22 | virtual void Init(); | |
23 | virtual void SetFileName(TString filename) {fFileName=TString(filename);} | |
24 | virtual void Generate(); | |
25 | protected: | |
26 | FILE *fp; // ! Pointer to file | |
27 | TString fFileName; // Choose the file | |
28 | private: | |
29 | AliGenHalo(const AliGenHalo &Halo); | |
30 | AliGenHalo & operator=(const AliGenHalo & rhs); | |
31 | ||
32 | ClassDef(AliGenHalo,1) // LHC background boundary source (MARS input) | |
33 | }; | |
34 | #endif | |
35 | ||
36 | ||
37 | ||
38 | ||
39 | ||
40 |