Geant4  10.00.p02
G4PDGCodeChecker Class Reference

#include <G4PDGCodeChecker.hh>

+ Collaboration diagram for G4PDGCodeChecker:

Public Member Functions

 G4PDGCodeChecker ()
 
 ~G4PDGCodeChecker ()
 
G4int CheckPDGCode (G4int code, G4String type)
 
G4int GetQuarkContent (G4int flavor) const
 
G4int GetAntiQuarkContent (G4int flavor) const
 
G4bool IsAntiParticle () const
 
G4int GetQuarkFlavor (G4int idx) const
 
G4int GetSpin () const
 
G4int GetExotic () const
 
G4int GetRadial () const
 
G4int GetMultiplet () const
 
G4bool CheckCharge (G4double charge) const
 
G4int GetVerboseLevel () const
 
void SetVerboseLevel (G4int verbose)
 

Protected Types

enum  { NumberOfQuarkFlavor = 8 }
 

Private Member Functions

void GetDigits (G4int code)
 
G4int CheckForQuarks ()
 
G4int CheckForDiQuarks ()
 
G4int CheckForMesons ()
 
G4int CheckForBaryons ()
 
G4int CheckForNuclei ()
 

Private Attributes

G4int verboseLevel
 
G4int code
 
G4String theParticleType
 
G4int higherSpin
 
G4int exotic
 
G4int radial
 
G4int multiplet
 
G4int quark1
 
G4int quark2
 
G4int quark3
 
G4int spin
 
G4int theQuarkContent [NumberOfQuarkFlavor]
 
G4int theAntiQuarkContent [NumberOfQuarkFlavor]
 

Detailed Description

Definition at line 44 of file G4PDGCodeChecker.hh.

Member Enumeration Documentation

anonymous enum
protected
Enumerator
NumberOfQuarkFlavor 

Definition at line 73 of file G4PDGCodeChecker.hh.

Constructor & Destructor Documentation

G4PDGCodeChecker::G4PDGCodeChecker ( )
G4PDGCodeChecker::~G4PDGCodeChecker ( )
inline

Definition at line 49 of file G4PDGCodeChecker.hh.

Member Function Documentation

G4bool G4PDGCodeChecker::CheckCharge ( G4double  charge) const

Definition at line 353 of file G4PDGCodeChecker.cc.

References code, eplus, G4cout, G4endl, NumberOfQuarkFlavor, theAntiQuarkContent, theQuarkContent, and verboseLevel.

Referenced by G4ParticleDefinition::FillQuarkContents().

+ Here is the caller graph for this function:

G4int G4PDGCodeChecker::CheckForBaryons ( )
private

Definition at line 107 of file G4PDGCodeChecker.cc.

References code, G4cout, G4endl, NumberOfQuarkFlavor, quark1, quark2, quark3, spin, theAntiQuarkContent, theQuarkContent, and verboseLevel.

Referenced by CheckPDGCode().

+ Here is the caller graph for this function:

G4int G4PDGCodeChecker::CheckForDiQuarks ( )
private

Definition at line 290 of file G4PDGCodeChecker.cc.

References code, G4cout, G4endl, NumberOfQuarkFlavor, quark1, quark2, quark3, theAntiQuarkContent, theQuarkContent, and verboseLevel.

Referenced by CheckPDGCode().

+ Here is the caller graph for this function:

G4int G4PDGCodeChecker::CheckForMesons ( )
private

Definition at line 217 of file G4PDGCodeChecker.cc.

References code, G4cout, G4endl, NumberOfQuarkFlavor, quark1, quark2, quark3, spin, theAntiQuarkContent, theQuarkContent, and verboseLevel.

Referenced by CheckPDGCode().

+ Here is the caller graph for this function:

G4int G4PDGCodeChecker::CheckForNuclei ( )
private

Definition at line 378 of file G4PDGCodeChecker.cc.

References A, code, G4cout, G4endl, L, theAntiQuarkContent, theQuarkContent, and verboseLevel.

Referenced by CheckPDGCode().

+ Here is the caller graph for this function:

G4int G4PDGCodeChecker::CheckForQuarks ( )
private

Definition at line 326 of file G4PDGCodeChecker.cc.

References code, G4cout, G4endl, NumberOfQuarkFlavor, quark1, theAntiQuarkContent, theQuarkContent, and verboseLevel.

Referenced by CheckPDGCode().

+ Here is the caller graph for this function:

G4int G4PDGCodeChecker::CheckPDGCode ( G4int  code,
G4String  type 
)

Definition at line 61 of file G4PDGCodeChecker.cc.

References CheckForBaryons(), CheckForDiQuarks(), CheckForMesons(), CheckForNuclei(), CheckForQuarks(), code, GetDigits(), NumberOfQuarkFlavor, theAntiQuarkContent, theParticleType, and theQuarkContent.

Referenced by G4ParticleDefinition::FillQuarkContents().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4PDGCodeChecker::GetAntiQuarkContent ( G4int  flavor) const
inline

Definition at line 119 of file G4PDGCodeChecker.hh.

References NumberOfQuarkFlavor, and theAntiQuarkContent.

Referenced by G4ParticleDefinition::FillQuarkContents().

+ Here is the caller graph for this function:

void G4PDGCodeChecker::GetDigits ( G4int  code)
private

Definition at line 425 of file G4PDGCodeChecker.cc.

References exotic, higherSpin, multiplet, quark1, quark2, quark3, radial, and spin.

Referenced by CheckPDGCode().

+ Here is the caller graph for this function:

G4int G4PDGCodeChecker::GetExotic ( ) const
inline

Definition at line 141 of file G4PDGCodeChecker.hh.

References exotic.

G4int G4PDGCodeChecker::GetMultiplet ( ) const
inline

Definition at line 153 of file G4PDGCodeChecker.hh.

References multiplet.

G4int G4PDGCodeChecker::GetQuarkContent ( G4int  flavor) const
inline

Definition at line 109 of file G4PDGCodeChecker.hh.

References NumberOfQuarkFlavor, and theQuarkContent.

Referenced by G4ParticleDefinition::FillQuarkContents().

+ Here is the caller graph for this function:

G4int G4PDGCodeChecker::GetQuarkFlavor ( G4int  idx) const
inline

Definition at line 130 of file G4PDGCodeChecker.hh.

References quark1, quark2, and quark3.

G4int G4PDGCodeChecker::GetRadial ( ) const
inline

Definition at line 147 of file G4PDGCodeChecker.hh.

References radial.

G4int G4PDGCodeChecker::GetSpin ( ) const
inline

Definition at line 159 of file G4PDGCodeChecker.hh.

References spin.

Referenced by G4ParticleDefinition::FillQuarkContents().

+ Here is the caller graph for this function:

G4int G4PDGCodeChecker::GetVerboseLevel ( ) const
inline

Definition at line 177 of file G4PDGCodeChecker.hh.

References verboseLevel.

G4bool G4PDGCodeChecker::IsAntiParticle ( ) const
inline

Definition at line 165 of file G4PDGCodeChecker.hh.

References code.

void G4PDGCodeChecker::SetVerboseLevel ( G4int  verbose)
inline

Definition at line 171 of file G4PDGCodeChecker.hh.

References verboseLevel.

Referenced by G4ParticleDefinition::FillQuarkContents().

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4PDGCodeChecker::exotic
private

Definition at line 91 of file G4PDGCodeChecker.hh.

Referenced by GetDigits(), and GetExotic().

G4int G4PDGCodeChecker::higherSpin
private

Definition at line 90 of file G4PDGCodeChecker.hh.

Referenced by GetDigits().

G4int G4PDGCodeChecker::multiplet
private

Definition at line 93 of file G4PDGCodeChecker.hh.

Referenced by GetDigits(), and GetMultiplet().

G4int G4PDGCodeChecker::quark1
private
G4int G4PDGCodeChecker::quark2
private
G4int G4PDGCodeChecker::quark3
private
G4int G4PDGCodeChecker::radial
private

Definition at line 92 of file G4PDGCodeChecker.hh.

Referenced by GetDigits(), and GetRadial().

G4int G4PDGCodeChecker::spin
private

Definition at line 97 of file G4PDGCodeChecker.hh.

Referenced by CheckForBaryons(), CheckForMesons(), GetDigits(), and GetSpin().

G4String G4PDGCodeChecker::theParticleType
private

Definition at line 88 of file G4PDGCodeChecker.hh.

Referenced by CheckPDGCode().


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