X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EVGEN%2FAliGenHalo.h;h=94c190b7d0629f4a2b407b470bb79725f968b4ea;hb=c06eaba23ee037ebbf29e7c84ef6a90971bd1030;hp=7267f7d85d6df745a052475f6854260dbf7091c5;hpb=3da306186bdfe9b8dedf54c4b9cdcf2bff5b132c;p=u%2Fmrichter%2FAliRoot.git diff --git a/EVGEN/AliGenHalo.h b/EVGEN/AliGenHalo.h index 7267f7d85d6..94c190b7d06 100644 --- a/EVGEN/AliGenHalo.h +++ b/EVGEN/AliGenHalo.h @@ -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 -// 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