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

#include <G4ExcitedDeltaConstructor.hh>

+ Inheritance diagram for G4ExcitedDeltaConstructor:

Public Types

enum  { NStates = 9 }
 
enum  { NumberOfDecayModes = 5 }
 

Public Member Functions

 G4ExcitedDeltaConstructor ()
 
virtual ~G4ExcitedDeltaConstructor ()
 
- 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 G4int GetEncoding (G4int iIsoSpin3, G4int idxState)
 
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 G4ExcitedDeltaConstructor.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NStates 

Definition at line 83 of file G4ExcitedDeltaConstructor.hh.

◆ anonymous enum

anonymous enum
Enumerator
NumberOfDecayModes 

Definition at line 96 of file G4ExcitedDeltaConstructor.hh.

Constructor & Destructor Documentation

◆ G4ExcitedDeltaConstructor()

G4ExcitedDeltaConstructor::G4ExcitedDeltaConstructor ( )

◆ ~G4ExcitedDeltaConstructor()

G4ExcitedDeltaConstructor::~G4ExcitedDeltaConstructor ( )
virtual

Definition at line 53 of file G4ExcitedDeltaConstructor.cc.

54{
55}

Member Function Documentation

◆ CreateDecayTable()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 85 of file G4ExcitedDeltaConstructor.cc.

90{
91 // create decay table
92 G4DecayTable* decayTable = new G4DecayTable();
93
94 G4double br;
95 if ( (br=bRatio[iState][NGamma]) >0.0) {
96 AddNGammaMode( decayTable, parentName, br, iIso3, fAnti);
97 }
98
99 if ( (br=bRatio[iState][NPi]) >0.0) {
100 AddNPiMode( decayTable, parentName, br, iIso3, fAnti);
101 }
102
103 if ( (br=bRatio[iState][NRho]) >0.0) {
104 AddNRhoMode( decayTable, parentName, br, iIso3, fAnti);
105 }
106
107 if ( (br=bRatio[iState][DeltaPi]) >0.0) {
108 AddDeltaPiMode( decayTable, parentName, br, iIso3, fAnti);
109 }
110
111 if ( (br=bRatio[iState][NStarPi]) >0.0) {
112 AddNStarPiMode( decayTable, parentName, br, iIso3, fAnti);
113 }
114
115 return decayTable;
116}
double G4double
Definition: G4Types.hh:83

◆ Exist()

virtual G4bool G4ExcitedDeltaConstructor::Exist ( G4int  )
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 55 of file G4ExcitedDeltaConstructor.hh.

55{return true;}

◆ GetEncoding()

G4int G4ExcitedDeltaConstructor::GetEncoding ( G4int  iIsoSpin3,
G4int  idxState 
)
protectedvirtual

Reimplemented from G4ExcitedBaryonConstructor.

Definition at line 57 of file G4ExcitedDeltaConstructor.cc.

58{
60 // Delta has exceptinal encoding
61 if ((idxState==1)||(idxState==3)||(idxState==4)||(idxState==5)||(idxState==7)) {
62 encoding = GetEncodingOffset(idxState);
63 if ((iIsoSpin3==3)||(iIsoSpin3==-3)) {
64 // normal encoding
65 encoding += 1000*GetQuarkContents(0, iIsoSpin3);
66 encoding += 100*GetQuarkContents(1, iIsoSpin3);
67 encoding += 10*GetQuarkContents(2, iIsoSpin3);
68 } else if (iIsoSpin3== +1){
69 // 1st <--> 2nd quark
70 encoding += 1000*GetQuarkContents(0, iIsoSpin3);
71 encoding += 10*GetQuarkContents(1, iIsoSpin3);
72 encoding += 100*GetQuarkContents(2, iIsoSpin3);
73 } else if (iIsoSpin3== -1){
74 // 1st <--> 0th quark
75 encoding += 100*GetQuarkContents(0, iIsoSpin3);
76 encoding += 1000*GetQuarkContents(1, iIsoSpin3);
77 encoding += 10*GetQuarkContents(2, iIsoSpin3);
78 }
79 encoding += GetiSpin(idxState) +1;
80 } else {
82 }
83 return encoding;
84}
int G4int
Definition: G4Types.hh:85
virtual G4int GetEncoding(G4int iIsoSpin3, G4int idxState)
virtual G4int GetQuarkContents(G4int, G4int)
virtual G4int GetEncodingOffset(G4int iState)
virtual G4int GetiSpin(G4int iState)
#define encoding
Definition: xmlparse.cc:605

◆ GetEncodingOffset()

G4int G4ExcitedDeltaConstructor::GetEncodingOffset ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 128 of file G4ExcitedDeltaConstructor.hh.

129{
130 return encodingOffset[iState];
131}

Referenced by GetEncoding().

◆ GetiParity()

G4int G4ExcitedDeltaConstructor::GetiParity ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 122 of file G4ExcitedDeltaConstructor.hh.

123{
124 return iParity[iState];
125}

◆ GetiSpin()

G4int G4ExcitedDeltaConstructor::GetiSpin ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 116 of file G4ExcitedDeltaConstructor.hh.

117{
118 return iSpin[iState];
119}

Referenced by GetEncoding().

◆ GetMass()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 104 of file G4ExcitedDeltaConstructor.hh.

105{
106 return mass[iState];
107}

◆ GetMultipletName()

G4String G4ExcitedDeltaConstructor::GetMultipletName ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 171 of file G4ExcitedDeltaConstructor.hh.

172{
173 return name[iState];
174}

◆ GetName()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 177 of file G4ExcitedDeltaConstructor.hh.

178{
179 G4String particle = name[iState];
180 if ( iIso3 == -3 ){
181 particle += "-";
182 } else if ( iIso3 == -1 ){
183 particle += "0";
184 } else if ( iIso3 == +1 ){
185 particle += "+";
186 } else {
187 particle += "++";
188 }
189 return particle;
190}

◆ GetQuarkContents()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 134 of file G4ExcitedDeltaConstructor.hh.

135{
136 // Quark contents
137 // iIso3 = +3 : uuu
138 // iIso3 = +1 : uud
139 // iIso3 = -1 : udd
140 // iIso3 = -3 : ddd
141 G4int quark=0;
142 if ( iQ == 0 ){
143 if ( iIso3 == -3 ){
144 // d-quark
145 quark = 1;
146 } else {
147 // u-quark
148 quark = 2;
149 }
150 } else if ( iQ == 2 ){
151 if ( iIso3 == +3 ){
152 // u-quark
153 quark = 2;
154 } else {
155 // d-quark
156 quark = 1;
157 }
158 } else {
159 if (( iIso3 == -1 )||( iIso3 == -3 )) {
160 // d-quark
161 quark = 1;
162 } else {
163 // u-quark
164 quark = 2;
165 }
166 }
167 return quark;
168}

Referenced by GetEncoding().

◆ GetWidth()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 110 of file G4ExcitedDeltaConstructor.hh.

111{
112 return width[iState];
113}

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