PandaRoot
PhotosEvent.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 _PhotosEvent_h_included_
26 #define _PhotosEvent_h_included_
27 
42 #include <vector>
43 #include "PhotosBranch.h"
44 #include "PhotosParticle.h"
45 using std::vector;
46 
47 namespace Photospp {
48 
49 class PhotosEvent {
50  public:
51  virtual ~PhotosEvent();
52 
54  virtual vector<PhotosParticle *> getParticleList() = 0;
55 
57  virtual void print() = 0;
58 
60  void process();
61 
62  private:
64  vector<PhotosParticle *> filterParticles(vector<PhotosParticle *> particles);
65 
67  vector<PhotosBranch *> m_branch_points;
68 };
69 
70 } // namespace Photospp
71 #endif
Definition: Log.h:54
virtual void print()=0
virtual vector< PhotosParticle * > getParticleList()=0