EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
EventPythia.cxx
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EventPythia.cxx
1
10
#include <
eicsmear/hadronic/EventPythia.h
>
11
12
namespace
erhic {
13
namespace
hadronic {
14
15
EventPythiaPP::~EventPythiaPP
() {
16
}
17
18
EventPythiaPP::EventPythiaPP
()
19
: QSquared(0.)
20
, x1(0.)
21
,
x2
(0.) {
22
}
23
24
EventPythiaPP::EventPythiaPP
(
double
Q2,
double
xa,
double
xb)
25
: QSquared(Q2)
26
, x1(xa)
27
,
x2
(xb) {
28
}
29
30
EventPythiaPP::EventPythiaPP
(
const
EventPythiaPP
& that)
31
:
EventMC
(that)
32
, QSquared(that.QSquared)
33
, x1(that.x1)
34
,
x2
(that.
x2
) {
35
}
36
37
EventPythiaPP
&
EventPythiaPP::operator=
(
const
EventPythiaPP
& that) {
38
if
(
this
!= &that) {
39
EventMC::operator=
(that);
40
QSquared
= that.
QSquared
;
41
x1
= that.
x1
;
42
x2
= that.
x2
;
43
}
// if
44
return
*
this
;
45
}
46
47
Double_t
EventPythiaPP::GetQ2
()
const
{
48
return
QSquared
;
49
}
50
51
Double_t
EventPythiaPP::GetX1
()
const
{
52
return
x1
;
53
}
54
55
Double_t
EventPythiaPP::GetX2
()
const
{
56
return
x2
;
57
}
58
59
}
// namespace hadronic
60
}
// namespace erhic
eic-smear
blob
master
src
hadronic
EventPythia.cxx
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:32
using
1.8.2 with
EIC GitHub integration