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

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

+ Inheritance diagram for erhic::LeptonKinematicsComputer:
+ Collaboration diagram for erhic::LeptonKinematicsComputer:

Public Member Functions

virtual ~LeptonKinematicsComputer ()
 
 LeptonKinematicsComputer (const EventDis &)
 
virtual DisKinematicsCalculate ()
 
- Public Member Functions inherited from erhic::KinematicsComputer
virtual ~KinematicsComputer ()
 

Protected Attributes

std::vector< const
VirtualParticle * > 
mBeams
 

Detailed Description

Computes DIS event kinematics from the scattered lepton. Uses lepton momentum in place of energy if momentum is available, as this is typically measured more precisely for EIC kinematics.

Definition at line 66 of file Kinematics.h.

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

Constructor & Destructor Documentation

virtual erhic::LeptonKinematicsComputer::~LeptonKinematicsComputer ( )
inlinevirtual

Definition at line 68 of file Kinematics.h.

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

erhic::LeptonKinematicsComputer::LeptonKinematicsComputer ( const EventDis event)
explicit

Determine the beam info from the input event

Definition at line 196 of file Kinematics.cxx.

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

References erhic::EventDis::BeamHadron(), erhic::EventDis::BeamLepton(), erhic::EventDis::ExchangeBoson(), mBeams, and erhic::EventDis::ScatteredLepton().

+ Here is the call graph for this function:

Member Function Documentation

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

Implements erhic::KinematicsComputer.

Definition at line 206 of file Kinematics.cxx.

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

References kdfinder::abs(), cos(), gamma(), Acts::UnitConstants::h, max, mBeams, erhic::DisKinematics::mNu, erhic::DisKinematics::mQ2, erhic::DisKinematics::mW2, erhic::DisKinematics::mX, erhic::DisKinematics::mY, and y.

Referenced by analysis(), 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:

Member Data Documentation

std::vector<const VirtualParticle*> erhic::LeptonKinematicsComputer::mBeams
protected

Definition at line 76 of file Kinematics.h.

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

Referenced by Calculate(), and LeptonKinematicsComputer().


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