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

#include <G4ExcitedXiConstructor.hh>

+ Inheritance diagram for G4ExcitedXiConstructor:

Public Types

enum  { NStates = 5 }
 
enum  { NumberOfDecayModes = 4 }
 

Public Member Functions

 G4ExcitedXiConstructor ()
 
 ~G4ExcitedXiConstructor () override=default
 
- Public Member Functions inherited from G4ExcitedBaryonConstructor
 G4ExcitedBaryonConstructor (G4int nStates=0, G4int isoSpin=0)
 
virtual ~G4ExcitedBaryonConstructor ()=default
 
virtual void Construct (G4int indexOfState=-1)
 

Protected Member Functions

G4bool Exist (G4int) override
 
G4int GetQuarkContents (G4int, G4int) override
 
G4String GetName (G4int iIso3, G4int iState) override
 
G4String GetMultipletName (G4int iState) override
 
G4double GetMass (G4int state, G4int iso) override
 
G4double GetWidth (G4int state, G4int iso) override
 
G4int GetiSpin (G4int iState) override
 
G4int GetiParity (G4int iState) override
 
G4int GetEncodingOffset (G4int iState) override
 
G4DecayTableCreateDecayTable (const G4String &name, G4int iIso3, G4int iState, G4bool fAnti=false) override
 
- Protected Member Functions inherited from G4ExcitedBaryonConstructor
virtual void ConstructParticle (G4int indexOfState)
 
virtual void ConstructAntiParticle (G4int indexOfState)
 
virtual G4double GetCharge (G4int iIsoSpin3)
 
virtual G4int GetEncoding (G4int iIsoSpin3, G4int idxState)
 

Additional Inherited Members

- Protected Attributes inherited from G4ExcitedBaryonConstructor
G4int NumberOfStates
 
G4int iIsoSpin
 
const G4String type
 
const G4int iConjugation {0}
 
const G4int iGParity {0}
 
const G4int leptonNumber {0}
 
const G4int baryonNumber {1}
 

Detailed Description

Definition at line 38 of file G4ExcitedXiConstructor.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NStates 

Definition at line 43 of file G4ExcitedXiConstructor.hh.

◆ anonymous enum

anonymous enum
Enumerator
NumberOfDecayModes 

Definition at line 48 of file G4ExcitedXiConstructor.hh.

Constructor & Destructor Documentation

◆ G4ExcitedXiConstructor()

G4ExcitedXiConstructor::G4ExcitedXiConstructor ( )

Definition at line 43 of file G4ExcitedXiConstructor.cc.

G4ExcitedBaryonConstructor(G4int nStates=0, G4int isoSpin=0)

◆ ~G4ExcitedXiConstructor()

G4ExcitedXiConstructor::~G4ExcitedXiConstructor ( )
overridedefault

Member Function Documentation

◆ CreateDecayTable()

G4DecayTable * G4ExcitedXiConstructor::CreateDecayTable ( const G4String & name,
G4int iIso3,
G4int iState,
G4bool fAnti = false )
overrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 45 of file G4ExcitedXiConstructor.cc.

47{
48 // create decay table
49 auto decayTable = new G4DecayTable();
50
51 G4double br;
52 if ((br = bRatio[iState][XiPi]) > 0.0) {
53 AddXiPiMode(decayTable, parentName, br, iIso3, fAnti);
54 }
55
56 if ((br = bRatio[iState][XiGamma]) > 0.0) {
57 AddXiGammaMode(decayTable, parentName, br, iIso3, fAnti);
58 }
59
60 if ((br = bRatio[iState][LambdaK]) > 0.0) {
61 AddLambdaKMode(decayTable, parentName, br, iIso3, fAnti);
62 }
63
64 if ((br = bRatio[iState][SigmaK]) > 0.0) {
65 AddSigmaKMode(decayTable, parentName, br, iIso3, fAnti);
66 }
67
68 return decayTable;
69}
double G4double
Definition G4Types.hh:83

◆ Exist()

G4bool G4ExcitedXiConstructor::Exist ( G4int )
inlineoverrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 58 of file G4ExcitedXiConstructor.hh.

58{ return true; }

◆ GetEncodingOffset()

G4int G4ExcitedXiConstructor::GetEncodingOffset ( G4int iState)
inlineoverrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 116 of file G4ExcitedXiConstructor.hh.

117{
118 return encodingOffset[iState];
119}

◆ GetiParity()

G4int G4ExcitedXiConstructor::GetiParity ( G4int iState)
inlineoverrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 111 of file G4ExcitedXiConstructor.hh.

112{
113 return iParity[iState];
114}

◆ GetiSpin()

G4int G4ExcitedXiConstructor::GetiSpin ( G4int iState)
inlineoverrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 106 of file G4ExcitedXiConstructor.hh.

107{
108 return iSpin[iState];
109}

◆ GetMass()

G4double G4ExcitedXiConstructor::GetMass ( G4int state,
G4int iso )
overrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 273 of file G4ExcitedXiConstructor.cc.

274{
275 G4double fm = mass[iState];
276 if (iState == 0) {
277 if (iso3 == -1) fm = 1.5350 * GeV; // xi-
278 }
279 return fm;
280}

◆ GetMultipletName()

G4String G4ExcitedXiConstructor::GetMultipletName ( G4int iState)
inlineoverrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 145 of file G4ExcitedXiConstructor.hh.

146{
147 return name[iState];
148}

◆ GetName()

G4String G4ExcitedXiConstructor::GetName ( G4int iIso3,
G4int iState )
inlineoverrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 150 of file G4ExcitedXiConstructor.hh.

151{
152 G4String particle = name[iState];
153 if (iIso3 == +1) {
154 particle += "0";
155 }
156 else if (iIso3 == -1) {
157 particle += "-";
158 }
159 return particle;
160}

◆ GetQuarkContents()

G4int G4ExcitedXiConstructor::GetQuarkContents ( G4int iQ,
G4int iIso3 )
inlineoverrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 121 of file G4ExcitedXiConstructor.hh.

122{
123 G4int quark = 0;
124 if (iQ == 0) {
125 // s-quark
126 quark = 3;
127 }
128 else if (iQ == 1) {
129 // s-quark
130 quark = 3;
131 }
132 else if (iQ == 2) {
133 if (iIso3 == +1) {
134 // u-quark
135 quark = 2;
136 }
137 else {
138 // d-quark
139 quark = 1;
140 }
141 }
142 return quark;
143}
int G4int
Definition G4Types.hh:85

◆ GetWidth()

G4double G4ExcitedXiConstructor::GetWidth ( G4int state,
G4int iso )
overrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 282 of file G4ExcitedXiConstructor.cc.

283{
284 G4double fw = width[iState];
285 if (iState == 0) {
286 if (iso3 == -1) fw = 9.9 * MeV; // xi-
287 }
288 return fw;
289}

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