G4ExcitedXiConstructor Class Reference

#include <G4ExcitedXiConstructor.hh>

Inheritance diagram for G4ExcitedXiConstructor:

G4ExcitedBaryonConstructor

Public Types

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

Public Member Functions

 G4ExcitedXiConstructor ()
virtual ~G4ExcitedXiConstructor ()

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)

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.

00078 { NStates = 5  };

anonymous enum

Enumerator:
NumberOfDecayModes 

Definition at line 91 of file G4ExcitedXiConstructor.hh.

00091 { NumberOfDecayModes = 4 };


Constructor & Destructor Documentation

G4ExcitedXiConstructor::G4ExcitedXiConstructor (  ) 

Definition at line 48 of file G4ExcitedXiConstructor.cc.

00048                                               :
00049     G4ExcitedBaryonConstructor(NStates, XiIsoSpin)
00050 {
00051 
00052 }

G4ExcitedXiConstructor::~G4ExcitedXiConstructor (  )  [virtual]

Definition at line 54 of file G4ExcitedXiConstructor.cc.

00055 {
00056 }


Member Function Documentation

G4DecayTable * G4ExcitedXiConstructor::CreateDecayTable ( const G4String name,
G4int  iIso3,
G4int  iState,
G4bool  fAnti = false 
) [protected, virtual]

Implements G4ExcitedBaryonConstructor.

Definition at line 58 of file G4ExcitedXiConstructor.cc.

00063 {
00064 
00065   // create decay table
00066   G4DecayTable* decayTable =  new G4DecayTable();
00067 
00068   G4double br;
00069   if ( (br=bRatio[iState][XiPi]) >0.0) {
00070     AddXiPiMode( decayTable, parentName, br, iIso3, fAnti);
00071   }
00072 
00073   if ( (br=bRatio[iState][XiGamma]) >0.0) {
00074     AddXiGammaMode( decayTable, parentName, br, iIso3, fAnti);
00075   }
00076 
00077   if ( (br=bRatio[iState][LambdaK]) >0.0) {
00078     AddLambdaKMode( decayTable, parentName, br, iIso3, fAnti);
00079   }
00080 
00081   if ( (br=bRatio[iState][SigmaK]) >0.0) {
00082     AddSigmaKMode( decayTable, parentName, br, iIso3, fAnti);
00083   }
00084 
00085   return  decayTable;
00086 }

virtual G4bool G4ExcitedXiConstructor::Exist ( G4int   )  [inline, protected, virtual]

Implements G4ExcitedBaryonConstructor.

Definition at line 53 of file G4ExcitedXiConstructor.hh.

00053 {return true;}

G4int G4ExcitedXiConstructor::GetEncodingOffset ( G4int  iState  )  [inline, protected, virtual]

Implements G4ExcitedBaryonConstructor.

Definition at line 112 of file G4ExcitedXiConstructor.hh.

00113 {
00114   return encodingOffset[iState];
00115 }

G4int G4ExcitedXiConstructor::GetiParity ( G4int  iState  )  [inline, protected, virtual]

Implements G4ExcitedBaryonConstructor.

Definition at line 106 of file G4ExcitedXiConstructor.hh.

00107 {
00108   return iParity[iState];
00109 }

G4int G4ExcitedXiConstructor::GetiSpin ( G4int  iState  )  [inline, protected, virtual]

Implements G4ExcitedBaryonConstructor.

Definition at line 100 of file G4ExcitedXiConstructor.hh.

00101 {
00102   return iSpin[iState];
00103 }

G4double G4ExcitedXiConstructor::GetMass ( G4int  state,
G4int  iso 
) [protected, virtual]

Implements G4ExcitedBaryonConstructor.

Definition at line 286 of file G4ExcitedXiConstructor.cc.

00287 { 
00288   G4double fm = mass[iState];
00289   if ( iState==0 ) {
00290     if (iso3== -1) fm = 1.5350*GeV; // xi-
00291   }
00292   return fm;
00293 }

G4String G4ExcitedXiConstructor::GetMultipletName ( G4int  iState  )  [inline, protected, virtual]

Implements G4ExcitedBaryonConstructor.

Definition at line 140 of file G4ExcitedXiConstructor.hh.

00141 {
00142   return name[iState];
00143 }

G4String G4ExcitedXiConstructor::GetName ( G4int  iIso3,
G4int  iState 
) [inline, protected, virtual]

Implements G4ExcitedBaryonConstructor.

Definition at line 146 of file G4ExcitedXiConstructor.hh.

00147 {
00148   G4String particle = name[iState];
00149   if (iIso3 == +1) {
00150     particle += "0";
00151   } else if (iIso3 ==-1) {
00152     particle += "-";
00153   }
00154   return particle;
00155 }

G4int G4ExcitedXiConstructor::GetQuarkContents ( G4int  ,
G4int   
) [inline, protected, virtual]

Implements G4ExcitedBaryonConstructor.

Definition at line 118 of file G4ExcitedXiConstructor.hh.

00119 {
00120   G4int quark=0;
00121   if ( iQ == 0 ){
00122     // s-quark
00123     quark = 3;
00124   } else if ( iQ == 1 ){
00125     // s-quark
00126     quark = 3;
00127   }  else if ( iQ == 2 ){
00128     if (iIso3 == +1) {
00129       // u-quark
00130       quark = 2;
00131     } else {
00132       // d-quark
00133       quark = 1;
00134     }
00135   } 
00136   return quark;
00137 }

G4double G4ExcitedXiConstructor::GetWidth ( G4int  state,
G4int  iso 
) [protected, virtual]

Implements G4ExcitedBaryonConstructor.

Definition at line 295 of file G4ExcitedXiConstructor.cc.

00296 {
00297   G4double fw = width[iState];
00298   if ( iState==0 ) {
00299     if (iso3== -1) fw = 9.9*MeV; // xi-
00300   }
00301   return fw;
00302 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:51:57 2013 for Geant4 by  doxygen 1.4.7