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

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

+ Inheritance diagram for Gammagammasingle:
+ Collaboration diagram for Gammagammasingle:

Public Member Functions

 Gammagammasingle (const inputParameters &input, beamBeamSystem &bbsystem)
 
 ~Gammagammasingle ()
 
void singleCrossSection ()
 
starlightConstants::event produceEvent (int &ievent)
 
eXEvent e_produceEvent ()
 
- Public Member Functions inherited from eventChannel
 eventChannel (const inputParameters &input, beamBeamSystem &bbsystem)
 
virtual ~eventChannel ()
 
unsigned long nmbAttempts () const
 returns number of attempted events
 
unsigned long nmbAccepted () const
 returns number of accepted events
 
double getTotalChannelCrossSection () const
 
void setTotalChannelCrossSection (double sigma)
 
- Public Member Functions inherited from readLuminosity
 readLuminosity (const inputParameters &input)
 
 ~readLuminosity ()
 
void read ()
 
void e_read ()
 

Private Member Functions

void pickw (double &w)
 
void picky (double &y)
 
void parentMomentum (double w, double y, double &E, double &px, double &py, double &pz)
 
double pp1 (double E)
 
double pp2 (double E)
 
void twoBodyDecay (starlightConstants::particleTypeEnum &ipid, double W, double px0, double py0, double pz0, double &px1, double &py1, double &pz1, double &px2, double &py2, double &pz2, int &iFbadevent)
 
double getMass ()
 
double getWidth ()
 
double getSpin ()
 

Private Attributes

double _sigmax [starlightLimits::MAXWBINS][starlightLimits::MAXYBINS]
 
double _wdelta
 
double _remainwd
 
int _ivalwd
 
starlightConstants::particleTypeEnum _GGsingInputpidtest
 
int _GGsingInputnumw
 
int _GGsingInputnumy
 
double _GGsingInputGamma_em
 
double _axionMass
 

Additional Inherited Members

- Static Public Member Functions inherited from eventChannel
static void transform (const double betax, const double betay, const double betaz, double &E, double &px, double &py, double &pz, int &iFbadevent)
 Lorentz-transforms given 4-vector.
 
static double pseudoRapidity (const double px, const double py, const double pz)
 calculates pseudorapidity for given 3-momentum
 
- Public Attributes inherited from eventChannel
beamBeamSystem _bbs
 
randomGenerator _randy
 
- Protected Attributes inherited from eventChannel
unsigned long _nmbAttempts
 number of attempted events
 
unsigned long _nmbAccepted
 number of accepted events
 
bool _ptCutEnabled
 en/disables cut in pt
 
double _ptCutMin
 minimum pt, if cut is enabled
 
double _ptCutMax
 maximum pt, if cut is enabled
 
bool _etaCutEnabled
 en/disables cut in eta
 
double _etaCutMin
 minimum eta, if cut is enabled
 
double _etaCutMax
 maximum eta, if cut is enabled
 
double _totalChannelCrossSection
 

Detailed Description

Definition at line 51 of file gammagammasingle.h.

View newest version in sPHENIX GitHub at line 51 of file gammagammasingle.h

Constructor & Destructor Documentation

Gammagammasingle::Gammagammasingle ( const inputParameters input,
beamBeamSystem bbsystem 
)

Definition at line 47 of file gammagammasingle.cpp.

View newest version in sPHENIX GitHub at line 47 of file gammagammasingle.cpp

References _axionMass, _GGsingInputGamma_em, _GGsingInputnumw, _GGsingInputnumy, _GGsingInputpidtest, inputParameters::axionMass(), inputParameters::beamLorentzGamma(), inputParameters::nmbRapidityBins(), inputParameters::nmbWBins(), inputParameters::prodParticleType(), readLuminosity::read(), and singleCrossSection().

+ Here is the call graph for this function:

Gammagammasingle::~Gammagammasingle ( )

Definition at line 73 of file gammagammasingle.cpp.

View newest version in sPHENIX GitHub at line 73 of file gammagammasingle.cpp

Member Function Documentation

eXEvent Gammagammasingle::e_produceEvent ( )
virtual

Implements eventChannel.

Definition at line 623 of file gammagammasingle.cpp.

View newest version in sPHENIX GitHub at line 623 of file gammagammasingle.cpp

void Gammagammasingle::parentMomentum ( double  w,
double  y,
double &  E,
double &  px,
double &  py,
double &  pz 
)
private

Definition at line 278 of file gammagammasingle.cpp.

View newest version in sPHENIX GitHub at line 278 of file gammagammasingle.cpp

References eventChannel::_randy, cos(), starlightConstants::pi, pp1(), pp2(), and randomGenerator::Rndom().

+ Here is the call graph for this function:

void Gammagammasingle::pickw ( double &  w)
private

Definition at line 150 of file gammagammasingle.cpp.

View newest version in sPHENIX GitHub at line 150 of file gammagammasingle.cpp

References _GGsingInputnumw, _GGsingInputnumy, _ivalwd, eventChannel::_randy, _remainwd, _sigmax, readLuminosity::_Warray, _wdelta, readLuminosity::_Yarray, c, starlightLimits::MAXWBINS, starlightLimits::MAXYBINS, randomGenerator::Rndom(), and x.

+ Here is the call graph for this function:

void Gammagammasingle::picky ( double &  y)
private

Definition at line 221 of file gammagammasingle.cpp.

View newest version in sPHENIX GitHub at line 221 of file gammagammasingle.cpp

References _GGsingInputnumy, _ivalwd, eventChannel::_randy, _remainwd, _sigmax, readLuminosity::_Yarray, c, starlightLimits::MAXYBINS, randomGenerator::Rndom(), and x.

+ Here is the call graph for this function:

double Gammagammasingle::pp1 ( double  E)
private

Definition at line 308 of file gammagammasingle.cpp.

View newest version in sPHENIX GitHub at line 308 of file gammagammasingle.cpp

References eventChannel::_bbs, _GGsingInputGamma_em, eventChannel::_randy, beamBeamSystem::electronBeam(), nucleus::formFactor(), starlightConstants::hbarc, nucleus::nuclearRadius(), starlightConstants::pi, randomGenerator::Rndom(), Acts::UnitConstants::u, and x.

Referenced by parentMomentum().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double Gammagammasingle::pp2 ( double  E)
private

Definition at line 347 of file gammagammasingle.cpp.

View newest version in sPHENIX GitHub at line 347 of file gammagammasingle.cpp

References eventChannel::_bbs, _GGsingInputGamma_em, eventChannel::_randy, nucleus::formFactor(), starlightConstants::hbarc, nucleus::nuclearRadius(), starlightConstants::pi, randomGenerator::Rndom(), beamBeamSystem::targetBeam(), Acts::UnitConstants::u, and x.

Referenced by parentMomentum().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

starlightConstants::event Gammagammasingle::produceEvent ( int &  ievent)

Definition at line 498 of file gammagammasingle.cpp.

View newest version in sPHENIX GitHub at line 498 of file gammagammasingle.cpp

void Gammagammasingle::singleCrossSection ( )

Definition at line 78 of file gammagammasingle.cpp.

View newest version in sPHENIX GitHub at line 78 of file gammagammasingle.cpp

References readLuminosity::_f_max, readLuminosity::_Farray, _GGsingInputnumw, _GGsingInputnumy, _GGsingInputpidtest, _ivalwd, _remainwd, _sigmax, readLuminosity::_Warray, _wdelta, readLuminosity::_Yarray, getMass(), getSpin(), getWidth(), starlightConstants::hbarc, starlightConstants::pi, eventChannel::setTotalChannelCrossSection(), and starlightConstants::ZOVERZ03.

Referenced by Gammagammasingle().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Gammagammasingle::twoBodyDecay ( starlightConstants::particleTypeEnum ipid,
double  W,
double  px0,
double  py0,
double  pz0,
double &  px1,
double &  py1,
double &  pz1,
double &  px2,
double &  py2,
double &  pz2,
int &  iFbadevent 
)
private

Member Data Documentation

double Gammagammasingle::_axionMass
private

Definition at line 85 of file gammagammasingle.h.

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

Referenced by Gammagammasingle(), getMass(), and getWidth().

double Gammagammasingle::_GGsingInputGamma_em
private

Definition at line 84 of file gammagammasingle.h.

View newest version in sPHENIX GitHub at line 84 of file gammagammasingle.h

Referenced by Gammagammasingle(), pp1(), and pp2().

int Gammagammasingle::_GGsingInputnumw
private

Definition at line 82 of file gammagammasingle.h.

View newest version in sPHENIX GitHub at line 82 of file gammagammasingle.h

Referenced by Gammagammasingle(), pickw(), and singleCrossSection().

int Gammagammasingle::_GGsingInputnumy
private

Definition at line 83 of file gammagammasingle.h.

View newest version in sPHENIX GitHub at line 83 of file gammagammasingle.h

Referenced by Gammagammasingle(), pickw(), picky(), and singleCrossSection().

starlightConstants::particleTypeEnum Gammagammasingle::_GGsingInputpidtest
private

Definition at line 81 of file gammagammasingle.h.

View newest version in sPHENIX GitHub at line 81 of file gammagammasingle.h

Referenced by Gammagammasingle(), getMass(), getSpin(), getWidth(), singleCrossSection(), and twoBodyDecay().

int Gammagammasingle::_ivalwd
private

Definition at line 66 of file gammagammasingle.h.

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

Referenced by pickw(), picky(), and singleCrossSection().

double Gammagammasingle::_remainwd
private

Definition at line 65 of file gammagammasingle.h.

View newest version in sPHENIX GitHub at line 65 of file gammagammasingle.h

Referenced by pickw(), picky(), and singleCrossSection().

double Gammagammasingle::_sigmax[starlightLimits::MAXWBINS][starlightLimits::MAXYBINS]
private

Definition at line 63 of file gammagammasingle.h.

View newest version in sPHENIX GitHub at line 63 of file gammagammasingle.h

Referenced by pickw(), picky(), and singleCrossSection().

double Gammagammasingle::_wdelta
private

Definition at line 64 of file gammagammasingle.h.

View newest version in sPHENIX GitHub at line 64 of file gammagammasingle.h

Referenced by pickw(), and singleCrossSection().


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