![]() |
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
|
#include <Kinematics.h>
Public Member Functions | |
DoubleAngleComputer (const EventDis &) | |
virtual DisKinematics * | Calculate () |
Protected Member Functions | |
virtual Double_t | ComputeQuarkAngle () const |
virtual Double_t | ComputeY () const |
virtual Double_t | ComputeQSquared () const |
virtual Double_t | ComputeX () const |
Protected Attributes | |
const EventDis & | mEvent |
Bool_t | mHasChanged |
Double_t | mAngle |
Caches the quark angle. | |
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.
|
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.
|
protectedvirtual |
Scattering angle of struck quark.
Definition at line 475 of file Kinematics.cxx.
|
mutableprotected |
Stores whether the particle list has changed since the last computation of the quark angle.
Definition at line 143 of file Kinematics.h.