]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenHalo.h
Protection needed when reading PDC06 data (v4-04)
[u/mrichter/AliRoot.git] / EVGEN / AliGenHalo.h
index 7267f7d85d6df745a052475f6854260dbf7091c5..94c190b7d0629f4a2b407b470bb79725f968b4ea 100644 (file)
@@ -1,36 +1,35 @@
-#ifndef AliGenHalo_H
-#define AliGenHalo_H
+#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$ */
 
-/////////////////////////////////////////////////////////
-//  Manager and hits classes for set:MUON version 0    //
-/////////////////////////////////////////////////////////
+
 #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