]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVGEN/AliGenHalo.h
No TF1/TF2 objects with the same name allowed in Root v3-10-01a
[u/mrichter/AliRoot.git] / EVGEN / AliGenHalo.h
CommitLineData
f87cfe57 1#ifndef ALIGENHALO_H
2#define ALIGENHALO_H
3da30618 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
f87cfe57 8
fe4da5cc 9#include "AliGenerator.h"
bd1cece1 10#include <TString.h>
675e9664 11
12// Read background particles from a boundary source
13// Very specialized generator to simulate background from beam halo.
14// Author: andreas.morsch@cern.ch
fe4da5cc 15
16class AliGenHalo : public AliGenerator
17{
198bb1c7 18 public:
fe4da5cc 19 AliGenHalo();
20 AliGenHalo(Int_t npart);
f87cfe57 21 AliGenHalo(const AliGenHalo &Halo);
fe4da5cc 22 virtual ~AliGenHalo();
23 virtual void Init();
bd1cece1 24 virtual void SetFileName(TString filename) {fFileName=TString(filename);}
fe4da5cc 25 virtual void Generate();
f87cfe57 26 AliGenHalo & operator=(const AliGenHalo & rhs);
198bb1c7 27 private:
28 void Copy(AliGenHalo &Halo) const;
29 protected:
30 FILE *fp; // ! Pointer to file
31 TString fFileName; // Choose the file
32 ClassDef(AliGenHalo,1) // LHC background boundary source (MARS input)
fe4da5cc 33};
34#endif
35
36
37
38
39
40