]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVGEN/AliGenHalo.h
Type of fFileName changed to TString, fp has been !-ed.
[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 // Read background particles from a FLUKA boundary source file
12
13 class AliGenHalo : public AliGenerator
14 {
15 public:
16     AliGenHalo();
17     AliGenHalo(Int_t npart);
18     AliGenHalo(const AliGenHalo &Halo);
19     virtual ~AliGenHalo();
20     virtual void Init();
21     virtual void SetFileName(TString filename) {fFileName=TString(filename);}
22     virtual void Generate();
23     AliGenHalo & operator=(const AliGenHalo & rhs);
24 protected:
25   FILE *fp;                             // ! Pointer to file
26   TString  fFileName;                   //   Choose the file
27   ClassDef(AliGenHalo,1) // LHC background boundary source (MARS input)
28 };
29 #endif
30
31
32
33
34
35