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

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

#include <Kinematics.h>

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

Public Member Functions

virtual ~JacquetBlondelComputer ()
 
 JacquetBlondelComputer (const EventDis &)
 Initialise with the event to compute. More...
 
virtual DisKinematicsCalculate ()
 
- Public Member Functions inherited from erhic::KinematicsComputer
virtual ~KinematicsComputer ()
 

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. More...
 
std::vector< const VirtualParticle * > mParticles
 Array of final-state particles used in computing kinematics. More...
 

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

◆ ~JacquetBlondelComputer()

erhic::JacquetBlondelComputer::~JacquetBlondelComputer ( )
virtual

Definition at line 305 of file Kinematics.cxx.

◆ JacquetBlondelComputer()

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.

Member Function Documentation

◆ Calculate()

DisKinematics * erhic::JacquetBlondelComputer::Calculate ( )
virtual

Implements erhic::KinematicsComputer.

Definition at line 332 of file Kinematics.cxx.

◆ ComputeQSquared()

Double_t erhic::JacquetBlondelComputer::ComputeQSquared ( ) const
protectedvirtual

Definition at line 379 of file Kinematics.cxx.

◆ ComputeX()

Double_t erhic::JacquetBlondelComputer::ComputeX ( ) const
protectedvirtual

Definition at line 409 of file Kinematics.cxx.

◆ ComputeY()

Double_t erhic::JacquetBlondelComputer::ComputeY ( ) const
protectedvirtual

Definition at line 345 of file Kinematics.cxx.

Member Data Documentation

◆ mEvent

const EventDis& erhic::JacquetBlondelComputer::mEvent
protected

The event for which kinematics are being calculated.

Definition at line 106 of file Kinematics.h.

◆ mParticles

std::vector<const VirtualParticle*> erhic::JacquetBlondelComputer::mParticles
protected

Array of final-state particles used in computing kinematics.

Definition at line 108 of file Kinematics.h.


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