Geant4 10.7.0
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 ()
 
virtual ~G4ExcitedLambdaConstructor ()
 
- Public Member Functions inherited from G4ExcitedBaryonConstructor
 G4ExcitedBaryonConstructor (G4int nStates=0, G4int isoSpin=0)
 
virtual ~G4ExcitedBaryonConstructor ()
 
virtual void Construct (G4int indexOfState=-1)
 

Protected Member Functions

virtual G4bool Exist (G4int)
 
virtual G4int GetQuarkContents (G4int, G4int)
 
virtual G4String GetName (G4int iIso3, G4int iState)
 
virtual G4String GetMultipletName (G4int iState)
 
virtual G4double GetMass (G4int state, G4int iso)
 
virtual G4double GetWidth (G4int state, G4int iso)
 
virtual G4int GetiSpin (G4int iState)
 
virtual G4int GetiParity (G4int iState)
 
virtual G4int GetEncodingOffset (G4int iState)
 
virtual G4DecayTableCreateDecayTable (const G4String &name, G4int iIso3, G4int iState, G4bool fAnti=false)
 
- 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)
 
virtual G4bool Exist (G4int)=0
 
virtual G4int GetQuarkContents (G4int, G4int)=0
 
virtual G4String GetName (G4int, G4int)=0
 
virtual G4String GetMultipletName (G4int)=0
 
virtual G4double GetMass (G4int state, G4int iso)=0
 
virtual G4double GetWidth (G4int state, G4int iso)=0
 
virtual G4int GetiSpin (G4int)=0
 
virtual G4int GetiParity (G4int)=0
 
virtual G4int GetEncodingOffset (G4int)=0
 
virtual G4DecayTableCreateDecayTable (const G4String &, G4int, G4int, G4bool)=0
 

Additional Inherited Members

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

Detailed Description

Definition at line 42 of file G4ExcitedLambdaConstructor.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NStates 

Definition at line 83 of file G4ExcitedLambdaConstructor.hh.

◆ anonymous enum

anonymous enum
Enumerator
NumberOfDecayModes 

Definition at line 96 of file G4ExcitedLambdaConstructor.hh.

Constructor & Destructor Documentation

◆ G4ExcitedLambdaConstructor()

G4ExcitedLambdaConstructor::G4ExcitedLambdaConstructor ( )

◆ ~G4ExcitedLambdaConstructor()

G4ExcitedLambdaConstructor::~G4ExcitedLambdaConstructor ( )
virtual

Definition at line 52 of file G4ExcitedLambdaConstructor.cc.

53{
54}

Member Function Documentation

◆ CreateDecayTable()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 56 of file G4ExcitedLambdaConstructor.cc.

61{
62 // create decay table
63 G4DecayTable* decayTable = new G4DecayTable();
64
65 G4double br;
66 if ( (br=bRatio[iState][NK]) >0.0) {
67 AddNKMode( decayTable, parentName, br, iIso3, fAnti);
68 }
69
70 if ( (br=bRatio[iState][NKStar]) >0.0) {
71 AddNKStarMode( decayTable, parentName, br, iIso3, fAnti);
72 }
73
74 if ( (br=bRatio[iState][SigmaPi]) >0.0) {
75 AddSigmaPiMode( decayTable, parentName, br, iIso3, fAnti);
76 }
77
78 if ( (br=bRatio[iState][SigmaStarPi]) >0.0) {
79 AddSigmaStarPiMode( decayTable, parentName, br, iIso3, fAnti);
80 }
81
82 if ( (br=bRatio[iState][LambdaGamma]) >0.0) {
83 AddLambdaGammaMode( decayTable, parentName, br, iIso3, fAnti);
84 }
85
86 if ( (br=bRatio[iState][LambdaEta]) >0.0) {
87 AddLambdaEtaMode( decayTable, parentName, br, iIso3, fAnti);
88 }
89
90 if ( (br=bRatio[iState][LambdaOmega]) >0.0) {
91 AddLambdaOmegaMode( decayTable, parentName, br, iIso3, fAnti);
92 }
93
94 return decayTable;
95}
double G4double
Definition: G4Types.hh:83

◆ Exist()

virtual G4bool G4ExcitedLambdaConstructor::Exist ( G4int  )
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 52 of file G4ExcitedLambdaConstructor.hh.

52{return true;}

◆ GetEncodingOffset()

G4int G4ExcitedLambdaConstructor::GetEncodingOffset ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 129 of file G4ExcitedLambdaConstructor.hh.

130{
131 return encodingOffset[iState];
132}

◆ GetiParity()

G4int G4ExcitedLambdaConstructor::GetiParity ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 123 of file G4ExcitedLambdaConstructor.hh.

124{
125 return iParity[iState];
126}

◆ GetiSpin()

G4int G4ExcitedLambdaConstructor::GetiSpin ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 117 of file G4ExcitedLambdaConstructor.hh.

118{
119 return iSpin[iState];
120}

◆ GetMass()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 105 of file G4ExcitedLambdaConstructor.hh.

106{
107 return mass[iState];
108}

◆ GetMultipletName()

G4String G4ExcitedLambdaConstructor::GetMultipletName ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 152 of file G4ExcitedLambdaConstructor.hh.

153{
154 return name[iState];
155}

◆ GetName()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 158 of file G4ExcitedLambdaConstructor.hh.

159{
160 G4String particle = name[iState];
161 return particle;
162}

◆ GetQuarkContents()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 135 of file G4ExcitedLambdaConstructor.hh.

136{
137 G4int quark=0;
138 if ( iQ == 0 ){
139 // s-quark
140 quark = 3;
141 } else if ( iQ == 1 ){
142 // d-quark
143 quark = 1;
144 } else if ( iQ == 2 ){
145 // u-quark
146 quark = 2;
147 }
148 return quark;
149}
int G4int
Definition: G4Types.hh:85

◆ GetWidth()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 111 of file G4ExcitedLambdaConstructor.hh.

112{
113 return width[iState];
114}

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