G4ExcitedDeltaConstructor Class Reference

#include <G4ExcitedDeltaConstructor.hh>

Inheritance diagram for G4ExcitedDeltaConstructor:

G4ExcitedBaryonConstructor

Public Types

 NStates = 9
 NumberOfDecayModes = 5
enum  { NStates = 9 }
enum  { NumberOfDecayModes = 5 }

Public Member Functions

 G4ExcitedDeltaConstructor ()
virtual ~G4ExcitedDeltaConstructor ()

Protected Member Functions

virtual G4int GetEncoding (G4int iIsoSpin3, G4int idxState)
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 G4ExcitedDeltaConstructor.hh.


Member Enumeration Documentation

anonymous enum

Enumerator:
NStates 

Definition at line 84 of file G4ExcitedDeltaConstructor.hh.

00084 { NStates = 9  };

anonymous enum

Enumerator:
NumberOfDecayModes 

Definition at line 97 of file G4ExcitedDeltaConstructor.hh.

00097 { NumberOfDecayModes = 5};


Constructor & Destructor Documentation

G4ExcitedDeltaConstructor::G4ExcitedDeltaConstructor (  ) 

Definition at line 49 of file G4ExcitedDeltaConstructor.cc.

00049                                                     :
00050     G4ExcitedBaryonConstructor(NStates, DeltaIsoSpin)
00051 {
00052 
00053 }

G4ExcitedDeltaConstructor::~G4ExcitedDeltaConstructor (  )  [virtual]

Definition at line 55 of file G4ExcitedDeltaConstructor.cc.

00056 {
00057 }


Member Function Documentation

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

Implements G4ExcitedBaryonConstructor.

Definition at line 87 of file G4ExcitedDeltaConstructor.cc.

00092 {
00093   // create decay table
00094   G4DecayTable* decayTable =  new G4DecayTable();
00095 
00096   G4double br;
00097   if ( (br=bRatio[iState][NGamma]) >0.0) {
00098     AddNGammaMode( decayTable, parentName, br, iIso3, fAnti);
00099   }
00100 
00101   if ( (br=bRatio[iState][NPi]) >0.0) {
00102     AddNPiMode( decayTable, parentName, br, iIso3, fAnti);
00103   }
00104 
00105   if ( (br=bRatio[iState][NRho]) >0.0) {
00106     AddNRhoMode( decayTable, parentName, br, iIso3, fAnti);
00107   }
00108 
00109   if ( (br=bRatio[iState][DeltaPi]) >0.0) {
00110     AddDeltaPiMode( decayTable, parentName, br, iIso3, fAnti);
00111   }
00112 
00113   if ( (br=bRatio[iState][NStarPi]) >0.0) {
00114     AddNStarPiMode( decayTable, parentName, br, iIso3, fAnti);
00115   }
00116 
00117   return  decayTable;
00118 }

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

Implements G4ExcitedBaryonConstructor.

Definition at line 56 of file G4ExcitedDeltaConstructor.hh.

00056 {return true;}

G4int G4ExcitedDeltaConstructor::GetEncoding ( G4int  iIsoSpin3,
G4int  idxState 
) [protected, virtual]

Reimplemented from G4ExcitedBaryonConstructor.

Definition at line 59 of file G4ExcitedDeltaConstructor.cc.

References encoding, G4ExcitedBaryonConstructor::GetEncoding(), GetEncodingOffset(), GetiSpin(), and GetQuarkContents().

00060 {
00061   G4int encoding;
00062   // Delta has exceptinal encoding
00063   if ((idxState==1)||(idxState==3)||(idxState==4)||(idxState==5)||(idxState==7))  {
00064     encoding = GetEncodingOffset(idxState);
00065     if ((iIsoSpin3==3)||(iIsoSpin3==-3)) {
00066       // normal encoding 
00067       encoding += 1000*GetQuarkContents(0, iIsoSpin3);
00068       encoding +=  100*GetQuarkContents(1, iIsoSpin3);
00069       encoding +=   10*GetQuarkContents(2, iIsoSpin3);
00070     } else if (iIsoSpin3== +1){
00071       // 1st <--> 2nd quark 
00072       encoding += 1000*GetQuarkContents(0, iIsoSpin3);
00073       encoding +=   10*GetQuarkContents(1, iIsoSpin3);
00074       encoding +=  100*GetQuarkContents(2, iIsoSpin3);
00075     } else if (iIsoSpin3== -1){
00076       // 1st <--> 0th quark 
00077       encoding +=  100*GetQuarkContents(0, iIsoSpin3);
00078       encoding += 1000*GetQuarkContents(1, iIsoSpin3);
00079       encoding +=   10*GetQuarkContents(2, iIsoSpin3);
00080     }
00081     encoding += GetiSpin(idxState) +1;
00082   } else {
00083     encoding = G4ExcitedBaryonConstructor::GetEncoding(iIsoSpin3, idxState);
00084   }
00085   return encoding;
00086 }

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

Implements G4ExcitedBaryonConstructor.

Definition at line 129 of file G4ExcitedDeltaConstructor.hh.

Referenced by GetEncoding().

00130 {
00131   return encodingOffset[iState];
00132 }

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

Implements G4ExcitedBaryonConstructor.

Definition at line 123 of file G4ExcitedDeltaConstructor.hh.

00124 {
00125   return iParity[iState];
00126 }

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

Implements G4ExcitedBaryonConstructor.

Definition at line 117 of file G4ExcitedDeltaConstructor.hh.

Referenced by GetEncoding().

00118 {
00119   return iSpin[iState];
00120 }

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

Implements G4ExcitedBaryonConstructor.

Definition at line 105 of file G4ExcitedDeltaConstructor.hh.

00106 { 
00107   return mass[iState]; 
00108 }

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

Implements G4ExcitedBaryonConstructor.

Definition at line 172 of file G4ExcitedDeltaConstructor.hh.

00173 {
00174   return name[iState];
00175 }

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

Implements G4ExcitedBaryonConstructor.

Definition at line 178 of file G4ExcitedDeltaConstructor.hh.

00179 {
00180   G4String particle = name[iState];
00181   if ( iIso3 == -3 ){
00182     particle += "-";
00183   } else if ( iIso3 == -1 ){
00184     particle += "0";
00185   } else if ( iIso3 == +1 ){
00186     particle += "+";
00187   } else {
00188     particle += "++";
00189   }
00190   return particle;
00191 }

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

Implements G4ExcitedBaryonConstructor.

Definition at line 135 of file G4ExcitedDeltaConstructor.hh.

Referenced by GetEncoding().

00136 {
00137   // Quark contents
00138   //    iIso3 = +3 : uuu
00139   //    iIso3 = +1 : uud
00140   //    iIso3 = -1 : udd
00141   //    iIso3 = -3 : ddd
00142   G4int quark=0;
00143   if ( iQ == 0 ){
00144     if ( iIso3 == -3 ){
00145     // d-quark
00146       quark = 1;
00147     } else {
00148     // u-quark
00149       quark = 2;
00150     }
00151   } else if ( iQ == 2 ){
00152     if ( iIso3 == +3 ){
00153     // u-quark
00154       quark = 2;
00155     } else {
00156     // d-quark
00157       quark = 1;
00158     }
00159   } else {
00160     if (( iIso3 == -1 )||( iIso3 == -3 )) {
00161     // d-quark
00162       quark = 1;
00163     } else {
00164     // u-quark
00165       quark = 2;
00166     }
00167   }
00168   return quark;
00169 }

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

Implements G4ExcitedBaryonConstructor.

Definition at line 111 of file G4ExcitedDeltaConstructor.hh.

00112 {
00113   return width[iState];
00114 }


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