Geant4 11.1.1
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 42 of file G4ExcitedXiConstructor.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NStates 

Definition at line 77 of file G4ExcitedXiConstructor.hh.

◆ anonymous enum

anonymous enum
Enumerator
NumberOfDecayModes 

Definition at line 90 of file G4ExcitedXiConstructor.hh.

Constructor & Destructor Documentation

◆ G4ExcitedXiConstructor()

G4ExcitedXiConstructor::G4ExcitedXiConstructor ( )

◆ ~G4ExcitedXiConstructor()

G4ExcitedXiConstructor::~G4ExcitedXiConstructor ( )
virtual

Definition at line 52 of file G4ExcitedXiConstructor.cc.

53{
54}

Member Function Documentation

◆ CreateDecayTable()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 56 of file G4ExcitedXiConstructor.cc.

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

◆ Exist()

virtual G4bool G4ExcitedXiConstructor::Exist ( G4int  )
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 52 of file G4ExcitedXiConstructor.hh.

52{return true;}

◆ GetEncodingOffset()

G4int G4ExcitedXiConstructor::GetEncodingOffset ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 111 of file G4ExcitedXiConstructor.hh.

112{
113 return encodingOffset[iState];
114}

◆ GetiParity()

G4int G4ExcitedXiConstructor::GetiParity ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 105 of file G4ExcitedXiConstructor.hh.

106{
107 return iParity[iState];
108}

◆ GetiSpin()

G4int G4ExcitedXiConstructor::GetiSpin ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 99 of file G4ExcitedXiConstructor.hh.

100{
101 return iSpin[iState];
102}

◆ GetMass()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 284 of file G4ExcitedXiConstructor.cc.

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

◆ GetMultipletName()

G4String G4ExcitedXiConstructor::GetMultipletName ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 139 of file G4ExcitedXiConstructor.hh.

140{
141 return name[iState];
142}

◆ GetName()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 145 of file G4ExcitedXiConstructor.hh.

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

◆ GetQuarkContents()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 117 of file G4ExcitedXiConstructor.hh.

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

◆ GetWidth()

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

Implements G4ExcitedBaryonConstructor.

Definition at line 293 of file G4ExcitedXiConstructor.cc.

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

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