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
|
Computes DIS event kinematics from a mixture of hadronic and lepton variables using the double-angle method. More...
#include <Kinematics.h>
Public Member Functions | |
virtual | ~DoubleAngleComputer () |
DoubleAngleComputer (const EventDis &) | |
Initialise with the event to compute. More... | |
virtual DisKinematics * | Calculate () |
![]() | |
virtual | ~KinematicsComputer () |
Protected Member Functions | |
virtual Double_t | ComputeQuarkAngle () const |
Scattering angle of struck quark. More... | |
virtual Double_t | ComputeY () const |
virtual Double_t | ComputeQSquared () const |
virtual Double_t | ComputeX () const |
Protected Attributes | |
const EventDis & | mEvent |
Bool_t | mHasChanged |
Stores whether the particle list has changed since the last computation of the quark angle. More... | |
Double_t | mAngle |
Caches the quark angle. More... | |
std::vector< const VirtualParticle * > | mParticles |
Computes DIS event kinematics from a mixture of hadronic and lepton variables using the double-angle method.
Definition at line 117 of file Kinematics.h.
|
virtual |
Definition at line 427 of file Kinematics.cxx.
|
explicit |
Initialise with the event to compute.
If the second argument is non-NULL, use the beam information from it in the computation. If it is NULL, determine the beam information automatically from the event. This allows the same class to be used with smeared calculations, where the beam information isn't associated with the smeared event itself.
Definition at line 441 of file Kinematics.cxx.
|
virtual |
Implements erhic::KinematicsComputer.
Definition at line 455 of file Kinematics.cxx.
|
protectedvirtual |
Definition at line 513 of file Kinematics.cxx.
|
protectedvirtual |
Scattering angle of struck quark.
Definition at line 475 of file Kinematics.cxx.
|
protectedvirtual |
Definition at line 531 of file Kinematics.cxx.
|
protectedvirtual |
Definition at line 496 of file Kinematics.cxx.
|
mutableprotected |
Caches the quark angle.
Definition at line 145 of file Kinematics.h.
|
protected |
Definition at line 133 of file Kinematics.h.
|
mutableprotected |
Stores whether the particle list has changed since the last computation of the quark angle.
Definition at line 143 of file Kinematics.h.
|
protected |
Definition at line 146 of file Kinematics.h.