PandaRoot
PhotosHepMCEvent.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 //****************************************************************************
14 //* This file is part of PandaRoot. *
15 //* *
16 //* PandaRoot is distributed under the terms of the *
17 //* GNU General Public License (GPL) version 3, *
18 //* copied verbatim in the file "LICENSE". *
19 //* *
20 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
21 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
22 //* The authors are listed in the file "AUTHORS". *
23 //****************************************************************************
24 
25 #ifndef _PhotosHepMCEvent_h_included_
26 #define _PhotosHepMCEvent_h_included_
27 
45 #include <vector>
46 #include "HepMC/GenEvent.h"
47 #include "PhotosEvent.h"
48 #include "PhotosParticle.h"
49 
50 namespace Photospp {
51 
52 class PhotosHepMCEvent : public PhotosEvent {
53  public:
55 
57  PhotosHepMCEvent(HepMC::GenEvent *event);
58 
60  HepMC::GenEvent *getEvent();
61 
63  std::vector<PhotosParticle *> getParticleList();
64 
66  void print();
67 
68  private:
70  HepMC::GenEvent *m_event;
72  std::vector<PhotosParticle *> particles;
73 };
74 
75 } // namespace Photospp
76 #endif
std::vector< PhotosParticle * > getParticleList()
PhotosHepMCEvent(HepMC::GenEvent *event)
Definition: Log.h:54
HepMC::GenEvent * getEvent()