]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVGEN/AliGenHalo.h
Option to read gas pressure tables from LHC PR 674.
[u/mrichter/AliRoot.git] / EVGEN / AliGenHalo.h
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     AliGenHalo(const AliGenHalo &Halo);
22     virtual ~AliGenHalo();
23     virtual void Init();
24     virtual void SetFileName(TString filename) {fFileName=TString(filename);}
25     virtual void Generate();
26     AliGenHalo & operator=(const AliGenHalo & rhs);
27  private:
28     void Copy(TObject &Halo) const;
29  protected:
30     FILE *fp;                             // ! Pointer to file
31     TString  fFileName;                   //   Choose the file
32     ClassDef(AliGenHalo,1) // LHC background boundary source (MARS input)
33 };
34 #endif
35
36
37
38
39
40