#include <G4ExitonConfiguration.hh>
Public Member Functions | |
G4ExitonConfiguration () | |
G4ExitonConfiguration (G4int qpp, G4int qnp, G4int qph, G4int qnh) | |
void | clear () |
bool | empty () const |
bool | operator== (const G4ExitonConfiguration &right) const |
bool | operator!= (const G4ExitonConfiguration &right) const |
void | incrementQP (G4int ip) |
void | incrementHoles (G4int ip) |
Data Fields | |
G4int | protonQuasiParticles |
G4int | neutronQuasiParticles |
G4int | protonHoles |
G4int | neutronHoles |
Definition at line 41 of file G4ExitonConfiguration.hh.
G4ExitonConfiguration::G4ExitonConfiguration | ( | ) | [inline] |
Definition at line 43 of file G4ExitonConfiguration.hh.
00044 : protonQuasiParticles(0), neutronQuasiParticles(0), 00045 protonHoles(0), neutronHoles(0) {}
G4ExitonConfiguration::G4ExitonConfiguration | ( | G4int | qpp, | |
G4int | qnp, | |||
G4int | qph, | |||
G4int | qnh | |||
) | [inline] |
Definition at line 47 of file G4ExitonConfiguration.hh.
00048 : protonQuasiParticles(qpp), neutronQuasiParticles(qnp), 00049 protonHoles(qph), neutronHoles(qnh) {}
void G4ExitonConfiguration::clear | ( | ) | [inline] |
Definition at line 51 of file G4ExitonConfiguration.hh.
References neutronHoles, neutronQuasiParticles, protonHoles, and protonQuasiParticles.
Referenced by G4InuclNuclei::clearExitonConfiguration(), G4IntraNucleiCascader::copyWoundedNucleus(), G4CascadeRecoilMaker::fillRecoil(), and G4IntraNucleiCascader::newCascade().
00051 { 00052 protonQuasiParticles = neutronQuasiParticles = 0; 00053 protonHoles = neutronHoles = 0; 00054 }
bool G4ExitonConfiguration::empty | ( | ) | const [inline] |
Definition at line 56 of file G4ExitonConfiguration.hh.
References neutronHoles, neutronQuasiParticles, protonHoles, and protonQuasiParticles.
Referenced by G4InuclNuclei::print().
00056 { 00057 return (protonQuasiParticles==0 && neutronQuasiParticles==0 && 00058 protonHoles==0 && neutronHoles==0); 00059 }
void G4ExitonConfiguration::incrementHoles | ( | G4int | ip | ) | [inline] |
Definition at line 81 of file G4ExitonConfiguration.hh.
References neutronHoles, and protonHoles.
Referenced by G4IntraNucleiCascader::copyWoundedNucleus(), G4IntraNucleiCascader::generateCascade(), and G4IntraNucleiCascader::setupCascade().
00081 { 00082 if (ip == 1) protonHoles++; 00083 else if (ip == 2) neutronHoles++; 00084 }
void G4ExitonConfiguration::incrementQP | ( | G4int | ip | ) | [inline] |
Definition at line 76 of file G4ExitonConfiguration.hh.
References neutronQuasiParticles, and protonQuasiParticles.
Referenced by G4IntraNucleiCascader::processTrappedParticle(), and G4IntraNucleiCascader::setupCascade().
00076 { 00077 if (ip == 1) protonQuasiParticles++; 00078 else if (ip == 2) neutronQuasiParticles++; 00079 }
bool G4ExitonConfiguration::operator!= | ( | const G4ExitonConfiguration & | right | ) | const [inline] |
Definition at line 69 of file G4ExitonConfiguration.hh.
References operator==().
00069 { 00070 return !operator==(right); 00071 }
bool G4ExitonConfiguration::operator== | ( | const G4ExitonConfiguration & | right | ) | const [inline] |
Definition at line 61 of file G4ExitonConfiguration.hh.
References neutronHoles, neutronQuasiParticles, protonHoles, and protonQuasiParticles.
Referenced by operator!=().
00061 { 00062 return ( (&right == this) || 00063 (protonQuasiParticles == right.protonQuasiParticles && 00064 neutronQuasiParticles == right.neutronQuasiParticles && 00065 protonHoles == right.protonHoles && 00066 neutronHoles == right.neutronHoles) ); 00067 }
Definition at line 89 of file G4ExitonConfiguration.hh.
Referenced by clear(), G4InuclNuclei::copy(), G4IntraNucleiCascader::copyWoundedNucleus(), empty(), incrementHoles(), G4InuclNuclei::makeG4Fragment(), G4CascadeRecoilMaker::makeRecoilFragment(), operator<<(), and operator==().
Definition at line 87 of file G4ExitonConfiguration.hh.
Referenced by clear(), G4InuclNuclei::copy(), empty(), incrementQP(), G4InuclNuclei::makeG4Fragment(), G4CascadeRecoilMaker::makeRecoilFragment(), operator<<(), and operator==().
Definition at line 88 of file G4ExitonConfiguration.hh.
Referenced by clear(), G4InuclNuclei::copy(), G4IntraNucleiCascader::copyWoundedNucleus(), empty(), incrementHoles(), G4InuclNuclei::makeG4Fragment(), G4CascadeRecoilMaker::makeRecoilFragment(), operator<<(), and operator==().
Definition at line 86 of file G4ExitonConfiguration.hh.
Referenced by clear(), G4InuclNuclei::copy(), empty(), incrementQP(), G4InuclNuclei::makeG4Fragment(), G4CascadeRecoilMaker::makeRecoilFragment(), operator<<(), and operator==().