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
PGun.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PGun.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
//Parton Gun
16
17
#ifndef PGUN_H
18
#define PGUN_H
19
20
#include "
HardProcess.h
"
21
#include "
JetScapeLogger.h
"
22
#include "Pythia8/Pythia.h"
23
24
using namespace
Jetscape;
25
26
class
PGun
:
public
HardProcess
{
27
28
static
Pythia8::Pythia
InternalHelperPythia
;
29
30
private
:
31
double
fixed_pT
;
32
double
parID
;
33
34
// Allows the registration of the module so that it is available to be used by the Jetscape framework.
35
static
RegisterJetScapeModule<PGun>
reg
;
36
37
public
:
38
PGun
();
39
~
PGun
();
40
41
void
InitTask();
42
void
Exec();
43
};
44
45
#endif // PGUN_H
JETSCAPE
blob
main
src
initialstate
PGun.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:25
using
1.8.2 with
sPHENIX GitHub integration