]>
Commit | Line | Data |
---|---|---|
14ab5373 | 1 | #ifndef ALIGENHALOPROTVINO_H |
2 | #define ALIGENHALOPROTVINO_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 AliGenHaloProtvino : public AliGenerator | |
17 | { | |
18 | public: | |
19 | AliGenHaloProtvino(); | |
20 | AliGenHaloProtvino(Int_t npart); | |
21 | AliGenHaloProtvino(const AliGenHaloProtvino &HaloProtvino); | |
22 | virtual ~AliGenHaloProtvino(); | |
23 | virtual void Init(); | |
24 | virtual void SetFileName(TString filename) {fFileName=TString(filename);} | |
25 | virtual void Generate(); | |
26 | virtual Float_t GassPressureWeight(Float_t zPrimary); | |
154d524b | 27 | virtual void SetSide(Int_t flag = 1) {fSide = flag;} |
05df024b | 28 | virtual void SetNskip(Int_t nskip) {fNskip = nskip;} |
29 | ||
14ab5373 | 30 | AliGenHaloProtvino & operator=(const AliGenHaloProtvino & rhs); |
31 | ||
32 | protected: | |
154d524b | 33 | FILE* fFile; // ! Pointer to file |
14ab5373 | 34 | TString fFileName; // Choose the file |
154d524b | 35 | Int_t fSide; // Muon arm side (1) / Castor side (-1) |
05df024b | 36 | Int_t fNskip; // |
154d524b | 37 | |
38 | ClassDef(AliGenHaloProtvino,1) // LHC background boundary source (Protvino Group results) | |
14ab5373 | 39 | }; |
40 | #endif | |
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 |