PandaRoot
PhotosHepMCEvent.h
Go to the documentation of this file.
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 class PhotosHepMCEvent : public PhotosEvent {
29  public:
31 
33  PhotosHepMCEvent(HepMC::GenEvent *event);
34 
36  HepMC::GenEvent *getEvent();
37 
39  std::vector<PhotosParticle *> getParticleList();
40 
42  void print();
43 
44  private:
46  HepMC::GenEvent *m_event;
48  std::vector<PhotosParticle *> particles;
49 };
50 
51 } // namespace Photospp
52 #endif
std::vector< PhotosParticle * > getParticleList()
PhotosHepMCEvent(HepMC::GenEvent *event)
Definition: Log.h:30
HepMC::GenEvent * getEvent()