Geant4 11.1.1
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()
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()
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

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

◆ 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==NULL)
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
Definition: G4SPBaryon.cc:100
#define TRUE
Definition: globals.hh:41
#define FALSE
Definition: globals.hh:38

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