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

#include <G4ExcitedLambdaConstructor.hh>

Inheritance diagram for G4ExcitedLambdaConstructor:
Collaboration diagram for G4ExcitedLambdaConstructor:

Public Types

enum  { NStates = 12 }
 
enum  { NumberOfDecayModes = 7 }
 

Public Member Functions

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

Member Enumeration Documentation

anonymous enum
Enumerator
NStates 

Definition at line 84 of file G4ExcitedLambdaConstructor.hh.

anonymous enum
Enumerator
NumberOfDecayModes 

Definition at line 97 of file G4ExcitedLambdaConstructor.hh.

Constructor & Destructor Documentation

G4ExcitedLambdaConstructor::G4ExcitedLambdaConstructor ( )

Definition at line 47 of file G4ExcitedLambdaConstructor.cc.

47  :
48  G4ExcitedBaryonConstructor(NStates, LambdaIsoSpin)
49 {
50 
51 }
G4ExcitedBaryonConstructor(G4int nStates=0, G4int isoSpin=0)
G4ExcitedLambdaConstructor::~G4ExcitedLambdaConstructor ( )
virtual

Definition at line 53 of file G4ExcitedLambdaConstructor.cc.

54 {
55 }

Member Function Documentation

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

Implements G4ExcitedBaryonConstructor.

Definition at line 57 of file G4ExcitedLambdaConstructor.cc.

62 {
63  // create decay table
64  G4DecayTable* decayTable = new G4DecayTable();
65 
66  G4double br;
67  if ( (br=bRatio[iState][NK]) >0.0) {
68  AddNKMode( decayTable, parentName, br, iIso3, fAnti);
69  }
70 
71  if ( (br=bRatio[iState][NKStar]) >0.0) {
72  AddNKStarMode( decayTable, parentName, br, iIso3, fAnti);
73  }
74 
75  if ( (br=bRatio[iState][SigmaPi]) >0.0) {
76  AddSigmaPiMode( decayTable, parentName, br, iIso3, fAnti);
77  }
78 
79  if ( (br=bRatio[iState][SigmaStarPi]) >0.0) {
80  AddSigmaStarPiMode( decayTable, parentName, br, iIso3, fAnti);
81  }
82 
83  if ( (br=bRatio[iState][LambdaGamma]) >0.0) {
84  AddLambdaGammaMode( decayTable, parentName, br, iIso3, fAnti);
85  }
86 
87  if ( (br=bRatio[iState][LambdaEta]) >0.0) {
88  AddLambdaEtaMode( decayTable, parentName, br, iIso3, fAnti);
89  }
90 
91  if ( (br=bRatio[iState][LambdaOmega]) >0.0) {
92  AddLambdaOmegaMode( decayTable, parentName, br, iIso3, fAnti);
93  }
94 
95  return decayTable;
96 }
double G4double
Definition: G4Types.hh:76
virtual G4bool G4ExcitedLambdaConstructor::Exist ( G4int  )
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 53 of file G4ExcitedLambdaConstructor.hh.

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

Implements G4ExcitedBaryonConstructor.

Definition at line 130 of file G4ExcitedLambdaConstructor.hh.

131 {
132  return encodingOffset[iState];
133 }
G4int G4ExcitedLambdaConstructor::GetiParity ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 124 of file G4ExcitedLambdaConstructor.hh.

125 {
126  return iParity[iState];
127 }
G4int G4ExcitedLambdaConstructor::GetiSpin ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 118 of file G4ExcitedLambdaConstructor.hh.

119 {
120  return iSpin[iState];
121 }
G4double G4ExcitedLambdaConstructor::GetMass ( G4int  state,
G4int  iso 
)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 106 of file G4ExcitedLambdaConstructor.hh.

107 {
108  return mass[iState];
109 }
G4String G4ExcitedLambdaConstructor::GetMultipletName ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 153 of file G4ExcitedLambdaConstructor.hh.

154 {
155  return name[iState];
156 }
const XML_Char * name
Definition: expat.h:151
G4String G4ExcitedLambdaConstructor::GetName ( G4int  iIso3,
G4int  iState 
)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 159 of file G4ExcitedLambdaConstructor.hh.

160 {
161  G4String particle = name[iState];
162  return particle;
163 }
const XML_Char * name
Definition: expat.h:151
G4int G4ExcitedLambdaConstructor::GetQuarkContents ( G4int  iQ,
G4int   
)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 136 of file G4ExcitedLambdaConstructor.hh.

137 {
138  G4int quark=0;
139  if ( iQ == 0 ){
140  // s-quark
141  quark = 3;
142  } else if ( iQ == 1 ){
143  // d-quark
144  quark = 1;
145  } else if ( iQ == 2 ){
146  // u-quark
147  quark = 2;
148  }
149  return quark;
150 }
int G4int
Definition: G4Types.hh:78
G4double G4ExcitedLambdaConstructor::GetWidth ( G4int  state,
G4int  iso 
)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 112 of file G4ExcitedLambdaConstructor.hh.

113 {
114  return width[iState];
115 }

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