Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions
G4ExcitedSigmaConstructor Class Reference

#include <G4ExcitedSigmaConstructor.hh>

Inheritance diagram for G4ExcitedSigmaConstructor:
G4ExcitedBaryonConstructor

Public Types

enum  { NStates = 8 }
 
enum  { NumberOfDecayModes = 8 }
 

Public Member Functions

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

Member Enumeration Documentation

anonymous enum
Enumerator
NStates 

Definition at line 86 of file G4ExcitedSigmaConstructor.hh.

anonymous enum
Enumerator
NumberOfDecayModes 

Definition at line 99 of file G4ExcitedSigmaConstructor.hh.

Constructor & Destructor Documentation

G4ExcitedSigmaConstructor::G4ExcitedSigmaConstructor ( )

Definition at line 47 of file G4ExcitedSigmaConstructor.cc.

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

Definition at line 53 of file G4ExcitedSigmaConstructor.cc.

54 {
55 }

Member Function Documentation

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

Implements G4ExcitedBaryonConstructor.

Definition at line 57 of file G4ExcitedSigmaConstructor.cc.

62 {
63 
64  // create decay table
65  G4DecayTable* decayTable = new G4DecayTable();
66 
67  G4double br;
68  if ( (br=bRatio[iState][NK]) >0.0) {
69  AddNKMode( decayTable, parentName, br, iIso3, fAnti);
70  }
71 
72  if ( (br=bRatio[iState][NKStar]) >0.0) {
73  AddNKStarMode( decayTable, parentName, br, iIso3, fAnti);
74  }
75 
76  if ( (br=bRatio[iState][SigmaPi]) >0.0) {
77  AddSigmaPiMode( decayTable, parentName, br, iIso3, fAnti);
78  }
79 
80  if ( (br=bRatio[iState][SigmaStarPi]) >0.0) {
81  AddSigmaStarPiMode( decayTable, parentName, br, iIso3, fAnti);
82  }
83 
84  if ( (br=bRatio[iState][LambdaPi]) >0.0) {
85  AddLambdaPiMode( decayTable, parentName, br, iIso3, fAnti);
86  }
87 
88  if ( (br=bRatio[iState][SigmaEta]) >0.0) {
89  AddSigmaEtaMode( decayTable, parentName, br, iIso3, fAnti);
90  }
91 
92  if ( (br=bRatio[iState][LambdaStarPi]) >0.0) {
93  AddLambdaStarPiMode( decayTable, parentName, br, iIso3, fAnti);
94  }
95 
96  if ( (br=bRatio[iState][DeltaK]) >0.0) {
97  AddDeltaKMode( decayTable, parentName, br, iIso3, fAnti);
98  }
99 
100  return decayTable;
101 }
double G4double
Definition: G4Types.hh:76
virtual G4bool G4ExcitedSigmaConstructor::Exist ( G4int  )
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 53 of file G4ExcitedSigmaConstructor.hh.

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

Implements G4ExcitedBaryonConstructor.

Definition at line 122 of file G4ExcitedSigmaConstructor.hh.

123 {
124  return encodingOffset[iState];
125 }
G4int G4ExcitedSigmaConstructor::GetiParity ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 116 of file G4ExcitedSigmaConstructor.hh.

117 {
118  return iParity[iState];
119 }
G4int G4ExcitedSigmaConstructor::GetiSpin ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 110 of file G4ExcitedSigmaConstructor.hh.

111 {
112  return iSpin[iState];
113 }
G4double G4ExcitedSigmaConstructor::GetMass ( G4int  state,
G4int  iso 
)
protectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 571 of file G4ExcitedSigmaConstructor.cc.

References python.hepunit::MeV.

572 {
573  G4double fmass = mass[iState];
574  if (iState == 0 ) {
575  if (iso3== +2) fmass -= 0.9*MeV; // sigma+
576  else if (iso3== -2) fmass += 3.5*MeV; // sigma-
577  }
578  return fmass;
579 }
double G4double
Definition: G4Types.hh:76
G4String G4ExcitedSigmaConstructor::GetMultipletName ( G4int  iState)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 155 of file G4ExcitedSigmaConstructor.hh.

156 {
157  return name[iState];
158 }
const XML_Char * name
G4String G4ExcitedSigmaConstructor::GetName ( G4int  iIso3,
G4int  iState 
)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 161 of file G4ExcitedSigmaConstructor.hh.

162  {
163  G4String particle = name[iState];
164  if (iIso3 == +2) {
165  particle += "+";
166  } else if (iIso3 == 0) {
167  particle += "0";
168  } else if (iIso3 == -2) {
169  particle += "-";
170  }
171  return particle;
172 }
const XML_Char * name
G4int G4ExcitedSigmaConstructor::GetQuarkContents ( G4int  iQ,
G4int  iIso3 
)
inlineprotectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 128 of file G4ExcitedSigmaConstructor.hh.

129 {
130  G4int quark=0;
131  if ( iQ == 0 ){
132  // s-quark
133  quark = 3;
134  } else if ( iQ == 1 ){
135  if (iIso3 == -2) {
136  // d-quark
137  quark = 1;
138  } else {
139  // u-quark
140  quark = 2;
141  }
142  } else if ( iQ == 2 ){
143  if (iIso3 == +2) {
144  // u-quark
145  quark = 2;
146  } else {
147  // d-quark
148  quark = 1;
149  }
150  }
151  return quark;
152 }
int G4int
Definition: G4Types.hh:78
G4double G4ExcitedSigmaConstructor::GetWidth ( G4int  state,
G4int  iso 
)
protectedvirtual

Implements G4ExcitedBaryonConstructor.

Definition at line 581 of file G4ExcitedSigmaConstructor.cc.

References python.hepunit::MeV.

582 {
583  G4double fw=width[iState];
584  if (iState == 0 ) {
585  if (iso3== +2) fw = 35.8*MeV; // sigma+
586  else if (iso3== -2) fw = 39.4*MeV; // sigma-
587  }
588  return fw;
589 }
double G4double
Definition: G4Types.hh:76

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