]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/Photos/PhotosHepMCEvent.h
Updates EvtGen Code
[u/mrichter/AliRoot.git] / TEvtGen / Photos / PhotosHepMCEvent.h
CommitLineData
0ca57c2f 1#ifndef _PhotosHepMCEvent_h_included_
2#define _PhotosHepMCEvent_h_included_
3
4/**
5 * @class PhotosHepMCEvent
6 *
7 * @brief Interface to HepMC::GenEvent objects
8 *
9 * This class implements the virtual methods of
10 * PhotosEvent. In this way it provides an
11 * interface between the generic PhotosEvent class
12 * and a HepMC::GenEvent object.
13 *
14 * @author Nadia Davidson
15 * @date 17 June 2008
16 *
17 * This code is licensed under GNU General Public Licence.
18 * For more informations, see: http://www.gnu.org/licenses/
19 */
20
21#include <vector>
22#include "HepMC/GenEvent.h"
23#include "PhotosEvent.h"
24#include "PhotosParticle.h"
25
26namespace Photospp
27{
28
29class PhotosHepMCEvent : public PhotosEvent
30{
31public:
32 ~PhotosHepMCEvent();
33
34 /** Constructor which keeps a pointer to the HepMC::GenEvent*/
35 PhotosHepMCEvent(HepMC::GenEvent * event);
36
37 /** Returns the HepMC::GenEvent */
38 HepMC::GenEvent * getEvent();
39
40 /** Returns the list of particles */
41 std::vector<PhotosParticle*> getParticleList();
42
43 /** Prints event summary */
44 void print();
45private:
46 /** The event */
47 HepMC::GenEvent * m_event;
48 /** Particle list */
49 std::vector<PhotosParticle *> particles;
50};
51
52} // namespace Photospp
53#endif