Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4BaryonSplitter Class Reference

#include <G4BaryonSplitter.hh>

Public Member Functions

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

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{
36 theBaryons.insert(new G4SPBaryon(G4Proton::Proton()));
37 theBaryons.insert(new G4SPBaryon(G4Neutron::Neutron()));
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-
48 theBaryons.insert(new G4SPBaryon(G4Lambda::Lambda()));
50 theBaryons.insert(new G4SPBaryon(G4SigmaPlus::SigmaPlus()));
51 theBaryons.insert(new G4SPBaryon(G4SigmaZero::SigmaZero()));
56 theBaryons.insert(new G4SPBaryon(G4XiMinus::XiMinus()));
57 theBaryons.insert(new G4SPBaryon(G4XiZero::XiZero()));
70 theBaryons.insert(new G4SPBaryon(G4XicPlus::Definition()));
72 theBaryons.insert(new G4SPBaryon(G4XicZero::Definition()));
76 theBaryons.insert(new G4SPBaryon(G4Lambdab::Definition()));
84 theBaryons.insert(new G4SPBaryon(G4XibZero::Definition()));
86 theBaryons.insert(new G4SPBaryon(G4XibMinus::Definition()));
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()
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()
static G4Lambda * Lambda()
Definition G4Lambda.cc:105
static G4Lambdab * Definition()
Definition G4Lambdab.cc:44
static G4LambdacPlus * Definition()
static G4Neutron * Neutron()
Definition G4Neutron.cc:101
static G4OmegaMinus * OmegaMinus()
static G4OmegabMinus * Definition()
static G4OmegacZero * Definition()
static G4ParticleTable * GetParticleTable()
static G4Proton * Proton()
Definition G4Proton.cc:90
void insert(G4SPBaryon *aBaryon)
static G4SigmaMinus * SigmaMinus()
static G4SigmaPlus * SigmaPlus()
static G4SigmaZero * SigmaZero()
static G4SigmabMinus * Definition()
static G4SigmabPlus * Definition()
static G4SigmabZero * Definition()
static G4SigmacPlusPlus * Definition()
static G4SigmacPlus * Definition()
static G4SigmacZero * Definition()
static G4XiMinus * XiMinus()
Definition G4XiMinus.cc:103
static G4XiZero * XiZero()
Definition G4XiZero.cc:103
static G4XibMinus * Definition()
Definition G4XibMinus.cc:44
static G4XibZero * Definition()
Definition G4XibZero.cc:44
static G4XicPlus * Definition()
Definition G4XicPlus.cc:44
static G4XicZero * Definition()
Definition G4XicZero.cc:44

Member Function Documentation

◆ FindDiquark()

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

Definition at line 116 of file G4BaryonSplitter.cc.

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

◆ 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}

◆ 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 == nullptr)
98 {
99 return false;
100 } else {
101 aBaryon->SampleQuarkAndDiquark(q_or_qqbar, qbar_or_qq);
102 return true;
103 }
104}
void SampleQuarkAndDiquark(G4int &quark, G4int &diQuark) const

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