EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
erhic::JacquetBlondelComputer Class Reference

#include <eic-smear/blob/master/include/eicsmear/erhic/Kinematics.h>

+ Inheritance diagram for erhic::JacquetBlondelComputer:
+ Collaboration diagram for erhic::JacquetBlondelComputer:

Public Member Functions

virtual ~JacquetBlondelComputer ()
 
 JacquetBlondelComputer (const EventDis &)
 
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.
 
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.

Definition at line 88 of file Kinematics.h.

View newest version in sPHENIX GitHub at line 88 of file Kinematics.h

Constructor & Destructor Documentation

erhic::JacquetBlondelComputer::~JacquetBlondelComputer ( )
virtual

Definition at line 265 of file Kinematics.cxx.

View newest version in sPHENIX GitHub at line 265 of file Kinematics.cxx

References mParticles.

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 278 of file Kinematics.cxx.

View newest version in sPHENIX GitHub at line 278 of file Kinematics.cxx

References erhic::VirtualEvent::HadronicFinalState(), it, mEvent, and mParticles.

+ Here is the call graph for this function:

Member Function Documentation

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

Implements erhic::KinematicsComputer.

Definition at line 298 of file Kinematics.cxx.

View newest version in sPHENIX GitHub at line 298 of file Kinematics.cxx

References erhic::EventDis::BeamHadron(), ComputeQSquared(), ComputeX(), ComputeY(), erhic::VirtualParticle::GetM(), mEvent, erhic::DisKinematics::mQ2, erhic::DisKinematics::mW2, erhic::DisKinematics::mX, and erhic::DisKinematics::mY.

Referenced by erhic::Pythia6EventBuilder::BuildEvent(), Smear::Detector::FillEventKinematics(), and erhic::EventFromAsciiFactory< T >::FinishEvent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 357 of file Kinematics.cxx.

View newest version in sPHENIX GitHub at line 357 of file Kinematics.cxx

References erhic::EventDis::BeamHadron(), ComputeY(), it, max, mEvent, mParticles, and y.

Referenced by Calculate(), and ComputeX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 387 of file Kinematics.cxx.

View newest version in sPHENIX GitHub at line 387 of file Kinematics.cxx

References erhic::EventDis::BeamHadron(), erhic::EventDis::BeamLepton(), ComputeQSquared(), ComputeY(), erhic::VirtualParticle::Get4Vector(), mEvent, Acts::UnitConstants::s, x, and y.

Referenced by Calculate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 311 of file Kinematics.cxx.

View newest version in sPHENIX GitHub at line 311 of file Kinematics.cxx

References erhic::EventDis::BeamHadron(), erhic::EventDis::BeamLepton(), erhic::VirtualParticle::GetE(), erhic::VirtualParticle::GetM(), erhic::VirtualParticle::GetPz(), it, mEvent, mParticles, and y.

Referenced by Calculate(), ComputeQSquared(), and ComputeX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

const EventDis& erhic::JacquetBlondelComputer::mEvent
protected

The event for which kinematics are being calculated.

Definition at line 108 of file Kinematics.h.

View newest version in sPHENIX GitHub at line 108 of file Kinematics.h

Referenced by Calculate(), ComputeQSquared(), ComputeX(), ComputeY(), and JacquetBlondelComputer().

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

Array of final-state particles used in computing kinematics.

Definition at line 110 of file Kinematics.h.

View newest version in sPHENIX GitHub at line 110 of file Kinematics.h

Referenced by ComputeQSquared(), ComputeY(), JacquetBlondelComputer(), and ~JacquetBlondelComputer().


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