![]() |
|
|||
File indexing completed on 2025-08-05 08:19:17
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 HADRONIZATIONMODULE_H 0017 #define HADRONIZATIONMODULE_H 0018 0019 #include "Hadronization.h" 0020 0021 namespace Jetscape { 0022 0023 template <typename Derived> class HadronizationModule : public Hadronization { 0024 0025 public: 0026 using Hadronization::Hadronization; 0027 0028 virtual shared_ptr<Hadronization> Clone() const override { 0029 auto ret = make_shared<Derived>(static_cast<const Derived &>(*this)); 0030 return ret; 0031 } 0032 }; 0033 0034 } // end namespace Jetscape 0035 0036 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |