StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PhotosHepMCEvent.h
1 #ifndef _PhotosHepMCEvent_h_included_
2 #define _PhotosHepMCEvent_h_included_
3 
21 #include <vector>
22 #include "HepMC/GenEvent.h"
23 #include "PhotosEvent.h"
24 #include "PhotosParticle.h"
25 
26 namespace Photospp
27 {
28 
29 class PhotosHepMCEvent : public PhotosEvent
30 {
31 public:
33 
36 
39 
41  std::vector<PhotosParticle*> getParticleList();
42 
44  void print();
45 private:
47  HepMC::GenEvent * m_event;
49  std::vector<PhotosParticle *> particles;
50 };
51 
52 } // namespace Photospp
53 #endif
HepMC::GenEvent * getEvent()
std::vector< PhotosParticle * > getParticleList()
Interface to HepMC::GenEvent objects.
The GenEvent class is the core of HepMC.
Definition: GenEvent.h:155
Abstract base class for containing the event information.
PhotosHepMCEvent(HepMC::GenEvent *event)