Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:19:18

0001 /*******************************************************************************
0002  * Copyright (c) The JETSCAPE Collaboration, 2018
0003  *
0004  * Modular, task-based framework for simulating all aspects of heavy-ion collisions
0005  * 
0006  * For the list of contributors see AUTHORS.
0007  *
0008  * Report issues at https://github.com/JETSCAPE/JETSCAPE/issues
0009  *
0010  * or via email to bugs.jetscape@gmail.com
0011  *
0012  * Distributed under the GNU General Public License 3.0 (GPLv3 or later).
0013  * See COPYING for details.
0014  ******************************************************************************/
0015 
0016 #ifndef JETSCAPEEVENT_H
0017 #define JETSCAPEEVENT_H
0018 
0019 #include "JetClass.h"
0020 #include "PartonShower.h"
0021 
0022 namespace Jetscape {
0023 
0024 class JetScapeEvent {
0025 
0026 public:
0027   JetScapeEvent();
0028   JetScapeEvent(const JetScapeEvent &c); //copy constructor
0029   ~JetScapeEvent();
0030 
0031   const Parton &getParton(int idx) const;
0032   const vector<Parton> &getPartonCollection() const;
0033   void addParton(Parton &p);
0034   void addPartonShower(shared_ptr<PartonShower> ps);
0035   void deleteParton(int idx);
0036 
0037 private:
0038   vector<Parton> partonCollection;
0039 };
0040 
0041 } // end namespace Jetscape
0042 
0043 #endif