EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <eic-smear/blob/master/include/eicsmear/erhic/Kinematics.h>
Public Member Functions | |
virtual | ~LeptonKinematicsComputer () |
LeptonKinematicsComputer (const EventDis &) | |
virtual DisKinematics * | Calculate () |
Public Member Functions inherited from erhic::KinematicsComputer | |
virtual | ~KinematicsComputer () |
Protected Attributes | |
std::vector< const VirtualParticle * > | mBeams |
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
|
inlinevirtual |
Definition at line 68 of file Kinematics.h.
View newest version in sPHENIX GitHub at line 68 of file Kinematics.h
|
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().
|
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().
|
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().