StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PhotosHEPEVTEvent.h
1 #ifndef _PhotosHEPEVTEvent_h_included_
2 #define _PhotosHEPEVTEvent_h_included_
3 
18 #include <iostream>
19 #include "PhotosEvent.h"
20 #include "PhotosParticle.h"
21 #include "PhotosHEPEVTParticle.h"
22 
23 namespace Photospp
24 {
25 
27 
29 
30  public:
31 
34 
37 
40 
43 
45  void setParticle(int i, PhotosHEPEVTParticle *p);
46 
48  int getParticleCount();
49 
51  std::vector<PhotosParticle*> getParticleList();
52 
54  void print();
55 
57  void clear();
58 
60  static void read_event_from_HEPEVT(PhotosHEPEVTEvent *evt);
61 
63  static void write_event_to_HEPEVT(PhotosHEPEVTEvent *evt);
64 
65  private:
66 
68  std::vector<PhotosHEPEVTParticle*> particle_list;
69 };
70 
71 } // namespace Photospp
72 #endif
73 
std::vector< PhotosParticle * > getParticleList()
PhotosHEPEVTParticle * getParticle(int i)
static void read_event_from_HEPEVT(PhotosHEPEVTEvent *evt)
static void write_event_to_HEPEVT(PhotosHEPEVTEvent *evt)
void setParticle(int i, PhotosHEPEVTParticle *p)
void addParticle(PhotosHEPEVTParticle *p)
Single particle of HEPEVT event record.