Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
iSpectraSamplerWrapper.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file iSpectraSamplerWrapper.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 // -----------------------------------------
16 // This is a wrapper for iSpectraSampler (iSS) with the JETSCAPE framework
17 // -----------------------------------------
18 
19 #ifndef ISPECTRASAMPLERWRAPPER_H
20 #define ISPECTRASAMPLERWRAPPER_H
21 
22 #include <memory>
23 
24 #include "SoftParticlization.h"
25 #include "iSS.h"
26 
27 using namespace Jetscape;
28 
30 private:
32 
33  std::unique_ptr<iSS> iSpectraSampler_ptr_;
34 
35  // Allows the registration of the module so that it is available to be used by the Jetscape framework.
37 
38 public:
41 
42  void InitTask();
43  void Exec();
44  void Clear();
45  void WriteTask(weak_ptr<JetScapeWriter> w);
46 
47  void PassHadronListToJetscape();
48 };
49 
50 #endif // ISPECTRASAMPLERWRAPPER_H