EIC Software
 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 
11 
12 namespace erhic {
13 namespace hadronic {
14 
16 }
17 
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 
31 : EventMC(that)
32 , QSquared(that.QSquared)
33 , x1(that.x1)
34 , x2(that.x2) {
35 }
36 
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