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

#include <G4ExcitedXiConstructor.hh>

+ Inheritance diagram for G4ExcitedXiConstructor:

Public Types

enum  { NStates = 5 }
 
enum  { NumberOfDecayModes = 4 }
 

Public Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NStates 

Definition at line 78 of file G4ExcitedXiConstructor.hh.

◆ anonymous enum

anonymous enum
Enumerator
NumberOfDecayModes 

Definition at line 91 of file G4ExcitedXiConstructor.hh.

Constructor & Destructor Documentation

◆ G4ExcitedXiConstructor()

G4ExcitedXiConstructor::G4ExcitedXiConstructor ( )

◆ ~G4ExcitedXiConstructor()

G4ExcitedXiConstructor::~G4ExcitedXiConstructor ( )
virtual

Definition at line 54 of file G4ExcitedXiConstructor.cc.

55{
56}

Member Function Documentation

◆ CreateDecayTable()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 58 of file G4ExcitedXiConstructor.cc.

63{
64
65 // create decay table
66 G4DecayTable* decayTable = new G4DecayTable();
67
68 G4double br;
69 if ( (br=bRatio[iState][XiPi]) >0.0) {
70 AddXiPiMode( decayTable, parentName, br, iIso3, fAnti);
71 }
72
73 if ( (br=bRatio[iState][XiGamma]) >0.0) {
74 AddXiGammaMode( decayTable, parentName, br, iIso3, fAnti);
75 }
76
77 if ( (br=bRatio[iState][LambdaK]) >0.0) {
78 AddLambdaKMode( decayTable, parentName, br, iIso3, fAnti);
79 }
80
81 if ( (br=bRatio[iState][SigmaK]) >0.0) {
82 AddSigmaKMode( decayTable, parentName, br, iIso3, fAnti);
83 }
84
85 return decayTable;
86}
double G4double
Definition: G4Types.hh:64

◆ Exist()

virtual G4bool G4ExcitedXiConstructor::Exist ( G4int  )
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 53 of file G4ExcitedXiConstructor.hh.

53{return true;}

◆ GetEncodingOffset()

G4int G4ExcitedXiConstructor::GetEncodingOffset ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 112 of file G4ExcitedXiConstructor.hh.

113{
114 return encodingOffset[iState];
115}

◆ GetiParity()

G4int G4ExcitedXiConstructor::GetiParity ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 106 of file G4ExcitedXiConstructor.hh.

107{
108 return iParity[iState];
109}

◆ GetiSpin()

G4int G4ExcitedXiConstructor::GetiSpin ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 100 of file G4ExcitedXiConstructor.hh.

101{
102 return iSpin[iState];
103}

◆ GetMass()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 286 of file G4ExcitedXiConstructor.cc.

287{
288 G4double fm = mass[iState];
289 if ( iState==0 ) {
290 if (iso3== -1) fm = 1.5350*GeV; // xi-
291 }
292 return fm;
293}

◆ GetMultipletName()

G4String G4ExcitedXiConstructor::GetMultipletName ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 140 of file G4ExcitedXiConstructor.hh.

141{
142 return name[iState];
143}

◆ GetName()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 146 of file G4ExcitedXiConstructor.hh.

147{
148 G4String particle = name[iState];
149 if (iIso3 == +1) {
150 particle += "0";
151 } else if (iIso3 ==-1) {
152 particle += "-";
153 }
154 return particle;
155}

◆ GetQuarkContents()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 118 of file G4ExcitedXiConstructor.hh.

119{
120 G4int quark=0;
121 if ( iQ == 0 ){
122 // s-quark
123 quark = 3;
124 } else if ( iQ == 1 ){
125 // s-quark
126 quark = 3;
127 } else if ( iQ == 2 ){
128 if (iIso3 == +1) {
129 // u-quark
130 quark = 2;
131 } else {
132 // d-quark
133 quark = 1;
134 }
135 }
136 return quark;
137}
int G4int
Definition: G4Types.hh:66

◆ GetWidth()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 295 of file G4ExcitedXiConstructor.cc.

296{
297 G4double fw = width[iState];
298 if ( iState==0 ) {
299 if (iso3== -1) fw = 9.9*MeV; // xi-
300 }
301 return fw;
302}

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