-#ifndef AliGenHalo_H
-#define AliGenHalo_H
-/////////////////////////////////////////////////////////
-// Manager and hits classes for set:MUON version 0 //
-/////////////////////////////////////////////////////////
+#ifndef ALIGENHALO_H
+#define ALIGENHALO_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice */
+
+/* $Id$ */
+
+
#include "AliGenerator.h"
-#include "TNamed.h"
-#include "TF1.h"
-#include "TArrayF.h"
-#include "TTree.h"
+#include <TString.h>
-// Read background particles from a FLUKA boundary source file
+// Read background particles from a boundary source
+// Very specialized generator to simulate background from beam halo.
+// Author: andreas.morsch@cern.ch
class AliGenHalo : public AliGenerator
{
-
-protected:
- FILE *fp; //! Pointer to file
- const Text_t *fFileName; //!Choose the file
-
-public:
+ public:
AliGenHalo();
AliGenHalo(Int_t npart);
virtual ~AliGenHalo();
virtual void Init();
- virtual void SetFileName(const Text_t *filname) {fFileName=filname;}
+ virtual void SetFileName(TString filename) {fFileName=TString(filename);}
virtual void Generate();
- ClassDef(AliGenHalo,1)
+ protected:
+ FILE *fp; // ! Pointer to file
+ TString fFileName; // Choose the file
+ private:
+ AliGenHalo(const AliGenHalo &Halo);
+ AliGenHalo & operator=(const AliGenHalo & rhs);
+
+ ClassDef(AliGenHalo,1) // LHC background boundary source (MARS input)
};
#endif