X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EVGEN%2FAliGenExtFile.h;h=b39a8d824e1e9a801c06054ce523e04c988b05e4;hb=210242697d277db1aae004e8dc90d94a6b598c10;hp=ad3e6c0e9f70168d043a0cef9d7c74405ded6796;hpb=380956c5914ea5e47cee2f6fa75e674557cf9d53;p=u%2Fmrichter%2FAliRoot.git diff --git a/EVGEN/AliGenExtFile.h b/EVGEN/AliGenExtFile.h index ad3e6c0e9f7..b39a8d824e1 100644 --- a/EVGEN/AliGenExtFile.h +++ b/EVGEN/AliGenExtFile.h @@ -6,8 +6,8 @@ /* $Id$ */ -// Event generator that can read the old ALICE event format based on CW-ntuples -// http://consult.cern.ch/alice/Internal_Notes/1995/32/abstract +// Event generator that can read events from a files. +// The reading is performed by a realisation of AliGenReader specific to the file format. // Author: andreas.morsch@cern.ch #include "AliGenMC.h" @@ -20,17 +20,20 @@ class AliGenExtFile : public AliGenMC public: AliGenExtFile(); AliGenExtFile(Int_t npart); - AliGenExtFile(const AliGenExtFile &ext); - virtual ~AliGenExtFile(); + virtual ~AliGenExtFile(); // Initialise virtual void Init(); // generate event virtual void Generate(); - AliGenExtFile & operator=(const AliGenExtFile & rhs); void SetReader(AliGenReader* reader) {fReader = reader;} -protected: + protected: + void CdEventFile(); const Text_t *fFileName; //! File to read from AliGenReader *fReader; //! Reader to read the file + + private: + AliGenExtFile(const AliGenExtFile &ext); + AliGenExtFile & operator=(const AliGenExtFile & rhs); ClassDef(AliGenExtFile,1) //Generate particles from external file };