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

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

+ Inheritance diagram for spectrumProtonNucleus:
+ Collaboration diagram for spectrumProtonNucleus:

Public Member Functions

 spectrumProtonNucleus (const randomGenerator &randy, beamBeamSystem *bb)
 
virtual double getNucleonNucleonSigma () const
 
- Public Member Functions inherited from spectrum
 spectrum (const randomGenerator &randy, beamBeamSystem *bbs)
 
int generateKsingle ()
 
int generateKdouble ()
 
double drawKsingle ()
 
void drawKdouble (float &egamma1, float &egamma2)
 
void setBeamBeamSystem (beamBeamSystem *bbs)
 
void setMinGammaEnergy (double energy)
 
void setMaxGammaEnergy (double energy)
 
void setBmin (double bmin)
 
void setBmax (double bmax)
 

Protected Member Functions

virtual bool generateBreakupProbabilities ()
 
virtual double getSigma (double) const
 
- Protected Member Functions inherited from spectrum
virtual double getTransformedNofe (double egamma, double b)
 

Additional Inherited Members

- Protected Attributes inherited from spectrum
double _bMin
 
double _bMax
 
int _nBbins
 
std::vector< double > _probOfBreakup
 
beamBeamSystem_beamBeamSystem
 

Detailed Description

Definition at line 28 of file spectrumprotonnucleus.h.

View newest version in sPHENIX GitHub at line 28 of file spectrumprotonnucleus.h

Constructor & Destructor Documentation

spectrumProtonNucleus::spectrumProtonNucleus ( const randomGenerator randy,
beamBeamSystem bb 
)

Definition at line 26 of file spectrumprotonnucleus.cpp.

View newest version in sPHENIX GitHub at line 26 of file spectrumprotonnucleus.cpp

References spectrum::_bMin.

Member Function Documentation

bool spectrumProtonNucleus::generateBreakupProbabilities ( )
protectedvirtual

Generate the hadron breakup probability table

Reimplemented from spectrum.

Definition at line 31 of file spectrumprotonnucleus.cpp.

View newest version in sPHENIX GitHub at line 31 of file spectrumprotonnucleus.cpp

References spectrum::_beamBeamSystem, spectrum::_bMax, spectrum::_bMin, spectrum::_nBbins, spectrum::_probOfBreakup, and getNucleonNucleonSigma().

+ Here is the call graph for this function:

virtual double spectrumProtonNucleus::getNucleonNucleonSigma ( ) const
inlinevirtual

Definition at line 32 of file spectrumprotonnucleus.h.

View newest version in sPHENIX GitHub at line 32 of file spectrumprotonnucleus.h

Referenced by generateBreakupProbabilities().

+ Here is the caller graph for this function:

double spectrumProtonNucleus::getSigma ( double  ) const
protectedvirtual

Needs some explanation

Reimplemented from spectrum.

Definition at line 55 of file spectrumprotonnucleus.cpp.

View newest version in sPHENIX GitHub at line 55 of file spectrumprotonnucleus.cpp


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