X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=EVGEN%2FAliGenReaderCwn.h;h=95d4a60039d05cee5ef19f0b5a08bbf591bf2c00;hp=a064488b0f0dcbee902d4adaabca9b87ee20a322;hb=2524c56fba4a86dcf43cea061a46c0def80b5b5b;hpb=198bb1c7ab5437cd36dc37692d7ad850220b43fd;ds=sidebyside diff --git a/EVGEN/AliGenReaderCwn.h b/EVGEN/AliGenReaderCwn.h index a064488b0f0..95d4a60039d 100644 --- a/EVGEN/AliGenReaderCwn.h +++ b/EVGEN/AliGenReaderCwn.h @@ -5,7 +5,13 @@ /* $Id$ */ +// +// Realisation of AliGenReader to be used with AliGenExtFile +// It reads events from a ntuple like event structure. +// Author: andreas.morsch@cern.ch +// #include "AliGenReader.h" +#include class AliGenReaderCwn : public AliGenReader @@ -21,9 +27,8 @@ class AliGenReaderCwn : public AliGenReader // 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 @@ -40,6 +45,8 @@ class AliGenReaderCwn : public AliGenReader Float_t fPhi; // Phi Float_t fP; // Total momentum Float_t fE; // Total energy + private: + void Copy(TObject&) const; ClassDef(AliGenReaderCwn,1) // Read particles from cwn-ntuple }; #endif