EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EventDis.cxx
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EventDis.cxx
1 
11 
13 
14 namespace erhic {
15 
17 
25 : x(NAN)
26 , QSquared(NAN)
27 , y(NAN)
28 , WSquared(NAN)
29 , nu(NAN)
30 , yJB(NAN)
31 , QSquaredJB(NAN)
32 , xJB(NAN)
33 , WSquaredJB(NAN)
34 , yDA(NAN)
35 , QSquaredDA(NAN)
36 , xDA(NAN)
37 , WSquaredDA(NAN) {
38 }
39 
41 : VirtualEvent(that) {
42  CopyKinematics(that);
43 }
44 
46  if (this != &that) { // Protect against self-assignment
47  CopyKinematics(that);
48  } // if
49  return *this;
50 }
51 
53  SetLeptonKinematics(DisKinematics(that.x, that.y, that.nu,
54  that.QSquared, that.WSquared));
56  that.QSquaredJB, that.WSquaredJB));
58  that.QSquaredDA, that.WSquaredDA));
59 }
60 
62  x = kin.mX;
63  QSquared = kin.mQ2;
64  WSquared = kin.mW2;
65  nu = kin.mNu;
66  y = kin.mY;
67 }
68 
70  xJB = kin.mX;
71  QSquaredJB = kin.mQ2;
72  WSquaredJB = kin.mW2;
73  yJB = kin.mY;
74 }
75 
77  xDA = kin.mX;
78  QSquaredDA = kin.mQ2;
79  WSquaredDA = kin.mW2;
80  yDA = kin.mY;
81 }
82 
83 } // namespace erhic