1 #ifndef ALIGENEXTFILE_H
2 #define ALIGENEXTFILE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 // Event generator that can read the old ALICE event format based on CW-ntuples
10 // http://consult.cern.ch/alice/Internal_Notes/1995/32/abstract
11 // Author: andreas.morsch@cern.ch
14 #include "AliGenReader.h"
18 class AliGenExtFile : public AliGenMC
22 AliGenExtFile(Int_t npart);
23 AliGenExtFile(const AliGenExtFile &ext);
24 virtual ~AliGenExtFile();
28 virtual void Generate();
29 AliGenExtFile & operator=(const AliGenExtFile & rhs);
30 void SetReader(AliGenReader* reader) {fReader = reader;}
33 void Copy(TObject&) const;
34 const Text_t *fFileName; //! File to read from
35 AliGenReader *fReader; //! Reader to read the file
37 ClassDef(AliGenExtFile,1) //Generate particles from external file