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

#include <geant4/tree/geant4-10.6-release/source/particles/management/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 43 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 43 of file G4PDGCodeChecker.hh

Member Enumeration Documentation

anonymous enum
protected
Enumerator:
NumberOfQuarkFlavor 

Definition at line 72 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 72 of file G4PDGCodeChecker.hh

Constructor & Destructor Documentation

G4PDGCodeChecker::G4PDGCodeChecker ( )

Definition at line 44 of file G4PDGCodeChecker.cc.

View newest version in sPHENIX GitHub at line 44 of file G4PDGCodeChecker.cc

References NumberOfQuarkFlavor, theAntiQuarkContent, theQuarkContent, and verboseLevel.

G4PDGCodeChecker::~G4PDGCodeChecker ( )
inline

Definition at line 48 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 48 of file G4PDGCodeChecker.hh

Member Function Documentation

G4bool G4PDGCodeChecker::CheckCharge ( G4double  charge) const

Definition at line 352 of file G4PDGCodeChecker.cc.

View newest version in sPHENIX GitHub at line 352 of file G4PDGCodeChecker.cc

References 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 106 of file G4PDGCodeChecker.cc.

View newest version in sPHENIX GitHub at line 106 of file G4PDGCodeChecker.cc

References kdfinder::abs(), code, G4cout, G4endl, NumberOfQuarkFlavor, quark1, quark2, quark3, spin, theAntiQuarkContent, theQuarkContent, and verboseLevel.

Referenced by CheckPDGCode().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4PDGCodeChecker::CheckForDiQuarks ( )
private

Definition at line 289 of file G4PDGCodeChecker.cc.

View newest version in sPHENIX GitHub at line 289 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 216 of file G4PDGCodeChecker.cc.

View newest version in sPHENIX GitHub at line 216 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 377 of file G4PDGCodeChecker.cc.

View newest version in sPHENIX GitHub at line 377 of file G4PDGCodeChecker.cc

References A(), kdfinder::abs(), code, G4cout, G4endl, LL, theAntiQuarkContent, theQuarkContent, verboseLevel, and Z.

Referenced by CheckPDGCode().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4PDGCodeChecker::CheckForQuarks ( )
private

Definition at line 325 of file G4PDGCodeChecker.cc.

View newest version in sPHENIX GitHub at line 325 of file G4PDGCodeChecker.cc

References kdfinder::abs(), code, G4cout, G4endl, NumberOfQuarkFlavor, quark1, theAntiQuarkContent, theQuarkContent, and verboseLevel.

Referenced by CheckPDGCode().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 60 of file G4PDGCodeChecker.cc.

View newest version in sPHENIX GitHub at line 60 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 118 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 118 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 424 of file G4PDGCodeChecker.cc.

View newest version in sPHENIX GitHub at line 424 of file G4PDGCodeChecker.cc

References kdfinder::abs(), exotic, higherSpin, multiplet, quark1, quark2, quark3, radial, and spin.

Referenced by CheckPDGCode().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4PDGCodeChecker::GetExotic ( ) const
inline

Definition at line 140 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 140 of file G4PDGCodeChecker.hh

References exotic.

G4int G4PDGCodeChecker::GetMultiplet ( ) const
inline

Definition at line 152 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 152 of file G4PDGCodeChecker.hh

References multiplet.

G4int G4PDGCodeChecker::GetQuarkContent ( G4int  flavor) const
inline

Definition at line 108 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 108 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 129 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 129 of file G4PDGCodeChecker.hh

References quark1, quark2, and quark3.

G4int G4PDGCodeChecker::GetRadial ( ) const
inline

Definition at line 146 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 146 of file G4PDGCodeChecker.hh

References radial.

G4int G4PDGCodeChecker::GetSpin ( ) const
inline

Definition at line 158 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 158 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 176 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 176 of file G4PDGCodeChecker.hh

References verboseLevel.

G4bool G4PDGCodeChecker::IsAntiParticle ( ) const
inline

Definition at line 164 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 164 of file G4PDGCodeChecker.hh

void G4PDGCodeChecker::SetVerboseLevel ( G4int  verbose)
inline

Definition at line 170 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 170 of file G4PDGCodeChecker.hh

References verboseLevel.

Referenced by G4ParticleDefinition::FillQuarkContents().

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4PDGCodeChecker::code
private

Definition at line 86 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 86 of file G4PDGCodeChecker.hh

Referenced by CheckForBaryons(), CheckForDiQuarks(), CheckForMesons(), CheckForNuclei(), CheckForQuarks(), and CheckPDGCode().

G4int G4PDGCodeChecker::exotic
private

Definition at line 90 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 90 of file G4PDGCodeChecker.hh

Referenced by GetDigits(), and GetExotic().

G4int G4PDGCodeChecker::higherSpin
private

Definition at line 89 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 89 of file G4PDGCodeChecker.hh

Referenced by GetDigits().

G4int G4PDGCodeChecker::multiplet
private

Definition at line 92 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 92 of file G4PDGCodeChecker.hh

Referenced by GetDigits(), and GetMultiplet().

G4int G4PDGCodeChecker::quark1
private

Definition at line 93 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 93 of file G4PDGCodeChecker.hh

Referenced by CheckForBaryons(), CheckForDiQuarks(), CheckForMesons(), CheckForQuarks(), GetDigits(), and GetQuarkFlavor().

G4int G4PDGCodeChecker::quark2
private

Definition at line 94 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 94 of file G4PDGCodeChecker.hh

Referenced by CheckForBaryons(), CheckForDiQuarks(), CheckForMesons(), GetDigits(), and GetQuarkFlavor().

G4int G4PDGCodeChecker::quark3
private

Definition at line 95 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 95 of file G4PDGCodeChecker.hh

Referenced by CheckForBaryons(), CheckForDiQuarks(), CheckForMesons(), GetDigits(), and GetQuarkFlavor().

G4int G4PDGCodeChecker::radial
private

Definition at line 91 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 91 of file G4PDGCodeChecker.hh

Referenced by GetDigits(), and GetRadial().

G4int G4PDGCodeChecker::spin
private

Definition at line 96 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 96 of file G4PDGCodeChecker.hh

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

G4int G4PDGCodeChecker::theAntiQuarkContent[NumberOfQuarkFlavor]
private
G4String G4PDGCodeChecker::theParticleType
private

Definition at line 87 of file G4PDGCodeChecker.hh.

View newest version in sPHENIX GitHub at line 87 of file G4PDGCodeChecker.hh

Referenced by CheckPDGCode().

G4int G4PDGCodeChecker::theQuarkContent[NumberOfQuarkFlavor]
private
G4int G4PDGCodeChecker::verboseLevel
private

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