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

#include <estarlight/blob/master/include/beambeamsystem.h>

+ Inheritance diagram for beamBeamSystem:
+ Collaboration diagram for beamBeamSystem:

Public Member Functions

 beamBeamSystem (const inputParameters &input, const beam &electronBeam, const beam &targetBeam)
 
 beamBeamSystem (const inputParameters &input)
 
 ~beamBeamSystem ()
 
const beamelectronBeam () const
 returns beam particle 1
 
const beamtargetBeam () const
 returns beam particle 2
 
double probabilityOfBreakup (const double D) const
 
double cmsBoost () const
 
double beamLorentzGamma () const
 
void init ()
 

Private Member Functions

void generateBreakupProbabilities ()
 
double probabilityOfHadronBreakup (const double impactparameter)
 
double probabilityOfPhotonBreakup (const double impactparameter, const int mode)
 

Private Attributes

double _pHadronBreakup
 
double _pPhotonBreakup
 
double _beamLorentzGamma
 Lorentz gamma factor of beams in collider frame.
 
const double _electronBeamLorentzGamma
 Lorentz gamma factor of beam1 in collider frame.
 
const double _targetBeamLorentzGamma
 Lorentz gamma factor of beam2 in collider frame.
 
const int _beamBreakupMode
 breakup mode for beam particles
 
beam _electronBeam
 beam particle 1
 
beam _targetBeam
 beam particle 2
 
double _cmsBoost
 Rapidity boost of the CMS wrt the lab system.
 
std::vector< double > _breakupProbabilities
 Vector containing breakup probabilities for impact parameters.
 

Detailed Description

Definition at line 44 of file beambeamsystem.h.

View newest version in sPHENIX GitHub at line 44 of file beambeamsystem.h

Constructor & Destructor Documentation

beamBeamSystem::beamBeamSystem ( const inputParameters input,
const beam electronBeam,
const beam targetBeam 
)

Definition at line 50 of file beambeamsystem.cpp.

View newest version in sPHENIX GitHub at line 50 of file beambeamsystem.cpp

References init().

+ Here is the call graph for this function:

beamBeamSystem::beamBeamSystem ( const inputParameters input)

Definition at line 70 of file beambeamsystem.cpp.

View newest version in sPHENIX GitHub at line 70 of file beambeamsystem.cpp

References init().

+ Here is the call graph for this function:

beamBeamSystem::~beamBeamSystem ( )

Definition at line 93 of file beambeamsystem.cpp.

View newest version in sPHENIX GitHub at line 93 of file beambeamsystem.cpp

Member Function Documentation

double beamBeamSystem::beamLorentzGamma ( ) const
inline

Definition at line 62 of file beambeamsystem.h.

View newest version in sPHENIX GitHub at line 62 of file beambeamsystem.h

References _beamLorentzGamma.

Referenced by spectrum::getTransformedNofe(), and starlightPythia::produceEvent().

+ Here is the caller graph for this function:

double beamBeamSystem::cmsBoost ( ) const
inline

Definition at line 60 of file beambeamsystem.h.

View newest version in sPHENIX GitHub at line 60 of file beambeamsystem.h

References _cmsBoost.

void beamBeamSystem::generateBreakupProbabilities ( )
private

Definition at line 120 of file beambeamsystem.cpp.

View newest version in sPHENIX GitHub at line 120 of file beambeamsystem.cpp

Referenced by init().

+ Here is the caller graph for this function:

void beamBeamSystem::init ( )

Definition at line 96 of file beambeamsystem.cpp.

View newest version in sPHENIX GitHub at line 96 of file beambeamsystem.cpp

References _beamLorentzGamma, _cmsBoost, _electronBeam, _electronBeamLorentzGamma, _targetBeam, _targetBeamLorentzGamma, generateBreakupProbabilities(), and beam::setBeamLorentzGamma().

Referenced by beamBeamSystem().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double beamBeamSystem::probabilityOfBreakup ( const double  D) const

Definition at line 112 of file beambeamsystem.cpp.

View newest version in sPHENIX GitHub at line 112 of file beambeamsystem.cpp

Referenced by twoPhotonLuminosity::D2LDMDY(), spectrum::generateBreakupProbabilities(), twoPhotonLuminosity::integrand(), photonNucleusCrossSection::photonFlux(), and photonNucleusLuminosity::pttablegen().

+ Here is the caller graph for this function:

double beamBeamSystem::probabilityOfHadronBreakup ( const double  impactparameter)
private

Definition at line 199 of file beambeamsystem.cpp.

View newest version in sPHENIX GitHub at line 199 of file beambeamsystem.cpp

References _beamLorentzGamma, _pHadronBreakup, _targetBeam, nucleus::A(), starlightConstants::A2, a2, gamma(), nucleus::nuclearRadius(), starlightConstants::pi, T1, and T2.

+ Here is the call graph for this function:

double beamBeamSystem::probabilityOfPhotonBreakup ( const double  impactparameter,
const int  mode 
)
private

Definition at line 325 of file beambeamsystem.cpp.

View newest version in sPHENIX GitHub at line 325 of file beambeamsystem.cpp

References _beamLorentzGamma, _pPhotonBreakup, bessel::dbesk1(), eps, Acts::VectorHelpers::eta(), starlightConstants::hbarcmev, k, min, pi, Acts::UnitConstants::s, s1, s2, s3, x, and y.

+ Here is the call graph for this function:

Member Data Documentation

const int beamBeamSystem::_beamBreakupMode
private

breakup mode for beam particles

1 = hard sphere nuclei (b > 2R), 2 = both nuclei break up (XnXn), 3 = a single neutron from each nucleus (1n1n), 4 = neither nucleon breaks up (with b > 2R), 5 = no hadronic break up (similar to option 1, but with the actual hadronic interaction)

Definition at line 77 of file beambeamsystem.h.

View newest version in sPHENIX GitHub at line 77 of file beambeamsystem.h

double beamBeamSystem::_beamLorentzGamma
private

Lorentz gamma factor of beams in collider frame.

Definition at line 74 of file beambeamsystem.h.

View newest version in sPHENIX GitHub at line 74 of file beambeamsystem.h

Referenced by beamLorentzGamma(), init(), probabilityOfHadronBreakup(), and probabilityOfPhotonBreakup().

std::vector<double> beamBeamSystem::_breakupProbabilities
private

Vector containing breakup probabilities for impact parameters.

Definition at line 90 of file beambeamsystem.h.

View newest version in sPHENIX GitHub at line 90 of file beambeamsystem.h

double beamBeamSystem::_cmsBoost
private

Rapidity boost of the CMS wrt the lab system.

Definition at line 88 of file beambeamsystem.h.

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

Referenced by cmsBoost(), and init().

beam beamBeamSystem::_electronBeam
private

beam particle 1

Definition at line 85 of file beambeamsystem.h.

View newest version in sPHENIX GitHub at line 85 of file beambeamsystem.h

Referenced by electronBeam(), and init().

const double beamBeamSystem::_electronBeamLorentzGamma
private

Lorentz gamma factor of beam1 in collider frame.

Definition at line 75 of file beambeamsystem.h.

View newest version in sPHENIX GitHub at line 75 of file beambeamsystem.h

Referenced by init().

double beamBeamSystem::_pHadronBreakup
private

Definition at line 71 of file beambeamsystem.h.

View newest version in sPHENIX GitHub at line 71 of file beambeamsystem.h

Referenced by probabilityOfHadronBreakup().

double beamBeamSystem::_pPhotonBreakup
private

Definition at line 72 of file beambeamsystem.h.

View newest version in sPHENIX GitHub at line 72 of file beambeamsystem.h

Referenced by probabilityOfPhotonBreakup().

beam beamBeamSystem::_targetBeam
private

beam particle 2

Definition at line 86 of file beambeamsystem.h.

View newest version in sPHENIX GitHub at line 86 of file beambeamsystem.h

Referenced by init(), probabilityOfHadronBreakup(), and targetBeam().

const double beamBeamSystem::_targetBeamLorentzGamma
private

Lorentz gamma factor of beam2 in collider frame.

Definition at line 76 of file beambeamsystem.h.

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

Referenced by init().


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