Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ColorlessHadronization.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ColorlessHadronization.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
#ifndef COLORLESSHADRONIZATION_H
17
#define COLORLESSHADRONIZATION_H
18
19
#include "
HadronizationModule.h
"
20
#include "
JetScapeLogger.h
"
21
#include "Pythia8/Pythia.h"
22
23
using namespace
Jetscape;
24
25
class
ColorlessHadronization
26
:
public
HadronizationModule
<ColorlessHadronization> {
27
public
:
28
ColorlessHadronization
();
29
virtual
~
ColorlessHadronization
();
30
31
void
Init
();
32
void
DoHadronization(vector<vector<
shared_ptr<Parton>
>> &
shower
,
33
vector<
shared_ptr<Hadron>
> &hOut,
34
vector<
shared_ptr<Parton>
> &pOut);
35
void
WriteTask(weak_ptr<JetScapeWriter> w);
36
37
private
:
38
double
p_fake
;
39
bool
take_recoil
;
40
41
// Allows the registration of the module so that it is available to be used by the Jetscape framework.
42
static
RegisterJetScapeModule<ColorlessHadronization>
reg
;
43
44
protected
:
45
static
Pythia8::Pythia
pythia
;
46
std::uniform_real_distribution<double>
ZeroOneDistribution
;
47
};
48
49
#endif // COLORLESSHADRONIZATION_H
JETSCAPE
blob
main
src
hadronization
ColorlessHadronization.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:25
using
1.8.2 with
sPHENIX GitHub integration