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
EventDis.cxx
Go to the documentation of this file.
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
erhic::EventDis::WSquared
Double32_t WSquared
Invariant mass of the hadronic system.
Definition: EventDis.h:184
erhic::EventDis::SetLeptonKinematics
virtual void SetLeptonKinematics(const DisKinematics &)
Set the kinematics computed from the scattered lepton.
Definition: EventDis.cxx:61
erhic::EventDis::operator=
EventDis & operator=(const EventDis &)
Assign another event's kinematics to this EventDis.
Definition: EventDis.cxx:45
erhic::EventDis::xDA
Double32_t xDA
x calculated via the double-angle method
Definition: EventDis.h:192
erhic
Definition: EventDis.cxx:14
erhic::EventDis::QSquared
Double32_t QSquared
Q2 calculated from scattered electron.
Definition: EventDis.h:182
erhic::DisKinematics
A collection of DIS kinematic variables.
Definition: Kinematics.h:31
erhic::VirtualEvent
Abstract base class for a physics event.
Definition: VirtualEvent.h:25
erhic::DisKinematics::mW2
Double32_t mW2
Definition: Kinematics.h:42
EventDis.h
erhic::EventDis::~EventDis
virtual ~EventDis()
Destructor.
Definition: EventDis.cxx:16
erhic::EventDis::yJB
Double32_t yJB
y calculated via the Jacquet-Blondel method
Definition: EventDis.h:186
erhic::EventDis::QSquaredDA
Double32_t QSquaredDA
Q2 calculated via the double-angle method.
Definition: EventDis.h:191
erhic::EventDis::WSquaredDA
Double32_t WSquaredDA
W2 calculated via the double-angle method.
Definition: EventDis.h:193
erhic::EventDis::xJB
Double32_t xJB
x calculated via the Jacquet-Blondel method
Definition: EventDis.h:188
erhic::EventDis::SetDoubleAngleKinematics
virtual void SetDoubleAngleKinematics(const DisKinematics &)
Set the kinematics computed from the double-angle method.
Definition: EventDis.cxx:76
erhic::EventDis::WSquaredJB
Double32_t WSquaredJB
W2 calculated via the Jacquet-Blondel method.
Definition: EventDis.h:189
erhic::DisKinematics::mNu
Double32_t mNu
Definition: Kinematics.h:43
erhic::DisKinematics::mY
Double32_t mY
Definition: Kinematics.h:44
erhic::EventDis::EventDis
EventDis()
Default constructor.
Definition: EventDis.cxx:24
erhic::EventDis::nu
Double32_t nu
Energy transfer from the electron.
Definition: EventDis.h:185
erhic::EventDis
A deeply inelastic scattering event.
Definition: EventDis.h:37
erhic::EventDis::SetJacquetBlondelKinematics
virtual void SetJacquetBlondelKinematics(const DisKinematics &)
Set the kinematics computed from the Jacquet-Blondel method.
Definition: EventDis.cxx:69
erhic::EventDis::x
Double32_t x
Bjorken scaling variable.
Definition: EventDis.h:181
erhic::EventDis::CopyKinematics
virtual void CopyKinematics(const EventDis &)
Copy the kinematics from another event to this event.
Definition: EventDis.cxx:52
erhic::EventDis::QSquaredJB
Double32_t QSquaredJB
Q2 calculated via the Jacquet-Blondel method.
Definition: EventDis.h:187
erhic::EventDis::yDA
Double32_t yDA
y calculated via the double-angle method
Definition: EventDis.h:190
erhic::DisKinematics::mX
Double32_t mX
Definition: Kinematics.h:40
erhic::EventDis::y
Double32_t y
Inelasticity.
Definition: EventDis.h:183
erhic::DisKinematics::mQ2
Double32_t mQ2
Definition: Kinematics.h:41
Kinematics.h