Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4ExcitedXiConstructor Class Reference

#include <G4ExcitedXiConstructor.hh>

Inheritance diagram for G4ExcitedXiConstructor:
Collaboration 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)
 

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
Enumerator
NStates 

Definition at line 78 of file G4ExcitedXiConstructor.hh.

anonymous enum
Enumerator
NumberOfDecayModes 

Definition at line 91 of file G4ExcitedXiConstructor.hh.

Constructor & Destructor Documentation

G4ExcitedXiConstructor::G4ExcitedXiConstructor ( )

Definition at line 47 of file G4ExcitedXiConstructor.cc.

47  :
49 {
50 
51 }
G4ExcitedBaryonConstructor(G4int nStates=0, G4int isoSpin=0)
G4ExcitedXiConstructor::~G4ExcitedXiConstructor ( )
virtual

Definition at line 53 of file G4ExcitedXiConstructor.cc.

54 {
55 }

Member Function Documentation

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

Implements G4ExcitedBaryonConstructor.

Definition at line 57 of file G4ExcitedXiConstructor.cc.

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

Implements G4ExcitedBaryonConstructor.

Definition at line 53 of file G4ExcitedXiConstructor.hh.

53 {return true;}
G4int G4ExcitedXiConstructor::GetEncodingOffset ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 112 of file G4ExcitedXiConstructor.hh.

113 {
114  return encodingOffset[iState];
115 }
G4int G4ExcitedXiConstructor::GetiParity ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 106 of file G4ExcitedXiConstructor.hh.

107 {
108  return iParity[iState];
109 }
G4int G4ExcitedXiConstructor::GetiSpin ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 100 of file G4ExcitedXiConstructor.hh.

101 {
102  return iSpin[iState];
103 }
G4double G4ExcitedXiConstructor::GetMass ( G4int  state,
G4int  iso 
)
protectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 285 of file G4ExcitedXiConstructor.cc.

286 {
287  G4double fm = mass[iState];
288  if ( iState==0 ) {
289  if (iso3== -1) fm = 1.5350*GeV; // xi-
290  }
291  return fm;
292 }
static constexpr double GeV
Definition: G4SIunits.hh:217
double G4double
Definition: G4Types.hh:76
G4String G4ExcitedXiConstructor::GetMultipletName ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 140 of file G4ExcitedXiConstructor.hh.

141 {
142  return name[iState];
143 }
const XML_Char * name
Definition: expat.h:151
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 }
const XML_Char * name
Definition: expat.h:151
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:78
G4double G4ExcitedXiConstructor::GetWidth ( G4int  state,
G4int  iso 
)
protectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 294 of file G4ExcitedXiConstructor.cc.

295 {
296  G4double fw = width[iState];
297  if ( iState==0 ) {
298  if (iso3== -1) fw = 9.9*MeV; // xi-
299  }
300  return fw;
301 }
static constexpr double MeV
Definition: G4SIunits.hh:214
double G4double
Definition: G4Types.hh:76

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