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
erhic::JacquetBlondelComputer Class Reference

#include <Kinematics.h>

Inheritance diagram for erhic::JacquetBlondelComputer:
erhic::KinematicsComputer

Public Member Functions

 JacquetBlondelComputer (const EventDis &)
 
virtual DisKinematicsCalculate ()
 

Protected Member Functions

virtual Double_t ComputeY () const
 
virtual Double_t ComputeQSquared () const
 
virtual Double_t ComputeX () const
 

Protected Attributes

const EventDismEvent
 The event for which kinematics are being calculated.
 
std::vector< const
VirtualParticle * > 
mParticles
 Array of final-state particles used in computing kinematics.
 

Detailed Description

Computes DIS event kinematics from final-state hadrons using the Jacquet-Blondel method.

Todo:
Revisit implementation, giving option for using particle energy or momentum when computing "energy", and think how to handle mass for smeared particles.

Definition at line 86 of file Kinematics.h.

Constructor & Destructor Documentation

erhic::JacquetBlondelComputer::JacquetBlondelComputer ( const EventDis event)
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 319 of file Kinematics.cxx.


The documentation for this class was generated from the following files: