#include <G4ExcitedDeltaConstructor.hh>
Inheritance diagram for G4ExcitedDeltaConstructor:
Public Types | |
NStates = 9 | |
NumberOfDecayModes = 5 | |
enum | { NStates = 9 } |
enum | { NumberOfDecayModes = 5 } |
Public Member Functions | |
G4ExcitedDeltaConstructor () | |
virtual | ~G4ExcitedDeltaConstructor () |
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 G4DecayTable * | CreateDecayTable (const G4String &name, G4int iIso3, G4int iState, G4bool fAnti=false) |
Definition at line 43 of file G4ExcitedDeltaConstructor.hh.
anonymous enum |
anonymous enum |
G4ExcitedDeltaConstructor::G4ExcitedDeltaConstructor | ( | ) |
Definition at line 49 of file G4ExcitedDeltaConstructor.cc.
00049 : 00050 G4ExcitedBaryonConstructor(NStates, DeltaIsoSpin) 00051 { 00052 00053 }
G4ExcitedDeltaConstructor::~G4ExcitedDeltaConstructor | ( | ) | [virtual] |
G4DecayTable * G4ExcitedDeltaConstructor::CreateDecayTable | ( | const G4String & | name, | |
G4int | iIso3, | |||
G4int | iState, | |||
G4bool | fAnti = false | |||
) | [protected, virtual] |
Implements G4ExcitedBaryonConstructor.
Definition at line 87 of file G4ExcitedDeltaConstructor.cc.
00092 { 00093 // create decay table 00094 G4DecayTable* decayTable = new G4DecayTable(); 00095 00096 G4double br; 00097 if ( (br=bRatio[iState][NGamma]) >0.0) { 00098 AddNGammaMode( decayTable, parentName, br, iIso3, fAnti); 00099 } 00100 00101 if ( (br=bRatio[iState][NPi]) >0.0) { 00102 AddNPiMode( decayTable, parentName, br, iIso3, fAnti); 00103 } 00104 00105 if ( (br=bRatio[iState][NRho]) >0.0) { 00106 AddNRhoMode( decayTable, parentName, br, iIso3, fAnti); 00107 } 00108 00109 if ( (br=bRatio[iState][DeltaPi]) >0.0) { 00110 AddDeltaPiMode( decayTable, parentName, br, iIso3, fAnti); 00111 } 00112 00113 if ( (br=bRatio[iState][NStarPi]) >0.0) { 00114 AddNStarPiMode( decayTable, parentName, br, iIso3, fAnti); 00115 } 00116 00117 return decayTable; 00118 }
G4int G4ExcitedDeltaConstructor::GetEncoding | ( | G4int | iIsoSpin3, | |
G4int | idxState | |||
) | [protected, virtual] |
Reimplemented from G4ExcitedBaryonConstructor.
Definition at line 59 of file G4ExcitedDeltaConstructor.cc.
References encoding, G4ExcitedBaryonConstructor::GetEncoding(), GetEncodingOffset(), GetiSpin(), and GetQuarkContents().
00060 { 00061 G4int encoding; 00062 // Delta has exceptinal encoding 00063 if ((idxState==1)||(idxState==3)||(idxState==4)||(idxState==5)||(idxState==7)) { 00064 encoding = GetEncodingOffset(idxState); 00065 if ((iIsoSpin3==3)||(iIsoSpin3==-3)) { 00066 // normal encoding 00067 encoding += 1000*GetQuarkContents(0, iIsoSpin3); 00068 encoding += 100*GetQuarkContents(1, iIsoSpin3); 00069 encoding += 10*GetQuarkContents(2, iIsoSpin3); 00070 } else if (iIsoSpin3== +1){ 00071 // 1st <--> 2nd quark 00072 encoding += 1000*GetQuarkContents(0, iIsoSpin3); 00073 encoding += 10*GetQuarkContents(1, iIsoSpin3); 00074 encoding += 100*GetQuarkContents(2, iIsoSpin3); 00075 } else if (iIsoSpin3== -1){ 00076 // 1st <--> 0th quark 00077 encoding += 100*GetQuarkContents(0, iIsoSpin3); 00078 encoding += 1000*GetQuarkContents(1, iIsoSpin3); 00079 encoding += 10*GetQuarkContents(2, iIsoSpin3); 00080 } 00081 encoding += GetiSpin(idxState) +1; 00082 } else { 00083 encoding = G4ExcitedBaryonConstructor::GetEncoding(iIsoSpin3, idxState); 00084 } 00085 return encoding; 00086 }
Implements G4ExcitedBaryonConstructor.
Definition at line 129 of file G4ExcitedDeltaConstructor.hh.
Referenced by GetEncoding().
Implements G4ExcitedBaryonConstructor.
Definition at line 117 of file G4ExcitedDeltaConstructor.hh.
Referenced by GetEncoding().
G4String G4ExcitedDeltaConstructor::GetName | ( | G4int | iIso3, | |
G4int | iState | |||
) | [inline, protected, virtual] |
Implements G4ExcitedBaryonConstructor.
Definition at line 178 of file G4ExcitedDeltaConstructor.hh.
00179 { 00180 G4String particle = name[iState]; 00181 if ( iIso3 == -3 ){ 00182 particle += "-"; 00183 } else if ( iIso3 == -1 ){ 00184 particle += "0"; 00185 } else if ( iIso3 == +1 ){ 00186 particle += "+"; 00187 } else { 00188 particle += "++"; 00189 } 00190 return particle; 00191 }
Implements G4ExcitedBaryonConstructor.
Definition at line 135 of file G4ExcitedDeltaConstructor.hh.
Referenced by GetEncoding().
00136 { 00137 // Quark contents 00138 // iIso3 = +3 : uuu 00139 // iIso3 = +1 : uud 00140 // iIso3 = -1 : udd 00141 // iIso3 = -3 : ddd 00142 G4int quark=0; 00143 if ( iQ == 0 ){ 00144 if ( iIso3 == -3 ){ 00145 // d-quark 00146 quark = 1; 00147 } else { 00148 // u-quark 00149 quark = 2; 00150 } 00151 } else if ( iQ == 2 ){ 00152 if ( iIso3 == +3 ){ 00153 // u-quark 00154 quark = 2; 00155 } else { 00156 // d-quark 00157 quark = 1; 00158 } 00159 } else { 00160 if (( iIso3 == -1 )||( iIso3 == -3 )) { 00161 // d-quark 00162 quark = 1; 00163 } else { 00164 // u-quark 00165 quark = 2; 00166 } 00167 } 00168 return quark; 00169 }
G4double G4ExcitedDeltaConstructor::GetWidth | ( | G4int | state, | |
G4int | iso | |||
) | [inline, protected, virtual] |