#ifndef _PhotosHepMCEvent_h_included_ #define _PhotosHepMCEvent_h_included_ /** * @class PhotosHepMCEvent * * @brief Interface to HepMC::GenEvent objects * * This class implements the virtual methods of * PhotosEvent. In this way it provides an * interface between the generic PhotosEvent class * and a HepMC::GenEvent object. * * @author Nadia Davidson * @date 17 June 2008 * * This code is licensed under GNU General Public Licence. * For more informations, see: http://www.gnu.org/licenses/ */ #include #include "HepMC/GenEvent.h" #include "PhotosEvent.h" #include "PhotosParticle.h" namespace Photospp { class PhotosHepMCEvent : public PhotosEvent { public: ~PhotosHepMCEvent(); /** Constructor which keeps a pointer to the HepMC::GenEvent*/ PhotosHepMCEvent(HepMC::GenEvent * event); /** Returns the HepMC::GenEvent */ HepMC::GenEvent * getEvent(); /** Returns the list of particles */ std::vector getParticleList(); /** Prints event summary */ void print(); private: /** The event */ HepMC::GenEvent * m_event; /** Particle list */ std::vector particles; }; } // namespace Photospp #endif