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
EventPythia.cxx
Go to the documentation of this file.
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
virtual Double_t GetX2() const
Definition: EventPythia.cxx:55
EventPythiaPP & operator=(const EventPythiaPP &)
Definition: EventPythia.cxx:37
virtual Double_t GetX1() const
Definition: EventPythia.cxx:51
virtual Double_t GetQ2() const
Definition: EventPythia.cxx:47
EventDis & operator=(const EventDis &)
Definition: EventDis.cxx:45