]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVGEN/AliGenExtFile.h
Add a protection for the case of not used dictionary and a setter for the recoParam
[u/mrichter/AliRoot.git] / EVGEN / AliGenExtFile.h
index ad3e6c0e9f70168d043a0cef9d7c74405ded6796..b39a8d824e1e9a801c06054ce523e04c988b05e4 100644 (file)
@@ -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
 };