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::DoubleAngleComputer Class Reference

#include <Kinematics.h>

Inheritance diagram for erhic::DoubleAngleComputer:
erhic::KinematicsComputer

Public Member Functions

 DoubleAngleComputer (const EventDis &)
 
virtual DisKinematicsCalculate ()
 

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 EventDismEvent
 
Bool_t mHasChanged
 
Double_t mAngle
 Caches the quark angle.
 
std::vector< const
VirtualParticle * > 
mParticles
 

Detailed Description

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.

Constructor & Destructor Documentation

erhic::DoubleAngleComputer::DoubleAngleComputer ( 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 441 of file Kinematics.cxx.

Member Function Documentation

Double_t erhic::DoubleAngleComputer::ComputeQuarkAngle ( ) const
protectedvirtual

Scattering angle of struck quark.

Definition at line 475 of file Kinematics.cxx.

Member Data Documentation

Bool_t erhic::DoubleAngleComputer::mHasChanged
mutableprotected

Stores whether the particle list has changed since the last computation of the quark angle.

Definition at line 143 of file Kinematics.h.


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