]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenHalo.h
Add const to SolenoidField() method for correct overwriting from the parent class
[u/mrichter/AliRoot.git] / EVGEN / AliGenHalo.h
index de2d8903c417c01ee3d715a151012d93f5bf0735..e61d49e4e1918cc97d4ea66b79a7a9a20fb29ef4 100644 (file)
@@ -1,31 +1,33 @@
-#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;
-    const Text_t     *fFileName;          //Choose the file
-  
 public:
     AliGenHalo();
     AliGenHalo(Int_t npart);
+    AliGenHalo(const AliGenHalo &Halo);
     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)
+    AliGenHalo & operator=(const AliGenHalo & rhs);
+protected:
+  FILE *fp;                             // ! Pointer to file
+  TString  fFileName;                   //   Choose the file
+  ClassDef(AliGenHalo,1) // LHC background boundary source (MARS input)
 };
 #endif