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

#include <G4ExcitedLambdaConstructor.hh>

+ Inheritance diagram for G4ExcitedLambdaConstructor:

Public Types

enum  { NStates = 12 }
 
enum  { NumberOfDecayModes = 7 }
 

Public Member Functions

 G4ExcitedLambdaConstructor ()
 
 ~G4ExcitedLambdaConstructor () 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 G4ExcitedLambdaConstructor.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NStates 

Definition at line 43 of file G4ExcitedLambdaConstructor.hh.

◆ anonymous enum

anonymous enum
Enumerator
NumberOfDecayModes 

Definition at line 48 of file G4ExcitedLambdaConstructor.hh.

Constructor & Destructor Documentation

◆ G4ExcitedLambdaConstructor()

G4ExcitedLambdaConstructor::G4ExcitedLambdaConstructor ( )

Definition at line 42 of file G4ExcitedLambdaConstructor.cc.

43 : G4ExcitedBaryonConstructor(NStates, LambdaIsoSpin)
44{}
G4ExcitedBaryonConstructor(G4int nStates=0, G4int isoSpin=0)

◆ ~G4ExcitedLambdaConstructor()

G4ExcitedLambdaConstructor::~G4ExcitedLambdaConstructor ( )
overridedefault

Member Function Documentation

◆ CreateDecayTable()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 46 of file G4ExcitedLambdaConstructor.cc.

48{
49 // create decay table
50 auto decayTable = new G4DecayTable();
51
52 G4double br;
53 if ((br = bRatio[iState][NK]) > 0.0) {
54 AddNKMode(decayTable, parentName, br, iIso3, fAnti);
55 }
56
57 if ((br = bRatio[iState][NKStar]) > 0.0) {
58 AddNKStarMode(decayTable, parentName, br, iIso3, fAnti);
59 }
60
61 if ((br = bRatio[iState][SigmaPi]) > 0.0) {
62 AddSigmaPiMode(decayTable, parentName, br, iIso3, fAnti);
63 }
64
65 if ((br = bRatio[iState][SigmaStarPi]) > 0.0) {
66 AddSigmaStarPiMode(decayTable, parentName, br, iIso3, fAnti);
67 }
68
69 if ((br = bRatio[iState][LambdaGamma]) > 0.0) {
70 AddLambdaGammaMode(decayTable, parentName, br, iIso3, fAnti);
71 }
72
73 if ((br = bRatio[iState][LambdaEta]) > 0.0) {
74 AddLambdaEtaMode(decayTable, parentName, br, iIso3, fAnti);
75 }
76
77 if ((br = bRatio[iState][LambdaOmega]) > 0.0) {
78 AddLambdaOmegaMode(decayTable, parentName, br, iIso3, fAnti);
79 }
80
81 return decayTable;
82}
double G4double
Definition G4Types.hh:83

◆ Exist()

G4bool G4ExcitedLambdaConstructor::Exist ( G4int )
inlineoverrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 58 of file G4ExcitedLambdaConstructor.hh.

58{ return true; }

◆ GetEncodingOffset()

G4int G4ExcitedLambdaConstructor::GetEncodingOffset ( G4int iState)
inlineoverrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 135 of file G4ExcitedLambdaConstructor.hh.

136{
137 return encodingOffset[iState];
138}

◆ GetiParity()

G4int G4ExcitedLambdaConstructor::GetiParity ( G4int iState)
inlineoverrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 130 of file G4ExcitedLambdaConstructor.hh.

131{
132 return iParity[iState];
133}

◆ GetiSpin()

G4int G4ExcitedLambdaConstructor::GetiSpin ( G4int iState)
inlineoverrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 125 of file G4ExcitedLambdaConstructor.hh.

126{
127 return iSpin[iState];
128}

◆ GetMass()

G4double G4ExcitedLambdaConstructor::GetMass ( G4int state,
G4int iso )
inlineoverrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 115 of file G4ExcitedLambdaConstructor.hh.

116{
117 return mass[iState];
118}

◆ GetMultipletName()

G4String G4ExcitedLambdaConstructor::GetMultipletName ( G4int iState)
inlineoverrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 158 of file G4ExcitedLambdaConstructor.hh.

159{
160 return name[iState];
161}

◆ GetName()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 163 of file G4ExcitedLambdaConstructor.hh.

164{
165 G4String particle = name[iState];
166 return particle;
167}

◆ GetQuarkContents()

G4int G4ExcitedLambdaConstructor::GetQuarkContents ( G4int iQ,
G4int  )
inlineoverrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 140 of file G4ExcitedLambdaConstructor.hh.

141{
142 G4int quark = 0;
143 if (iQ == 0) {
144 // s-quark
145 quark = 3;
146 }
147 else if (iQ == 1) {
148 // d-quark
149 quark = 1;
150 }
151 else if (iQ == 2) {
152 // u-quark
153 quark = 2;
154 }
155 return quark;
156}
int G4int
Definition G4Types.hh:85

◆ GetWidth()

G4double G4ExcitedLambdaConstructor::GetWidth ( G4int state,
G4int iso )
inlineoverrideprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 120 of file G4ExcitedLambdaConstructor.hh.

121{
122 return width[iState];
123}

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