Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Afterburner.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Afterburner.h
1 /*******************************************************************************
2  * Copyright (c) The JETSCAPE Collaboration, 2018
3  *
4  * Modular, task-based framework for simulating all aspects of heavy-ion collisions
5  *
6  * For the list of contributors see AUTHORS.
7  *
8  * Report issues at https://github.com/JETSCAPE/JETSCAPE/issues
9  *
10  * or via email to bugs.jetscape@gmail.com
11  *
12  * Distributed under the GNU General Public License 3.0 (GPLv3 or later).
13  * See COPYING for details.
14  ******************************************************************************/
15 // This is a general basic class for hadronic afterburner
16 
17 #ifndef AFTERBURNER_H
18 #define AFTERBURNER_H
19 
20 #include "JetScapeModuleBase.h"
21 #include "SoftParticlization.h"
22 #include "sigslot.h"
23 
24 namespace Jetscape {
25 
28 public:
30  VERBOSE(8);
31  SetId("Afterburner");
32  }
33 
35  VERBOSE(8);
37  }
38 
39  virtual void Init();
40  virtual void Exec();
41 
42 protected:
44  std::vector<std::vector<std::shared_ptr<Hadron>>> GatherAfterburnerHadrons();
46  std::vector<std::vector<std::shared_ptr<Hadron>>> GetSoftParticlizationHadrons();
48  std::vector<std::shared_ptr<Hadron>> GetFragmentationHadrons();
49 
50  std::vector<std::vector<std::shared_ptr<Hadron>>> dummy;
51  std::uniform_real_distribution<double> ZeroOneDistribution;
52  // rng for the Kaon-L / Kaon-S switch to K0 / Anti-K0
53  std::shared_ptr<std::uniform_int_distribution<int>> rand_int_ptr_;
54 };
55 
56 } // end namespace Jetscape
57 
58 #endif // AFTERBURNER_H