EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <estarlight/blob/master/include/beambeamsystem.h>
Public Member Functions | |
beamBeamSystem (const inputParameters &input, const beam &electronBeam, const beam &targetBeam) | |
beamBeamSystem (const inputParameters &input) | |
~beamBeamSystem () | |
const beam & | electronBeam () const |
returns beam particle 1 | |
const beam & | targetBeam () 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. | |
Definition at line 44 of file beambeamsystem.h.
View newest version in sPHENIX GitHub at line 44 of file beambeamsystem.h
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().
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().
beamBeamSystem::~beamBeamSystem | ( | ) |
Definition at line 93 of file beambeamsystem.cpp.
View newest version in sPHENIX GitHub at line 93 of file beambeamsystem.cpp
|
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().
|
inline |
Definition at line 60 of file beambeamsystem.h.
View newest version in sPHENIX GitHub at line 60 of file beambeamsystem.h
References _cmsBoost.
|
inline |
returns beam particle 1
Definition at line 55 of file beambeamsystem.h.
View newest version in sPHENIX GitHub at line 55 of file beambeamsystem.h
References _electronBeam.
Referenced by e_narrowResonanceCrossSection::crossSectionCalculation(), incoherentVMCrossSection::crossSectionCalculation(), wideResonanceCrossSection::crossSectionCalculation(), e_wideResonanceCrossSection::crossSectionCalculation(), narrowResonanceCrossSection::crossSectionCalculation(), twoPhotonLuminosity::D2LDMDY(), photonNucleusCrossSection::e_getcsgA(), photonNucleusCrossSection::getcsgA(), incoherentPhotonNucleusLuminosity::incoherentPhotonNucleusDifferentialLuminosity(), twoPhotonLuminosity::integral(), e_narrowResonanceCrossSection::makeGammaPQ2dependence(), Gammaavectormeson::momenta(), photonNucleusCrossSection::photonFlux(), photonElectronLuminosity::photonNucleusDifferentialLuminosity(), Gammagammasingle::pp1(), Gammaavectormeson::pTgamma(), photonNucleusLuminosity::pttablegen(), photonNucleusCrossSection::sigma_A(), twoPhotonLuminosity::twoPhotonDifferentialLuminosity(), and photonNucleusLuminosity::vmsigmapt().
|
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().
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().
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().
|
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.
|
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.
|
inline |
returns beam particle 2
Definition at line 56 of file beambeamsystem.h.
View newest version in sPHENIX GitHub at line 56 of file beambeamsystem.h
References _targetBeam.
Referenced by e_narrowResonanceCrossSection::crossSectionCalculation(), wideResonanceCrossSection::crossSectionCalculation(), e_wideResonanceCrossSection::crossSectionCalculation(), incoherentVMCrossSection::crossSectionCalculation(), narrowResonanceCrossSection::crossSectionCalculation(), twoPhotonLuminosity::D2LDMDY(), photonNucleusCrossSection::e_getcsgA(), photonNucleusCrossSection::getcsgA(), incoherentPhotonNucleusLuminosity::incoherentPhotonNucleusDifferentialLuminosity(), twoPhotonLuminosity::integral(), e_narrowResonanceCrossSection::makeGammaPQ2dependence(), Gammaavectormeson::momenta(), photonNucleusCrossSection::photonFlux(), photonNucleusLuminosity::photonNucleusDifferentialLuminosity(), photonElectronLuminosity::photonNucleusDifferentialLuminosity(), Gammagammasingle::pp2(), Gammaavectormeson::pTgamma(), photonNucleusLuminosity::pttablegen(), photonNucleusCrossSection::sigma_A(), twoPhotonLuminosity::twoPhotonDifferentialLuminosity(), and photonNucleusLuminosity::vmsigmapt().
|
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
|
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().
|
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
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().