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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NStates 

Definition at line 84 of file G4ExcitedDeltaConstructor.hh.

◆ anonymous enum

anonymous enum
Enumerator
NumberOfDecayModes 

Definition at line 97 of file G4ExcitedDeltaConstructor.hh.

Constructor & Destructor Documentation

◆ G4ExcitedDeltaConstructor()

G4ExcitedDeltaConstructor::G4ExcitedDeltaConstructor ( )

◆ ~G4ExcitedDeltaConstructor()

G4ExcitedDeltaConstructor::~G4ExcitedDeltaConstructor ( )
virtual

Definition at line 55 of file G4ExcitedDeltaConstructor.cc.

56{
57}

Member Function Documentation

◆ CreateDecayTable()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 87 of file G4ExcitedDeltaConstructor.cc.

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

◆ Exist()

virtual G4bool G4ExcitedDeltaConstructor::Exist ( G4int  )
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 56 of file G4ExcitedDeltaConstructor.hh.

56{return true;}

◆ GetEncoding()

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

Reimplemented from G4ExcitedBaryonConstructor.

Definition at line 59 of file G4ExcitedDeltaConstructor.cc.

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

◆ GetEncodingOffset()

G4int G4ExcitedDeltaConstructor::GetEncodingOffset ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 129 of file G4ExcitedDeltaConstructor.hh.

130{
131 return encodingOffset[iState];
132}

Referenced by GetEncoding().

◆ GetiParity()

G4int G4ExcitedDeltaConstructor::GetiParity ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 123 of file G4ExcitedDeltaConstructor.hh.

124{
125 return iParity[iState];
126}

◆ GetiSpin()

G4int G4ExcitedDeltaConstructor::GetiSpin ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 117 of file G4ExcitedDeltaConstructor.hh.

118{
119 return iSpin[iState];
120}

Referenced by GetEncoding().

◆ GetMass()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 105 of file G4ExcitedDeltaConstructor.hh.

106{
107 return mass[iState];
108}

◆ GetMultipletName()

G4String G4ExcitedDeltaConstructor::GetMultipletName ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 172 of file G4ExcitedDeltaConstructor.hh.

173{
174 return name[iState];
175}

◆ GetName()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 178 of file G4ExcitedDeltaConstructor.hh.

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

◆ GetQuarkContents()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 135 of file G4ExcitedDeltaConstructor.hh.

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

Referenced by GetEncoding().

◆ GetWidth()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 111 of file G4ExcitedDeltaConstructor.hh.

112{
113 return width[iState];
114}

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