]>
Commit | Line | Data |
---|---|---|
f87cfe57 | 1 | #ifndef ALIGENHALO_H |
2 | #define ALIGENHALO_H | |
3da30618 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
f87cfe57 | 8 | |
fe4da5cc | 9 | #include "AliGenerator.h" |
bd1cece1 | 10 | #include <TString.h> |
675e9664 | 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 | |
fe4da5cc | 15 | |
16 | class AliGenHalo : public AliGenerator | |
17 | { | |
198bb1c7 | 18 | public: |
fe4da5cc | 19 | AliGenHalo(); |
20 | AliGenHalo(Int_t npart); | |
21 | virtual ~AliGenHalo(); | |
22 | virtual void Init(); | |
bd1cece1 | 23 | virtual void SetFileName(TString filename) {fFileName=TString(filename);} |
fe4da5cc | 24 | virtual void Generate(); |
198bb1c7 | 25 | protected: |
26 | FILE *fp; // ! Pointer to file | |
27 | TString fFileName; // Choose the file | |
ac3faee4 | 28 | private: |
93a2041b | 29 | AliGenHalo(const AliGenHalo &Halo); |
30 | AliGenHalo & operator=(const AliGenHalo & rhs); | |
31 | ||
198bb1c7 | 32 | ClassDef(AliGenHalo,1) // LHC background boundary source (MARS input) |
fe4da5cc | 33 | }; |
34 | #endif | |
35 | ||
36 | ||
37 | ||
38 | ||
39 | ||
40 |