Geant4 9.6.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 43 of file G4ExcitedLambdaConstructor.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NStates 

Definition at line 84 of file G4ExcitedLambdaConstructor.hh.

◆ anonymous enum

anonymous enum
Enumerator
NumberOfDecayModes 

Definition at line 97 of file G4ExcitedLambdaConstructor.hh.

Constructor & Destructor Documentation

◆ G4ExcitedLambdaConstructor()

G4ExcitedLambdaConstructor::G4ExcitedLambdaConstructor ( )

◆ ~G4ExcitedLambdaConstructor()

G4ExcitedLambdaConstructor::~G4ExcitedLambdaConstructor ( )
virtual

Definition at line 54 of file G4ExcitedLambdaConstructor.cc.

55{
56}

Member Function Documentation

◆ CreateDecayTable()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 58 of file G4ExcitedLambdaConstructor.cc.

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

◆ Exist()

virtual G4bool G4ExcitedLambdaConstructor::Exist ( G4int  )
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 53 of file G4ExcitedLambdaConstructor.hh.

53{return true;}

◆ GetEncodingOffset()

G4int G4ExcitedLambdaConstructor::GetEncodingOffset ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 130 of file G4ExcitedLambdaConstructor.hh.

131{
132 return encodingOffset[iState];
133}

◆ GetiParity()

G4int G4ExcitedLambdaConstructor::GetiParity ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 124 of file G4ExcitedLambdaConstructor.hh.

125{
126 return iParity[iState];
127}

◆ GetiSpin()

G4int G4ExcitedLambdaConstructor::GetiSpin ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 118 of file G4ExcitedLambdaConstructor.hh.

119{
120 return iSpin[iState];
121}

◆ GetMass()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 106 of file G4ExcitedLambdaConstructor.hh.

107{
108 return mass[iState];
109}

◆ GetMultipletName()

G4String G4ExcitedLambdaConstructor::GetMultipletName ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 153 of file G4ExcitedLambdaConstructor.hh.

154{
155 return name[iState];
156}

◆ GetName()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 159 of file G4ExcitedLambdaConstructor.hh.

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

◆ GetQuarkContents()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 136 of file G4ExcitedLambdaConstructor.hh.

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

◆ GetWidth()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 112 of file G4ExcitedLambdaConstructor.hh.

113{
114 return width[iState];
115}

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