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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NStates 

Definition at line 86 of file G4ExcitedSigmaConstructor.hh.

◆ anonymous enum

anonymous enum
Enumerator
NumberOfDecayModes 

Definition at line 99 of file G4ExcitedSigmaConstructor.hh.

Constructor & Destructor Documentation

◆ G4ExcitedSigmaConstructor()

G4ExcitedSigmaConstructor::G4ExcitedSigmaConstructor ( )

◆ ~G4ExcitedSigmaConstructor()

G4ExcitedSigmaConstructor::~G4ExcitedSigmaConstructor ( )
virtual

Definition at line 54 of file G4ExcitedSigmaConstructor.cc.

55{
56}

Member Function Documentation

◆ CreateDecayTable()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 58 of file G4ExcitedSigmaConstructor.cc.

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

◆ Exist()

virtual G4bool G4ExcitedSigmaConstructor::Exist ( G4int  )
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 53 of file G4ExcitedSigmaConstructor.hh.

53{return true;}

◆ GetEncodingOffset()

G4int G4ExcitedSigmaConstructor::GetEncodingOffset ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 122 of file G4ExcitedSigmaConstructor.hh.

123{
124 return encodingOffset[iState];
125}

◆ GetiParity()

G4int G4ExcitedSigmaConstructor::GetiParity ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 116 of file G4ExcitedSigmaConstructor.hh.

117{
118 return iParity[iState];
119}

◆ GetiSpin()

G4int G4ExcitedSigmaConstructor::GetiSpin ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 110 of file G4ExcitedSigmaConstructor.hh.

111{
112 return iSpin[iState];
113}

◆ GetMass()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 572 of file G4ExcitedSigmaConstructor.cc.

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

◆ GetMultipletName()

G4String G4ExcitedSigmaConstructor::GetMultipletName ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 155 of file G4ExcitedSigmaConstructor.hh.

156{
157 return name[iState];
158}

◆ GetName()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 161 of file G4ExcitedSigmaConstructor.hh.

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

◆ GetQuarkContents()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 128 of file G4ExcitedSigmaConstructor.hh.

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

◆ GetWidth()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 582 of file G4ExcitedSigmaConstructor.cc.

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

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