Geant4-11
Public Member Functions | Private Attributes
G4BaryonSplitter Class Reference

#include <G4BaryonSplitter.hh>

Public Member Functions

G4bool FindDiquark (G4int PDGCode, G4int Quark, G4int *Diquark)
 
 G4BaryonSplitter ()
 
const G4SPBaryonGetSPBaryon (G4int PDGCode)
 
G4bool SplitBarion (G4int PDGCode, G4int *q_or_qqbar, G4int *qbar_or_qq)
 

Private Attributes

G4SPBaryonTable theBaryons
 

Detailed Description

Definition at line 36 of file G4BaryonSplitter.hh.

Constructor & Destructor Documentation

◆ G4BaryonSplitter()

G4BaryonSplitter::G4BaryonSplitter ( )

Definition at line 33 of file G4BaryonSplitter.cc.

35{
40 theBaryons.insert(new G4SPBaryon(G4ParticleTable::GetParticleTable()->FindParticle(2224))); // Delta++
41 theBaryons.insert(new G4SPBaryon(G4ParticleTable::GetParticleTable()->FindParticle(2214))); // Delta+
42 theBaryons.insert(new G4SPBaryon(G4ParticleTable::GetParticleTable()->FindParticle(2114))); // Delta0
43 theBaryons.insert(new G4SPBaryon(G4ParticleTable::GetParticleTable()->FindParticle(1114))); // Delta-
44 theBaryons.insert(new G4SPBaryon(G4ParticleTable::GetParticleTable()->FindParticle(-2224))); // anti Delta++
45 theBaryons.insert(new G4SPBaryon(G4ParticleTable::GetParticleTable()->FindParticle(-2214))); // anti Delta+
46 theBaryons.insert(new G4SPBaryon(G4ParticleTable::GetParticleTable()->FindParticle(-2114))); // anti Delta0
47 theBaryons.insert(new G4SPBaryon(G4ParticleTable::GetParticleTable()->FindParticle(-1114))); // anti Delta-
90}
static G4AntiLambda * AntiLambda()
static G4AntiLambdab * Definition()
static G4AntiLambdacPlus * Definition()
static G4AntiNeutron * AntiNeutron()
static G4AntiOmegaMinus * AntiOmegaMinus()
static G4AntiOmegabMinus * Definition()
static G4AntiOmegacZero * Definition()
static G4AntiProton * AntiProton()
Definition: G4AntiProton.cc:92
static G4AntiSigmaMinus * AntiSigmaMinus()
static G4AntiSigmaPlus * AntiSigmaPlus()
static G4AntiSigmaZero * AntiSigmaZero()
static G4AntiSigmabMinus * Definition()
static G4AntiSigmabPlus * Definition()
static G4AntiSigmabZero * Definition()
static G4AntiSigmacPlusPlus * Definition()
static G4AntiSigmacPlus * Definition()
static G4AntiSigmacZero * Definition()
static G4AntiXiMinus * AntiXiMinus()
static G4AntiXiZero * AntiXiZero()
static G4AntiXibMinus * Definition()
static G4AntiXibZero * Definition()
static G4AntiXicPlus * Definition()
static G4AntiXicZero * Definition()
G4SPBaryonTable theBaryons
static G4Lambda * Lambda()
Definition: G4Lambda.cc:107
static G4Lambdab * Definition()
Definition: G4Lambdab.cc:52
static G4LambdacPlus * Definition()
static G4Neutron * Neutron()
Definition: G4Neutron.cc:103
static G4OmegaMinus * OmegaMinus()
static G4OmegabMinus * Definition()
static G4OmegacZero * Definition()
Definition: G4OmegacZero.cc:51
static G4ParticleTable * GetParticleTable()
static G4Proton * Proton()
Definition: G4Proton.cc:92
void insert(G4SPBaryon *aBaryon)
static G4SigmaMinus * SigmaMinus()
static G4SigmaPlus * SigmaPlus()
Definition: G4SigmaPlus.cc:107
static G4SigmaZero * SigmaZero()
Definition: G4SigmaZero.cc:101
static G4SigmabMinus * Definition()
static G4SigmabPlus * Definition()
Definition: G4SigmabPlus.cc:52
static G4SigmabZero * Definition()
Definition: G4SigmabZero.cc:52
static G4SigmacPlusPlus * Definition()
static G4SigmacPlus * Definition()
Definition: G4SigmacPlus.cc:51
static G4SigmacZero * Definition()
Definition: G4SigmacZero.cc:51
static G4XiMinus * XiMinus()
Definition: G4XiMinus.cc:105
static G4XiZero * XiZero()
Definition: G4XiZero.cc:105
static G4XibMinus * Definition()
Definition: G4XibMinus.cc:52
static G4XibZero * Definition()
Definition: G4XibZero.cc:52
static G4XicPlus * Definition()
Definition: G4XicPlus.cc:51
static G4XicZero * Definition()
Definition: G4XicZero.cc:51

References G4AntiLambda::AntiLambda(), G4AntiNeutron::AntiNeutron(), G4AntiOmegaMinus::AntiOmegaMinus(), G4AntiProton::AntiProton(), G4AntiSigmaMinus::AntiSigmaMinus(), G4AntiSigmaPlus::AntiSigmaPlus(), G4AntiSigmaZero::AntiSigmaZero(), G4AntiXiMinus::AntiXiMinus(), G4AntiXiZero::AntiXiZero(), G4AntiLambdab::Definition(), G4AntiLambdacPlus::Definition(), G4AntiOmegabMinus::Definition(), G4AntiOmegacZero::Definition(), G4AntiSigmabMinus::Definition(), G4AntiSigmabPlus::Definition(), G4AntiSigmabZero::Definition(), G4AntiSigmacPlus::Definition(), G4AntiSigmacPlusPlus::Definition(), G4AntiSigmacZero::Definition(), G4AntiXibMinus::Definition(), G4AntiXibZero::Definition(), G4AntiXicPlus::Definition(), G4AntiXicZero::Definition(), G4Lambdab::Definition(), G4LambdacPlus::Definition(), G4OmegabMinus::Definition(), G4OmegacZero::Definition(), G4SigmabMinus::Definition(), G4SigmabPlus::Definition(), G4SigmabZero::Definition(), G4SigmacPlus::Definition(), G4SigmacPlusPlus::Definition(), G4SigmacZero::Definition(), G4XibMinus::Definition(), G4XibZero::Definition(), G4XicPlus::Definition(), G4XicZero::Definition(), G4ParticleTable::GetParticleTable(), G4SPBaryonTable::insert(), G4Lambda::Lambda(), G4Neutron::Neutron(), G4OmegaMinus::OmegaMinus(), G4Proton::Proton(), G4SigmaMinus::SigmaMinus(), G4SigmaPlus::SigmaPlus(), G4SigmaZero::SigmaZero(), theBaryons, G4XiMinus::XiMinus(), and G4XiZero::XiZero().

Member Function Documentation

◆ FindDiquark()

G4bool G4BaryonSplitter::FindDiquark ( G4int  PDGCode,
G4int  Quark,
G4int Diquark 
)

Definition at line 116 of file G4BaryonSplitter.cc.

118{
119 const G4SPBaryon * aBaryon = theBaryons.GetBaryon(G4ParticleTable::GetParticleTable()->FindParticle(PDGCode));
120 if(aBaryon)
121 {
122 aBaryon->FindDiquark(Quark, *Diquark);
123 return true;
124 }
125 return false;
126}
const G4SPBaryon * GetBaryon(G4ParticleDefinition *aDefinition)
void FindDiquark(G4int quark, G4int &diQuark) const
Definition: G4SPBaryon.cc:130

References G4SPBaryon::FindDiquark(), G4SPBaryonTable::GetBaryon(), G4ParticleTable::GetParticleTable(), and theBaryons.

◆ GetSPBaryon()

const G4SPBaryon & G4BaryonSplitter::GetSPBaryon ( G4int  PDGCode)

Definition at line 108 of file G4BaryonSplitter.cc.

110{
111 return *theBaryons.GetBaryon(G4ParticleTable::GetParticleTable()->FindParticle(PDGCode));
112}

References G4SPBaryonTable::GetBaryon(), G4ParticleTable::GetParticleTable(), and theBaryons.

◆ SplitBarion()

G4bool G4BaryonSplitter::SplitBarion ( G4int  PDGCode,
G4int q_or_qqbar,
G4int qbar_or_qq 
)

Definition at line 92 of file G4BaryonSplitter.cc.

94{
95 const G4SPBaryon * aBaryon = theBaryons.GetBaryon(G4ParticleTable::GetParticleTable()->FindParticle(PDGCode));
96
97 if(aBaryon==NULL)
98 {
99 return FALSE;
100 } else {
101 aBaryon->SampleQuarkAndDiquark(*q_or_qqbar, *qbar_or_qq);
102 return TRUE;
103 }
104}
#define TRUE
Definition: Globals.hh:27
#define FALSE
Definition: Globals.hh:23
void SampleQuarkAndDiquark(G4int &quark, G4int &diQuark) const
Definition: G4SPBaryon.cc:100

References FALSE, G4SPBaryonTable::GetBaryon(), G4ParticleTable::GetParticleTable(), G4SPBaryon::SampleQuarkAndDiquark(), theBaryons, and TRUE.

Referenced by G4QGSMSplitableHadron::GetValenceQuarkFlavors().

Field Documentation

◆ theBaryons

G4SPBaryonTable G4BaryonSplitter::theBaryons
private

Definition at line 45 of file G4BaryonSplitter.hh.

Referenced by FindDiquark(), G4BaryonSplitter(), GetSPBaryon(), and SplitBarion().


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