3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
12 class AliGenReader : public TObject
16 AliGenReader(const AliGenReader &reader){;}
18 virtual ~AliGenReader(){;}
20 virtual void Init() {}
21 // set file name of data file
22 virtual void SetFileName(const Text_t *filname) {fFileName=filname;}
24 virtual Int_t NextEvent(){return 0;}
25 enum Code_t {kPDG, kGEANT3};
26 void SetParticleCode(Code_t code) {fCode = code;}
27 virtual TParticle* NextParticle(){return NULL;}
29 AliGenReader & operator=(const AliGenReader & rhs);
31 const Text_t *fFileName; // Name of file to read from
32 Code_t fCode; // Particle code type
34 ClassDef(AliGenReader,1) //Generate particles from external file