Coding rule violations corrected.
[u/mrichter/AliRoot.git] / EVGEN / AliGenReaderCwn.h
index 50ebd7da359c52a705b8691380578cdb72ebbaa1..25319262541b99e9c5d2d32c2b197eb44a2bab03 100644 (file)
@@ -13,14 +13,19 @@ class AliGenReaderCwn : public AliGenReader
  public:
     AliGenReaderCwn();
     
-    AliGenReaderCwn(const AliGenReaderCwn &reader){;}
+    AliGenReaderCwn(const AliGenReaderCwn &reader):AliGenReader(reader)
+       {reader.Copy(*this);}
     virtual ~AliGenReaderCwn();
         // Initialise 
     virtual void Init();
     // Read
     virtual Int_t NextEvent();
     virtual TParticle*  NextParticle();
+    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