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

#include <G4ExcitedSigmaConstructor.hh>

+ Inheritance diagram for G4ExcitedSigmaConstructor:

Public Types

enum  { NStates = 8 }
 
enum  { NumberOfDecayModes = 8 }
 

Public Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NStates 

Definition at line 85 of file G4ExcitedSigmaConstructor.hh.

◆ anonymous enum

anonymous enum
Enumerator
NumberOfDecayModes 

Definition at line 98 of file G4ExcitedSigmaConstructor.hh.

Constructor & Destructor Documentation

◆ G4ExcitedSigmaConstructor()

G4ExcitedSigmaConstructor::G4ExcitedSigmaConstructor ( )

◆ ~G4ExcitedSigmaConstructor()

G4ExcitedSigmaConstructor::~G4ExcitedSigmaConstructor ( )
virtual

Definition at line 52 of file G4ExcitedSigmaConstructor.cc.

53{
54}

Member Function Documentation

◆ CreateDecayTable()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 56 of file G4ExcitedSigmaConstructor.cc.

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

◆ Exist()

virtual G4bool G4ExcitedSigmaConstructor::Exist ( G4int  )
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 52 of file G4ExcitedSigmaConstructor.hh.

52{return true;}

◆ GetEncodingOffset()

G4int G4ExcitedSigmaConstructor::GetEncodingOffset ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 121 of file G4ExcitedSigmaConstructor.hh.

122{
123 return encodingOffset[iState];
124}

◆ GetiParity()

G4int G4ExcitedSigmaConstructor::GetiParity ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 115 of file G4ExcitedSigmaConstructor.hh.

116{
117 return iParity[iState];
118}

◆ GetiSpin()

G4int G4ExcitedSigmaConstructor::GetiSpin ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 109 of file G4ExcitedSigmaConstructor.hh.

110{
111 return iSpin[iState];
112}

◆ GetMass()

G4double G4ExcitedSigmaConstructor::GetMass ( G4int  state,
G4int  iso 
)
protectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 570 of file G4ExcitedSigmaConstructor.cc.

571{
572 G4double fmass = mass[iState];
573 if (iState == 0 ) {
574 if (iso3== +2) fmass -= 0.9*MeV; // sigma+
575 else if (iso3== -2) fmass += 3.5*MeV; // sigma-
576 }
577 return fmass;
578}

◆ GetMultipletName()

G4String G4ExcitedSigmaConstructor::GetMultipletName ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 154 of file G4ExcitedSigmaConstructor.hh.

155{
156 return name[iState];
157}

◆ GetName()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 160 of file G4ExcitedSigmaConstructor.hh.

161 {
162 G4String particle = name[iState];
163 if (iIso3 == +2) {
164 particle += "+";
165 } else if (iIso3 == 0) {
166 particle += "0";
167 } else if (iIso3 == -2) {
168 particle += "-";
169 }
170 return particle;
171}

◆ GetQuarkContents()

G4int G4ExcitedSigmaConstructor::GetQuarkContents ( G4int  iQ,
G4int  iIso3 
)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 127 of file G4ExcitedSigmaConstructor.hh.

128{
129 G4int quark=0;
130 if ( iQ == 0 ){
131 // s-quark
132 quark = 3;
133 } else if ( iQ == 1 ){
134 if (iIso3 == -2) {
135 // d-quark
136 quark = 1;
137 } else {
138 // u-quark
139 quark = 2;
140 }
141 } else if ( iQ == 2 ){
142 if (iIso3 == +2) {
143 // u-quark
144 quark = 2;
145 } else {
146 // d-quark
147 quark = 1;
148 }
149 }
150 return quark;
151}
int G4int
Definition: G4Types.hh:85

◆ GetWidth()

G4double G4ExcitedSigmaConstructor::GetWidth ( G4int  state,
G4int  iso 
)
protectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 580 of file G4ExcitedSigmaConstructor.cc.

581{
582 G4double fw=width[iState];
583 if (iState == 0 ) {
584 if (iso3== +2) fw = 36.0*MeV; // sigma+
585 else if (iso3== -2) fw = 39.4*MeV; // sigma-
586 }
587 return fw;
588}

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