// ESAF : Euso Simulation and Analysis Framework // $Id: PhotonsOnPupil.hh,v 1.6 2005/05/08 21:02:46 thea Exp $ // D. De Marco - M. Pallavicini created Jan, 20 2002 #ifndef __PHOTONSONPUPIL_HH_ #define __PHOTONSONPUPIL_HH_ #include "euso.hh" class Photon; class PhotonsOnPupil { public: PhotonsOnPupil(); virtual ~PhotonsOnPupil(); virtual Photon* Get() = 0; virtual void Clear() = 0; virtual void Rewind() { fCurrent = 0; } inline virtual Int_t GetNphotons() const { return fNphotons; } protected: UInt_t fCurrent; // photon counter UInt_t fNphotons; // number of photons to be generated ClassDef(PhotonsOnPupil,0) }; #endif /* __PHOTONSONPUPIL_HH_ */