eic-smear
1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
hadronic/EventPythia.cxx
Go to the documentation of this file.
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
erhic::hadronic::EventPythiaPP::EventPythiaPP
EventPythiaPP()
Default constructor.
Definition:
hadronic/EventPythia.cxx:18
erhic::EventDis::operator=
EventDis & operator=(const EventDis &)
Assign another event's kinematics to this EventDis.
Definition:
EventDis.cxx:45
erhic
Definition:
EventDis.cxx:14
erhic::hadronic::EventPythiaPP::x2
Double32_t x2
Definition:
hadronic/EventPythia.h:65
erhic::hadronic::EventPythiaPP::x1
Double32_t x1
Definition:
hadronic/EventPythia.h:64
EventPythia.h
erhic::hadronic::EventPythiaPP::GetX2
virtual Double_t GetX2() const
x of the parton from the -z beam.
Definition:
hadronic/EventPythia.cxx:55
erhic::hadronic::EventPythiaPP
Definition:
hadronic/EventPythia.h:20
erhic::hadronic::EventMC
A realisation of erhic::VirtualEvent for a hadron-hadron Monte Carlo event.
Definition:
hadronic/EventMC.h:29
erhic::hadronic::EventPythiaPP::operator=
EventPythiaPP & operator=(const EventPythiaPP &)
Assignment operator.
Definition:
hadronic/EventPythia.cxx:37
erhic::hadronic::EventPythiaPP::GetX1
virtual Double_t GetX1() const
x of the parton from the +z beam.
Definition:
hadronic/EventPythia.cxx:51
erhic::hadronic::EventPythiaPP::QSquared
Double32_t QSquared
Definition:
hadronic/EventPythia.h:63
erhic::hadronic::EventPythiaPP::GetQ2
virtual Double_t GetQ2() const
Q-squared of the interaction.
Definition:
hadronic/EventPythia.cxx:47
erhic::hadronic::EventPythiaPP::~EventPythiaPP
virtual ~EventPythiaPP()
Destructor.
Definition:
hadronic/EventPythia.cxx:15
src
hadronic
EventPythia.cxx
Generated on Fri Jan 31 2020 15:11:33 for eic-smear by
1.8.17