Back to home page

sPhenix code displayed by LXR

 
 

    


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

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 // JETSCAPE module for soft particlization
0017 // This module will generate Monte-Carlo samples for soft hadrons
0018 // -----------------------------------------
0019 
0020 #ifndef SOFTPARTICLIZATION_H_
0021 #define SOFTPARTICLIZATION_H_
0022 
0023 #include <vector>
0024 
0025 #include "JetScapeModuleBase.h"
0026 #include "JetClass.h"
0027 #include "JetScapeWriter.h"
0028 
0029 namespace Jetscape {
0030 
0031 class SoftParticlization : public JetScapeModuleBase {
0032 private:
0033 public:
0034   SoftParticlization();
0035   ~SoftParticlization();
0036 
0037   virtual void Init();
0038   virtual void Exec();
0039   virtual void Clear();
0040 
0041   std::vector<std::vector<shared_ptr<Hadron>>> Hadron_list_;
0042 
0043   bool boost_invariance;
0044   bool check_boost_invariance();
0045 };
0046 
0047 } // end namespace Jetscape
0048 
0049 #endif // SOFTPARTICLIZATION_H_