#include <G4PDGCodeChecker.hh>
Definition at line 44 of file G4PDGCodeChecker.hh.
◆ anonymous enum
◆ G4PDGCodeChecker()
G4PDGCodeChecker::G4PDGCodeChecker |
( |
| ) |
|
Definition at line 45 of file G4PDGCodeChecker.cc.
G4int theAntiQuarkContent[NumberOfQuarkFlavor]
G4int theQuarkContent[NumberOfQuarkFlavor]
◆ ~G4PDGCodeChecker()
G4PDGCodeChecker::~G4PDGCodeChecker |
( |
| ) |
|
|
inline |
◆ CheckCharge()
Definition at line 353 of file G4PDGCodeChecker.cc.
360 totalCharge += 2./3.*
eplus*theQuarkContent[flavor+1];
361 totalCharge += (-2./3.)*
eplus*theAntiQuarkContent[flavor+1];
364 if (std::fabs(totalCharge-thePDGCharge)>0.1*
eplus) {
367 G4cout <<
" G4PDGCodeChecker::CheckCharge : ";
368 G4cout <<
" illegal electric charge " << thePDGCharge/
eplus;
G4GLOB_DLL std::ostream G4cout
static const double eplus
G4int theAntiQuarkContent[NumberOfQuarkFlavor]
G4int theQuarkContent[NumberOfQuarkFlavor]
◆ CheckForBaryons()
G4int G4PDGCodeChecker::CheckForBaryons |
( |
| ) |
|
|
private |
Definition at line 107 of file G4PDGCodeChecker.cc.
114 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
115 G4cout <<
" meson has three quark ";
123 if (std::abs(tempPDGcode)%10000 == 3122) {
126 }
else if (std::abs(tempPDGcode)%10000 == 3124) {
129 }
else if (std::abs(tempPDGcode)%10000 == 3126) {
132 }
else if (std::abs(tempPDGcode)%10000 == 3128) {
135 }
else if (std::abs(tempPDGcode)%10000 == 4122) {
138 }
else if (std::abs(tempPDGcode)%10000 == 5122) {
141 }
else if (std::abs(tempPDGcode)%10000 == 4132) {
144 }
else if (std::abs(tempPDGcode)%10000 == 4232) {
147 }
else if (std::abs(tempPDGcode)%10000 == 5132) {
150 }
else if (std::abs(tempPDGcode)%10000 == 5232) {
153 }
else if (std::abs(tempPDGcode)%10000 == 2122) {
156 }
else if (std::abs(tempPDGcode)%10000 == 1212) {
159 }
else if (std::abs(tempPDGcode)%10000 == 2126) {
162 }
else if (std::abs(tempPDGcode)%10000 == 1216) {
165 }
else if (std::abs(tempPDGcode)%10000 == 2128) {
168 }
else if (std::abs(tempPDGcode)%10000 == 1218) {
171 }
else if (std::abs(tempPDGcode)%10000 == 2124) {
174 }
else if (std::abs(tempPDGcode)%10000 == 1214) {
183 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
184 G4cout <<
" illegal code for baryon ";
193 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
194 G4cout <<
" ??? unknown quark ";
203 if (tempPDGcode >0) {
G4GLOB_DLL std::ostream G4cout
G4int theAntiQuarkContent[NumberOfQuarkFlavor]
G4int theQuarkContent[NumberOfQuarkFlavor]
◆ CheckForDiQuarks()
G4int G4PDGCodeChecker::CheckForDiQuarks |
( |
| ) |
|
|
private |
Definition at line 290 of file G4PDGCodeChecker.cc.
304 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
305 G4cout <<
" ??? unknown quark ";
G4GLOB_DLL std::ostream G4cout
G4int theAntiQuarkContent[NumberOfQuarkFlavor]
G4int theQuarkContent[NumberOfQuarkFlavor]
◆ CheckForMesons()
G4int G4PDGCodeChecker::CheckForMesons |
( |
| ) |
|
|
private |
Definition at line 217 of file G4PDGCodeChecker.cc.
222 if (tempPDGcode == 310)
spin = 0;
223 if (tempPDGcode == 130) {
233 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
234 G4cout <<
" meson has only quark and anti-quark pair";
243 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
244 G4cout <<
" illegal code for meson ";
255 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
256 G4cout <<
" ??? unknown quark ";
267 if (tempPDGcode >0) {
276 if (tempPDGcode >0) {
G4GLOB_DLL std::ostream G4cout
G4int theAntiQuarkContent[NumberOfQuarkFlavor]
G4int theQuarkContent[NumberOfQuarkFlavor]
◆ CheckForNuclei()
G4int G4PDGCodeChecker::CheckForNuclei |
( |
| ) |
|
|
private |
Definition at line 378 of file G4PDGCodeChecker.cc.
381 if (pcode < 1000000000) {
388 pcode -= 10000000*
LL;
395 if (A < 2 || Z > A-LL || LL>A ) {
398 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
399 G4cout <<
" ??? Illegal PDG encoding for nucleus ";
406 G4int n_up = 2*Z + (A-Z-
LL) + LL;
407 G4int n_down = Z + 2*(A-Z-
LL) + LL;
G4GLOB_DLL std::ostream G4cout
double A(double temperature)
static const G4int LL[nN]
G4int theAntiQuarkContent[NumberOfQuarkFlavor]
G4int theQuarkContent[NumberOfQuarkFlavor]
◆ CheckForQuarks()
G4int G4PDGCodeChecker::CheckForQuarks |
( |
| ) |
|
|
private |
Definition at line 326 of file G4PDGCodeChecker.cc.
331 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
332 G4cout <<
" ??? unknown quark ";
G4GLOB_DLL std::ostream G4cout
G4int theAntiQuarkContent[NumberOfQuarkFlavor]
G4int theQuarkContent[NumberOfQuarkFlavor]
◆ CheckPDGCode()
Definition at line 61 of file G4PDGCodeChecker.cc.
void GetDigits(G4int code)
G4int theAntiQuarkContent[NumberOfQuarkFlavor]
G4int theQuarkContent[NumberOfQuarkFlavor]
◆ GetAntiQuarkContent()
G4int G4PDGCodeChecker::GetAntiQuarkContent |
( |
G4int |
flavor | ) |
const |
|
inline |
◆ GetDigits()
void G4PDGCodeChecker::GetDigits |
( |
G4int |
code | ) |
|
|
private |
◆ GetExotic()
G4int G4PDGCodeChecker::GetExotic |
( |
| ) |
const |
|
inline |
◆ GetMultiplet()
G4int G4PDGCodeChecker::GetMultiplet |
( |
| ) |
const |
|
inline |
◆ GetQuarkContent()
G4int G4PDGCodeChecker::GetQuarkContent |
( |
G4int |
flavor | ) |
const |
|
inline |
◆ GetQuarkFlavor()
G4int G4PDGCodeChecker::GetQuarkFlavor |
( |
G4int |
idx | ) |
const |
|
inline |
◆ GetRadial()
G4int G4PDGCodeChecker::GetRadial |
( |
| ) |
const |
|
inline |
◆ GetSpin()
G4int G4PDGCodeChecker::GetSpin |
( |
| ) |
const |
|
inline |
◆ GetVerboseLevel()
G4int G4PDGCodeChecker::GetVerboseLevel |
( |
| ) |
const |
|
inline |
◆ IsAntiParticle()
G4bool G4PDGCodeChecker::IsAntiParticle |
( |
| ) |
const |
|
inline |
◆ SetVerboseLevel()
void G4PDGCodeChecker::SetVerboseLevel |
( |
G4int |
verbose | ) |
|
|
inline |
◆ code
G4int G4PDGCodeChecker::code |
|
private |
◆ exotic
G4int G4PDGCodeChecker::exotic |
|
private |
◆ higherSpin
G4int G4PDGCodeChecker::higherSpin |
|
private |
◆ multiplet
G4int G4PDGCodeChecker::multiplet |
|
private |
◆ quark1
G4int G4PDGCodeChecker::quark1 |
|
private |
◆ quark2
G4int G4PDGCodeChecker::quark2 |
|
private |
◆ quark3
G4int G4PDGCodeChecker::quark3 |
|
private |
◆ radial
G4int G4PDGCodeChecker::radial |
|
private |
◆ spin
G4int G4PDGCodeChecker::spin |
|
private |
◆ theAntiQuarkContent
◆ theParticleType
G4String G4PDGCodeChecker::theParticleType |
|
private |
◆ theQuarkContent
◆ verboseLevel
G4int G4PDGCodeChecker::verboseLevel |
|
private |
The documentation for this class was generated from the following files: