Coding rule violations corrected.
[u/mrichter/AliRoot.git] / EVGEN / AliGenReaderCwn.h
index 9fb4ebb565e30c1de6f1c10975e857327ddcf3ed..25319262541b99e9c5d2d32c2b197eb44a2bab03 100644 (file)
@@ -13,14 +13,19 @@ class AliGenReaderCwn : public AliGenReader
  public:
     AliGenReaderCwn();
     
-    AliGenReaderCwn(const AliGenReaderCwn &reader){;}
-    virtual ~AliGenReaderCwn(){;}
-    // Initialise 
+    AliGenReaderCwn(const AliGenReaderCwn &reader):AliGenReader(reader)
+       {reader.Copy(*this);}
+    virtual ~AliGenReaderCwn();
+        // Initialise 
     virtual void Init();
     // Read
     virtual Int_t NextEvent();
     virtual TParticle*  NextParticle();
-    AliGenReaderCwn & operator=(const AliGenReader & rhs){return *this;}
+    virtual void RewindEvent(){;}
+    AliGenReaderCwn & operator=(const AliGenReaderCwn & rhs);
+ private:
+    void Copy(AliGenReaderCwn&) const;
+    
  protected:
     Int_t             fNcurrent;      // points to the next entry
     Int_t             fNparticle;     // particle number in event