Import Geant4 8.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:36:02 +02:00
parent d93e1e39a9
commit 8a51e0bc40
5471 changed files with 99628 additions and 55248 deletions
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiBMesonZero.cc,v 1.13 2004/02/13 05:53:37 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4AntiBMesonZero.cc,v 1.15 2005/01/14 03:49:15 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -30,57 +30,56 @@
//
// Created Hisaya Kurashige, 16 June 1997
// **********************************************************************
// Change both methods to get the pointer into non-inlined H.Kurashige 4 Aug. 1998
// ----------------------------------------------------------------
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4AntiBMesonZero.hh"
#include "G4DecayTable.hh"
#include "G4ParticleTable.hh"
// ######################################################################
// ### AntiBMesonZero ###
// ######################################################################
G4AntiBMesonZero::G4AntiBMesonZero(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4AntiBMesonZero* G4AntiBMesonZero::theInstance = 0;
G4AntiBMesonZero* G4AntiBMesonZero::Definition()
{
SetParticleSubType("B");
if (theInstance !=0) return theInstance;
const G4String name = "anti_B0";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 5.2792*GeV, 4.27e-10*MeV, 0.,
0, -1, 0,
1, +1, 0,
"meson", 0, 0, -511,
false, 1.56e-3*ns, NULL,
false, "B");
}
theInstance = reinterpret_cast<G4AntiBMesonZero*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4AntiBMesonZero* G4AntiBMesonZero::AntiBMesonZeroDefinition()
{
return Definition();
}
// In this version, charged pions are set to stable
G4AntiBMesonZero G4AntiBMesonZero::theAntiBMesonZero(
"anti_B0", 5.2792*GeV, 4.27e-10*MeV, 0.,
0, -1, 0,
1, +1, 0,
"meson", 0, 0, -511,
false, 1.56e-3*ns, NULL
);
G4AntiBMesonZero* G4AntiBMesonZero::AntiBMesonZeroDefinition(){return &theAntiBMesonZero;}
G4AntiBMesonZero* G4AntiBMesonZero::AntiBMesonZero(){return &theAntiBMesonZero;}
G4AntiBMesonZero* G4AntiBMesonZero::AntiBMesonZero()
{
return Definition();
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiBsMesonZero.cc,v 1.13 2004/02/13 05:53:37 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4AntiBsMesonZero.cc,v 1.15 2005/01/14 03:49:15 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -30,57 +30,56 @@
//
// Created Hisaya Kurashige, 16 June 1997
// **********************************************************************
// Change both methods to get the pointer into non-inlined H.Kurashige 4 Aug. 1998
// ----------------------------------------------------------------
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4AntiBsMesonZero.hh"
#include "G4DecayTable.hh"
#include "G4ParticleTable.hh"
// ######################################################################
// ### AntiBsMesonZero ###
// ### AntiBsMesonZero ###
// ######################################################################
G4AntiBsMesonZero::G4AntiBsMesonZero(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4AntiBsMesonZero* G4AntiBsMesonZero::theInstance = 0;
G4AntiBsMesonZero* G4AntiBsMesonZero::Definition()
{
SetParticleSubType("Bs");
if (theInstance !=0) return theInstance;
const G4String name = "anti_Bs0";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 5.3692*GeV, 4.51e-10*MeV, 0.,
0, -1, 0,
0, 0, 0,
"meson", 0, 0, -531,
false, 1.61e-3*ns, NULL,
false, "Bs");
}
theInstance = reinterpret_cast<G4AntiBsMesonZero*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4AntiBsMesonZero* G4AntiBsMesonZero::AntiBsMesonZeroDefinition()
{
return Definition();
}
// In this version, charged pions are set to stable
G4AntiBsMesonZero G4AntiBsMesonZero::theAntiBsMesonZero(
"anti_Bs0", 5.3692*GeV, 4.51e-10*MeV, 0.,
0, -1, 0,
0, 0, 0,
"meson", 0, 0, -531,
false, 1.61e-3*ns, NULL
);
G4AntiBsMesonZero* G4AntiBsMesonZero::AntiBsMesonZeroDefinition(){return &theAntiBsMesonZero;}
G4AntiBsMesonZero* G4AntiBsMesonZero::AntiBsMesonZero(){return &theAntiBsMesonZero;}
G4AntiBsMesonZero* G4AntiBsMesonZero::AntiBsMesonZero()
{
return Definition();
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiDMesonZero.cc,v 1.13 2004/02/13 05:53:37 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4AntiDMesonZero.cc,v 1.15 2005/01/14 03:49:15 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -30,57 +30,56 @@
//
// Created Hisaya Kurashige, 16 June 1997
// **********************************************************************
// Change both methods to get the pointer into non-inlined H.Kurashige 4 Aug. 1998
// ----------------------------------------------------------------
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4AntiDMesonZero.hh"
#include "G4DecayTable.hh"
#include "G4ParticleTable.hh"
// ######################################################################
// ### AntiDMesonZero ###
// ######################################################################
G4AntiDMesonZero::G4AntiDMesonZero(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4AntiDMesonZero* G4AntiDMesonZero::theInstance = 0;
G4AntiDMesonZero* G4AntiDMesonZero::Definition()
{
SetParticleSubType("D");
if (theInstance !=0) return theInstance;
const G4String name = "anti_D0";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 1.8645*GeV, 1.599e-9*MeV, 0.,
0, -1, 0,
1, +1, 0,
"meson", 0, 0, -421,
false, 0.415e-3*ns, NULL,
false, "D");
}
theInstance = reinterpret_cast<G4AntiDMesonZero*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4AntiDMesonZero* G4AntiDMesonZero::AntiDMesonZeroDefinition()
{
return Definition();
}
// In this version, charged pions are set to stable
G4AntiDMesonZero G4AntiDMesonZero::theAntiDMesonZero(
"anti_D0", 1.8645*GeV, 1.599e-9*MeV, 0.,
0, -1, 0,
1, +1, 0,
"meson", 0, 0, -421,
false, 0.415e-3*ns, NULL
);
G4AntiDMesonZero* G4AntiDMesonZero::AntiDMesonZeroDefinition(){return &theAntiDMesonZero;}
G4AntiDMesonZero* G4AntiDMesonZero::AntiDMesonZero(){return &theAntiDMesonZero;}
G4AntiDMesonZero* G4AntiDMesonZero::AntiDMesonZero()
{
return Definition();
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4AntiKaonZero.cc,v 1.12 2003/06/16 16:57:29 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4AntiKaonZero.cc,v 1.14 2005/01/14 03:49:15 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -32,11 +32,11 @@
// 4th April 1996, G.Cosmo
// H.Kurashige 7 Jul 96
// **********************************************************************
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4AntiKaonZero.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
@@ -45,60 +45,62 @@
// ### ANTIKAONZERO ###
// ######################################################################
G4AntiKaonZero::G4AntiKaonZero(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
{
SetParticleSubType("kaon");
//create Decay Table
G4DecayTable* table = GetDecayTable();
if (table!=NULL) delete table;
table = new G4DecayTable();
G4AntiKaonZero* G4AntiKaonZero::theInstance = 0;
// create decay channels
G4AntiKaonZero* G4AntiKaonZero::Definition()
{
if (theInstance !=0) return theInstance;
const G4String name = "anti_kaon0";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 0.497672*GeV, 0.0*MeV, 0.0,
0, -1, 0,
1, 1, 0,
"meson", 0, 0, -311,
false, 0.0, NULL,
false, "kaon");
//create Decay Table
G4DecayTable* table = new G4DecayTable();
// create decay channels
G4VDecayChannel** mode = new G4VDecayChannel*[2];
// kaon0 -> Kaon0L
mode[0] = new G4PhaseSpaceDecayChannel("anti_kaon0",0.500,1,"kaon0L");
// kaon0 -> Kaon0S
mode[1] = new G4PhaseSpaceDecayChannel("anti_kaon0",0.500,1,"kaon0S");
for (G4int index=0; index <2; index++ ) table->Insert(mode[index]);
for (G4int index=0; index <2; index++ ) table->Insert(mode[index]);
delete [] mode;
SetDecayTable(table);
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiKaonZero*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4AntiKaonZero* G4AntiKaonZero::AntiKaonZeroDefinition()
{
return Definition();
}
G4AntiKaonZero* G4AntiKaonZero::AntiKaonZero()
{
return Definition();
}
G4AntiKaonZero G4AntiKaonZero::theAntiKaonZero(
"anti_kaon0", 0.497672*GeV, 0.0*MeV, 0.0,
0, -1, 0,
1, 1, 0,
"meson", 0, 0, -311,
false, 0.0, NULL
);
G4AntiKaonZero* G4AntiKaonZero::AntiKaonZeroDefinition(){return &theAntiKaonZero;}
G4AntiKaonZero* G4AntiKaonZero::AntiKaonZero(){return &theAntiKaonZero;}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4BMesonMinus.cc,v 1.8 2004/02/13 05:53:37 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4BMesonMinus.cc,v 1.10 2005/01/14 03:49:15 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -31,60 +31,59 @@
//
// Created Hisaya Kurashige, 16 June 1997
// **********************************************************************
// Change both methods to get the pointer into non-inlined H.Kurashige 4 Aug. 1998
// ----------------------------------------------------------------
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4BMesonMinus.hh"
#include "G4DecayTable.hh"
#include "G4ParticleTable.hh"
// ######################################################################
// ### BMesonMinus ###
// ### BMesonMinus ###
// ######################################################################
G4BMesonMinus::G4BMesonMinus(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4BMesonMinus* G4BMesonMinus::theInstance = 0;
G4BMesonMinus* G4BMesonMinus::Definition()
{
SetParticleSubType("B");
if (theInstance !=0) return theInstance;
const G4String name = "B-";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 5.2789*GeV, 3.93e-10*MeV, -1.*eplus,
0, -1, 0,
1, -1, 0,
"meson", 0, 0, -521,
false, 1.62e-3*ns, NULL,
false, "B");
}
theInstance = reinterpret_cast<G4BMesonMinus*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4BMesonMinus* G4BMesonMinus::BMesonMinusDefinition()
{
return Definition();
}
G4BMesonMinus* G4BMesonMinus::BMesonMinus()
{
return Definition();
}
// In this version, charged pions are set to stable
G4BMesonMinus G4BMesonMinus::theBMesonMinus
(
"B-", 5.2789*GeV, 3.93e-10*MeV, -1.*eplus,
0, -1, 0,
1, -1, 0,
"meson", 0, 0, -521,
false, 1.62e-3*ns, NULL
);
G4BMesonMinus* G4BMesonMinus::BMesonMinusDefinition(){return &theBMesonMinus;}
G4BMesonMinus* G4BMesonMinus::BMesonMinus(){return &theBMesonMinus;}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4BMesonPlus.cc,v 1.8 2004/02/13 05:53:37 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4BMesonPlus.cc,v 1.10 2005/01/14 03:49:15 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -31,59 +31,59 @@
//
// Created Hisaya Kurashige, 16 June 1997
// **********************************************************************
// Change both methods to get the pointer into non-inlined H.Kurashige 4 Aug. 1998
// ----------------------------------------------------------------
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4BMesonPlus.hh"
#include "G4DecayTable.hh"
#include "G4ParticleTable.hh"
// ######################################################################
// ### BMesonPLUS ###
// ######################################################################
G4BMesonPlus::G4BMesonPlus(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4BMesonPlus* G4BMesonPlus::theInstance = 0;
G4BMesonPlus* G4BMesonPlus::Definition()
{
SetParticleSubType("B");
if (theInstance !=0) return theInstance;
const G4String name = "B+";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 5.2789*GeV, 3.93e-10*MeV, +1.*eplus,
0, -1, 0,
1, +1, 0,
"meson", 0, 0, 521,
false, 1.62e-3*ns, NULL,
false, "B");
}
theInstance = reinterpret_cast<G4BMesonPlus*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4BMesonPlus* G4BMesonPlus::BMesonPlusDefinition()
{
return Definition();
}
G4BMesonPlus* G4BMesonPlus::BMesonPlus()
{
return Definition();
}
// In this version, charged pions are set to stable
G4BMesonPlus G4BMesonPlus::theBMesonPlus(
"B+", 5.2789*GeV, 3.93e-10*MeV, +1.*eplus,
0, -1, 0,
1, +1, 0,
"meson", 0, 0, 521,
false, 1.62e-3*ns, NULL
);
G4BMesonPlus* G4BMesonPlus::BMesonPlusDefinition(){return &theBMesonPlus;}
G4BMesonPlus* G4BMesonPlus::BMesonPlus(){return &theBMesonPlus;}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4BMesonZero.cc,v 1.13 2004/02/13 05:53:37 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4BMesonZero.cc,v 1.15 2005/01/14 03:49:15 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -30,58 +30,57 @@
//
// Created Hisaya Kurashige, 16 June 1997
// **********************************************************************
// Change both methods to get the pointer into non-inlined H.Kurashige 4 Aug. 1998
// ----------------------------------------------------------------
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4BMesonZero.hh"
#include "G4DecayTable.hh"
#include "G4ParticleTable.hh"
// ######################################################################
// ### BMesonZero ###
// ######################################################################
G4BMesonZero::G4BMesonZero(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4BMesonZero* G4BMesonZero::theInstance = 0;
G4BMesonZero* G4BMesonZero::Definition()
{
SetParticleSubType("B");
if (theInstance !=0) return theInstance;
const G4String name = "B0";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 5.2792*GeV, 4.27e-10*MeV, 0.,
0, -1, 0,
1, -1, 0,
"meson", 0, 0, 511,
false, 1.56e-3*ns, NULL,
false, "B");
}
theInstance = reinterpret_cast<G4BMesonZero*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4BMesonZero* G4BMesonZero::BMesonZeroDefinition()
{
return Definition();
}
// In this version, charged pions are set to stable
G4BMesonZero G4BMesonZero::theBMesonZero(
"B0", 5.2792*GeV, 4.27e-10*MeV, 0.,
0, -1, 0,
1, -1, 0,
"meson", 0, 0, 511,
false, 1.56e-3*ns, NULL
);
G4BMesonZero* G4BMesonZero::BMesonZero()
{
return Definition();
}
G4BMesonZero* G4BMesonZero::BMesonZeroDefinition(){return &theBMesonZero;}
G4BMesonZero* G4BMesonZero::BMesonZero(){return &theBMesonZero;}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4BsMesonZero.cc,v 1.13 2004/02/13 05:53:37 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4BsMesonZero.cc,v 1.15 2005/01/14 03:49:15 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -30,57 +30,56 @@
//
// Created Hisaya Kurashige, 16 June 1997
// **********************************************************************
// Change both methods to get the pointer into non-inlined H.Kurashige 4 Aug. 1998
// ----------------------------------------------------------------
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4BsMesonZero.hh"
#include "G4DecayTable.hh"
#include "G4ParticleTable.hh"
// ######################################################################
// ### BsMesonZero ###
// ### BsMesonZero ###
// ######################################################################
G4BsMesonZero::G4BsMesonZero(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4BsMesonZero* G4BsMesonZero::theInstance = 0;
G4BsMesonZero* G4BsMesonZero::Definition()
{
SetParticleSubType("Bs");
if (theInstance !=0) return theInstance;
const G4String name = "Bs0";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 5.3692*GeV, 4.51e-10*MeV, 0.,
0, -1, 0,
0, 0, 0,
"meson", 0, 0, 531,
false, 1.61e-3*ns, NULL,
false, "Bs");
}
theInstance = reinterpret_cast<G4BsMesonZero*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4BsMesonZero* G4BsMesonZero::BsMesonZeroDefinition()
{
return Definition();
}
// In this version, charged pions are set to stable
G4BsMesonZero G4BsMesonZero::theBsMesonZero(
"Bs0", 5.3692*GeV, 4.51e-10*MeV, 0.,
0, -1, 0,
0, 0, 0,
"meson", 0, 0, 531,
false, 1.61e-3*ns, NULL
);
G4BsMesonZero* G4BsMesonZero::BsMesonZeroDefinition(){return &theBsMesonZero;}
G4BsMesonZero* G4BsMesonZero::BsMesonZero(){return &theBsMesonZero;}
G4BsMesonZero* G4BsMesonZero::BsMesonZero()
{
return Definition();
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DMesonMinus.cc,v 1.8 2004/02/13 05:53:37 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4DMesonMinus.cc,v 1.10 2005/01/14 03:49:15 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -31,62 +31,56 @@
//
// Created Hisaya Kurashige, 16 June 1997
// **********************************************************************
// Change both methods to get the pointer into non-inlined H.Kurashige 4 Aug. 1998
// ----------------------------------------------------------------
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4DMesonMinus.hh"
#include "G4DecayTable.hh"
#include "G4ParticleTable.hh"
// ######################################################################
// ### DMesonMinus ###
// ### DMesonMinus ###
// ######################################################################
G4DMesonMinus::G4DMesonMinus(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4DMesonMinus* G4DMesonMinus::theInstance = 0;
G4DMesonMinus* G4DMesonMinus::Definition()
{
SetParticleSubType("D");
if (theInstance !=0) return theInstance;
const G4String name = "D-";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 1.8693*GeV, 6.26e-10*MeV, -1.*eplus,
0, -1, 0,
1, -1, 0,
"meson", 0, 0, -411,
false, 1.057e-3*ns, NULL,
false, "D");
}
theInstance = reinterpret_cast<G4DMesonMinus*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// In this version, charged pions are set to stable
G4DMesonMinus G4DMesonMinus::theDMesonMinus
(
"D-", 1.8693*GeV, 6.26e-10*MeV, -1.*eplus,
0, -1, 0,
1, -1, 0,
"meson", 0, 0, -411,
false, 1.057e-3*ns, NULL
);
G4DMesonMinus* G4DMesonMinus::DMesonMinusDefinition(){return &theDMesonMinus;}
G4DMesonMinus* G4DMesonMinus::DMesonMinus(){return &theDMesonMinus;}
G4DMesonMinus* G4DMesonMinus::DMesonMinusDefinition()
{
return Definition();
}
G4DMesonMinus* G4DMesonMinus::DMesonMinus()
{
return Definition();
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DMesonPlus.cc,v 1.8 2004/02/13 05:53:37 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4DMesonPlus.cc,v 1.10 2005/01/14 03:49:15 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -31,61 +31,56 @@
//
// Created Hisaya Kurashige, 16 June 1997
// **********************************************************************
// Change both methods to get the pointer into non-inlined H.Kurashige 4 Aug. 1998
// ------------------------------------------------------------
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4DMesonPlus.hh"
#include "G4DecayTable.hh"
#include "G4ParticleTable.hh"
// ######################################################################
// ### DMesonPLUS ###
// ######################################################################
G4DMesonPlus::G4DMesonPlus(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4DMesonPlus* G4DMesonPlus::theInstance = 0;
G4DMesonPlus* G4DMesonPlus::Definition()
{
SetParticleSubType("D");
if (theInstance !=0) return theInstance;
const G4String name = "D+";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 1.8693*GeV, 6.26e-10*MeV, +1.*eplus,
0, -1, 0,
1, +1, 0,
"meson", 0, 0, 411,
false, 1.057e-3*ns, NULL,
false, "D");
}
theInstance = reinterpret_cast<G4DMesonPlus*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// In this version, charged pions are set to stable
G4DMesonPlus G4DMesonPlus::theDMesonPlus(
"D+", 1.8693*GeV, 6.26e-10*MeV, +1.*eplus,
0, -1, 0,
1, +1, 0,
"meson", 0, 0, 411,
false, 1.057e-3*ns, NULL
);
G4DMesonPlus* G4DMesonPlus::DMesonPlusDefinition(){return &theDMesonPlus;}
G4DMesonPlus* G4DMesonPlus::DMesonPlus(){return &theDMesonPlus;}
G4DMesonPlus* G4DMesonPlus::DMesonPlusDefinition()
{
return Definition();
}
G4DMesonPlus* G4DMesonPlus::DMesonPlus()
{
return Definition();
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DMesonZero.cc,v 1.13 2004/02/13 05:53:37 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4DMesonZero.cc,v 1.15 2005/01/14 03:49:15 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -30,57 +30,56 @@
//
// Created Hisaya Kurashige, 16 June 1997
// **********************************************************************
// Change both methods to get the pointer into non-inlined H.Kurashige 4 Aug. 1998
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------
#include <fstream>
#include <iomanip>
#include "G4DMesonZero.hh"
#include "G4DecayTable.hh"
#include "G4ParticleTable.hh"
// ######################################################################
// ### DMesonZero ###
// ######################################################################
G4DMesonZero::G4DMesonZero(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4DMesonZero* G4DMesonZero::theInstance = 0;
G4DMesonZero* G4DMesonZero::Definition()
{
SetParticleSubType("D");
if (theInstance !=0) return theInstance;
const G4String name = "D0";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 1.8645*GeV, 1.599e-9*MeV, 0.,
0, -1, 0,
1, -1, 0,
"meson", 0, 0, 421,
false, 0.415e-3*ns, NULL,
false, "D"
);
}
theInstance = reinterpret_cast<G4DMesonZero*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4DMesonZero* G4DMesonZero::DMesonZeroDefinition()
{
return Definition();
}
// In this version, charged pions are set to stable
G4DMesonZero G4DMesonZero::theDMesonZero(
"D0", 1.8645*GeV, 1.599e-9*MeV, 0.,
0, -1, 0,
1, -1, 0,
"meson", 0, 0, 421,
false, 0.415e-3*ns, NULL
);
G4DMesonZero* G4DMesonZero::DMesonZeroDefinition(){return &theDMesonZero;}
G4DMesonZero* G4DMesonZero::DMesonZero(){return &theDMesonZero;}
G4DMesonZero* G4DMesonZero::DMesonZero()
{
return Definition();
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DsMesonMinus.cc,v 1.8 2004/02/13 05:53:37 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4DsMesonMinus.cc,v 1.10 2005/01/14 03:49:15 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -31,61 +31,56 @@
//
// Created Hisaya Kurashige, 16 June 1997
// **********************************************************************
// Change both methods to get the pointer into non-inlined H.Kurashige 4 Aug. 1998
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------
#include <fstream>
#include <iomanip>
#include "G4DsMesonMinus.hh"
#include "G4DecayTable.hh"
#include "G4ParticleTable.hh"
// ######################################################################
// ### DsMesonMinus ###
// ######################################################################
G4DsMesonMinus::G4DsMesonMinus(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4DsMesonMinus* G4DsMesonMinus::theInstance = 0;
G4DsMesonMinus* G4DsMesonMinus::Definition()
{
SetParticleSubType("Ds");
if (theInstance !=0) return theInstance;
const G4String name = "Ds-";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 1.9685*GeV, 1.342e-9*MeV, -1.*eplus,
0, -1, 0,
0, 0, 0,
"meson", 0, 0, -431,
false, 0.467e-3*ns, NULL,
false, "Ds"
);
}
theInstance = reinterpret_cast<G4DsMesonMinus*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// In this version, charged pions are set to stable
G4DsMesonMinus G4DsMesonMinus::theDsMesonMinus(
"Ds-", 1.9685*GeV, 1.342e-9*MeV, -1.*eplus,
0, -1, 0,
0, 0, 0,
"meson", 0, 0, -431,
false, 0.467e-3*ns, NULL
);
G4DsMesonMinus* G4DsMesonMinus::DsMesonMinusDefinition(){return &theDsMesonMinus;}
G4DsMesonMinus* G4DsMesonMinus::DsMesonMinus(){return &theDsMesonMinus;}
G4DsMesonMinus* G4DsMesonMinus::DsMesonMinusDefinition()
{
return Definition();
}
G4DsMesonMinus* G4DsMesonMinus::DsMesonMinus()
{
return Definition();
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DsMesonPlus.cc,v 1.8 2004/02/13 05:53:37 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4DsMesonPlus.cc,v 1.10 2005/01/14 03:49:15 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -31,61 +31,56 @@
//
// Created Hisaya Kurashige, 16 June 1997
// **********************************************************************
// Change both methods to get the pointer into non-inlined H.Kurashige 4 Aug. 1998
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------
#include <fstream>
#include <iomanip>
#include "G4DsMesonPlus.hh"
#include "G4DecayTable.hh"
#include "G4ParticleTable.hh"
// ######################################################################
// ### DsMesonPLUS ###
// ### DsMesonPLUS ###
// ######################################################################
G4DsMesonPlus::G4DsMesonPlus(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4DsMesonPlus* G4DsMesonPlus::theInstance = 0;
G4DsMesonPlus* G4DsMesonPlus::Definition()
{
SetParticleSubType("Ds");
if (theInstance !=0) return theInstance;
const G4String name = "Ds+";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 1.9685*GeV, 1.342e-9*MeV, +1.*eplus,
0, -1, 0,
0, 0, 0,
"meson", 0, 0, 431,
false, 0.467e-3*ns, NULL,
false, "Ds"
);
}
theInstance = reinterpret_cast<G4DsMesonPlus*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// In this version, charged pions are set to stable
G4DsMesonPlus G4DsMesonPlus::theDsMesonPlus(
"Ds+", 1.9685*GeV, 1.342e-9*MeV, +1.*eplus,
0, -1, 0,
0, 0, 0,
"meson", 0, 0, 431,
false, 0.467e-3*ns, NULL
);
G4DsMesonPlus* G4DsMesonPlus::DsMesonPlusDefinition(){return &theDsMesonPlus;}
G4DsMesonPlus* G4DsMesonPlus::DsMesonPlus(){return &theDsMesonPlus;}
G4DsMesonPlus* G4DsMesonPlus::DsMesonPlusDefinition()
{
return Definition();
}
G4DsMesonPlus* G4DsMesonPlus::DsMesonPlus()
{
return Definition();
}
+46 -49
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Eta.cc,v 1.13 2003/06/16 16:57:39 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4Eta.cc,v 1.15 2005/01/14 03:49:15 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -31,12 +31,12 @@
// History: first implementation, based on object model of
// 4th April 1996, G.Cosmo
// H.Kurashige 7 Jul 96
// ------------------------------------------------------------
#include <fstream>
#include <iomanip>
// **********************************************************************
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4Eta.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
@@ -45,30 +45,36 @@
// ### ETA ###
// ######################################################################
G4Eta* G4Eta::theInstance = 0;
G4Eta::G4Eta(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4Eta* G4Eta::Definition()
{
SetParticleSubType("eta");
// Anti-particle of Eta is Eta itself
SetAntiPDGEncoding(encoding);
if (theInstance !=0) return theInstance;
const G4String name = "eta";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
SetPDGStable(false);
//create Decay Table
G4DecayTable* table = GetDecayTable();
if (table!=NULL) delete table;
table = new G4DecayTable();
anInstance = new G4ParticleDefinition(
name, 0.54730*GeV, 1.18*keV, 0.0,
0, -1, +1,
0, 0, +1,
"meson", 0, 0, 221,
false, 0.0*ns, NULL,
false, "eta", 221);
//create Decay Table
G4DecayTable* table = new G4DecayTable();
// create decay channels
G4VDecayChannel** mode = new G4VDecayChannel*[4];
@@ -81,31 +87,22 @@ G4Eta::G4Eta(
// eta -> gamma + pi+ + pi-
mode[3] = new G4PhaseSpaceDecayChannel("eta",0.048,3,"gamma","pi+","pi-");
for (G4int index=0; index <4; index++ ) table->Insert(mode[index]);
for (G4int index=0; index <4; index++ ) table->Insert(mode[index]);
delete [] mode;
SetDecayTable(table);
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4Eta*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4Eta* G4Eta::EtaDefinition()
{
return Definition();
}
G4Eta G4Eta::theEta(
"eta", 0.54730*GeV, 1.18*keV, 0.0,
0, -1, +1,
0, 0, +1,
"meson", 0, 0, 221,
false, 0.0*ns, NULL
);
G4Eta* G4Eta::EtaDefinition(){return &theEta;}
G4Eta* G4Eta::Eta(){return &theEta;}
G4Eta* G4Eta::Eta()
{
return Definition();
}
@@ -21,53 +21,58 @@
// ********************************************************************
//
//
// $Id: G4EtaPrime.cc,v 1.14 2004/02/13 05:53:37 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4EtaPrime.cc,v 1.16 2005/01/14 03:49:16 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------
// GEANT 4 class implementation file
//
// History: first implementation, 8 June 1998 Hisaya Kurashige
// ----------------------------------------------------------------
#include <fstream>
#include <iomanip>
// **********************************************************************
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4EtaPrime.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
// ######################################################################
// ### EtaPrime ###
// ### EtaPrime ###
// ######################################################################
G4EtaPrime* G4EtaPrime::theInstance = 0;
G4EtaPrime::G4EtaPrime(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4EtaPrime* G4EtaPrime::Definition()
{
SetParticleSubType("eta_prime");
// Anti-particle of EtaPrime is EtaPrime itself
SetAntiPDGEncoding(encoding);
if (theInstance !=0) return theInstance;
const G4String name = "eta_prime";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
SetPDGStable(false);
//create Decay Table
G4DecayTable* table = GetDecayTable();
if (table!=NULL) delete table;
table = new G4DecayTable();
anInstance = new G4ParticleDefinition(
name, 0.95777*GeV, 0.202*MeV, 0.0,
0, -1, +1,
0, 0, +1,
"meson", 0, 0, 331,
false, 0.0*ns, NULL,
false, "eta_prime", 331);
//create Decay Table
G4DecayTable* table = new G4DecayTable();
// create decay channels
G4VDecayChannel** mode = new G4VDecayChannel*[3];
@@ -78,31 +83,22 @@ G4EtaPrime::G4EtaPrime(
// EtaPrime -> rho0 + gamma
mode[2] = new G4PhaseSpaceDecayChannel("eta_prime",0.302,2,"rho0","gamma");
for (G4int index=0; index <3; index++ ) table->Insert(mode[index]);
for (G4int index=0; index <3; index++ ) table->Insert(mode[index]);
delete [] mode;
SetDecayTable(table);
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4EtaPrime*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4EtaPrime* G4EtaPrime::EtaPrimeDefinition()
{
return Definition();
}
G4EtaPrime G4EtaPrime::theEtaPrime(
"eta_prime", 0.95777*GeV, 0.202*MeV, 0.0,
0, -1, +1,
0, 0, +1,
"meson", 0, 0, 331,
false, 0.0*ns, NULL
);
G4EtaPrime* G4EtaPrime::EtaPrimeDefinition(){return &theEtaPrime;}
G4EtaPrime* G4EtaPrime::EtaPrime(){return &theEtaPrime;}
G4EtaPrime* G4EtaPrime::EtaPrime()
{
return Definition();
}
+43 -47
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4JPsi.cc,v 1.12 2003/06/16 16:57:41 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4JPsi.cc,v 1.14 2005/01/14 03:49:16 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -30,61 +30,57 @@
//
// Created Hisaya Kurashige, 16 June 1997
// **********************************************************************
// Change both methods to get the pointer into non-inlined H.Kurashige 4 Aug. 1998
// ------------------------------------------------------------
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4JPsi.hh"
#include "G4DecayTable.hh"
#include "G4ParticleTable.hh"
// ######################################################################
// ### JPsi ###
// ### JPsi ###
// ######################################################################
G4JPsi::G4JPsi(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4JPsi* G4JPsi::theInstance = 0;
G4JPsi* G4JPsi::Definition()
{
SetParticleSubType("J/psi");
// Anti-particle of J/Psi is J/Psi itself
SetAntiPDGEncoding(encoding);
if (theInstance !=0) return theInstance;
const G4String name = "J/psi";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 3.09688*GeV, 0.087*MeV, 0.,
2, -1, -1,
0, 0, -1,
"meson", 0, 0, 443,
false, 0.0*ns, NULL,
false, "J/psi", 443);
}
theInstance = reinterpret_cast<G4JPsi*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4JPsi* G4JPsi::JPsiDefinition()
{
return Definition();
}
// In this version, charged pions are set to stable
G4JPsi G4JPsi::theJPsi(
"J/psi", 3.09688*GeV, 0.087*MeV, 0.,
2, -1, -1,
0, 0, -1,
"meson", 0, 0, 443,
false, 0.0*ns, NULL
);
G4JPsi* G4JPsi::JPsi()
{
return Definition();
}
G4JPsi* G4JPsi::JPsiDefinition(){return &theJPsi;}
G4JPsi* G4JPsi::JPsi(){return &theJPsi;}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4KaonMinus.cc,v 1.10 2004/02/13 05:53:37 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4KaonMinus.cc,v 1.12 2005/01/14 03:49:16 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -32,38 +32,51 @@
// 4th April 1996, G.Cosmo
// H.Kurashige 7 Jul 96
// **********************************************************************
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4KaonMinus.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4KL3DecayChannel.hh"
#include "G4DecayTable.hh"
// ######################################################################
// ### KAONMINUS ###
// ######################################################################
G4KaonMinus::G4KaonMinus(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4KaonMinus* G4KaonMinus::theInstance = 0;
G4KaonMinus* G4KaonMinus::Definition()
{
SetParticleSubType("kaon");
//create Decay Table
G4DecayTable* table = GetDecayTable();
if (table!=NULL) delete table;
table = new G4DecayTable();
if (theInstance !=0) return theInstance;
const G4String name = "kaon-";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 0.493677*GeV, 5.315e-14*MeV, -1.*eplus,
0, -1, 0,
1, -1, 0,
"meson", 0, 0, -321,
false, 12.371*ns, NULL,
false, "kaon");
//create Decay Table
G4DecayTable* table = new G4DecayTable();
// create decay channels
G4VDecayChannel** mode = new G4VDecayChannel*[6];
@@ -75,39 +88,27 @@ G4KaonMinus::G4KaonMinus(
mode[2] = new G4PhaseSpaceDecayChannel("kaon-",0.056,3,"pi-","pi+","pi-");
// kaon- -> pi- + pi0 + pi0
mode[3] = new G4PhaseSpaceDecayChannel("kaon-",0.017,3,"pi-","pi0","pi0");
// kaon- -> pi0 + e- + anti_nu_e (Ke3)
// kaon- -> pi0 + e- + anti_nu_e (Ke3)
mode[4] = new G4KL3DecayChannel("kaon-",0.048,"pi0","e-","anti_nu_e");
// kaon- -> pi0 + mu- + anti_nu_mu (Kmu3)
// kaon- -> pi0 + mu- + anti_nu_mu (Kmu3)
mode[5] = new G4KL3DecayChannel("kaon-",0.032,"pi0","mu-","anti_nu_mu");
for (G4int index=0; index <6; index++ ) table->Insert(mode[index]);
for (G4int index=0; index <6; index++ ) table->Insert(mode[index]);
delete [] mode;
SetDecayTable(table);
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4KaonMinus*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
//
G4KaonMinus G4KaonMinus::theKaonMinus(
"kaon-", 0.493677*GeV, 5.315e-14*MeV, -1.*eplus,
0, -1, 0,
1, -1, 0,
"meson", 0, 0, -321,
false, 12.371*ns, NULL
);
G4KaonMinus* G4KaonMinus::KaonMinusDefinition(){return &theKaonMinus;}
G4KaonMinus* G4KaonMinus::KaonMinus(){return &theKaonMinus;}
G4KaonMinus* G4KaonMinus::KaonMinusDefinition()
{
return Definition();
}
G4KaonMinus* G4KaonMinus::KaonMinus()
{
return Definition();
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4KaonPlus.cc,v 1.9 2004/02/13 05:53:38 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4KaonPlus.cc,v 1.11 2005/01/14 03:49:16 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -32,11 +32,11 @@
// 4th April 1996, G.Cosmo
// H.Kurashige 7 Jul 96
// **********************************************************************
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4KaonPlus.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4KL3DecayChannel.hh"
@@ -46,25 +46,37 @@
// ### KAONPLUS ###
// ######################################################################
G4KaonPlus::G4KaonPlus(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4KaonPlus* G4KaonPlus::theInstance = 0;
G4KaonPlus* G4KaonPlus::Definition()
{
SetParticleSubType("kaon");
//create Decay Table
G4DecayTable* table = GetDecayTable();
if (table!=NULL) delete table;
table = new G4DecayTable();
if (theInstance !=0) return theInstance;
const G4String name = "kaon+";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 0.493677*GeV, 5.315e-14*MeV, +1.*eplus,
0, -1, 0,
1, +1, 0,
"meson", 0, 0, 321,
false, 12.371*ns, NULL,
false, "kaon");
//create Decay Table
G4DecayTable* table = new G4DecayTable();
// create decay channels
G4VDecayChannel** mode = new G4VDecayChannel*[6];
@@ -76,43 +88,27 @@ G4KaonPlus::G4KaonPlus(
mode[2] = new G4PhaseSpaceDecayChannel("kaon+",0.056,3,"pi+","pi+","pi-");
// kaon+ -> pi+ + pi0 + pi0
mode[3] = new G4PhaseSpaceDecayChannel("kaon+",0.017,3,"pi+","pi0","pi0");
// kaon+ -> pi0 + e+ + nu_e (Ke3)
// kaon+ -> pi0 + e+ + nu_e (Ke3)
mode[4] = new G4KL3DecayChannel("kaon+",0.048,"pi0","e+","nu_e");
// kaon+ -> pi0 + mu+ + nu_mu (Kmu3)
// kaon+ -> pi0 + mu+ + nu_mu (Kmu3)
mode[5] = new G4KL3DecayChannel("kaon+",0.032,"pi0","mu+","nu_mu");
for (G4int index=0; index <6; index++ ) table->Insert(mode[index]);
for (G4int index=0; index <6; index++ ) table->Insert(mode[index]);
delete [] mode;
SetDecayTable(table);
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4KaonPlus*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// In this version, charged pions are set to stable
G4KaonPlus G4KaonPlus::theKaonPlus(
"kaon+", 0.493677*GeV, 5.315e-14*MeV, +1.*eplus,
0, -1, 0,
1, +1, 0,
"meson", 0, 0, 321,
false, 12.371*ns, NULL
);
G4KaonPlus* G4KaonPlus::KaonPlusDefinition(){return &theKaonPlus;}
G4KaonPlus* G4KaonPlus::KaonPlus(){return &theKaonPlus;}
G4KaonPlus* G4KaonPlus::KaonPlusDefinition()
{
return Definition();
}
G4KaonPlus* G4KaonPlus::KaonPlus()
{
return Definition();
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4KaonZero.cc,v 1.12 2003/06/16 16:57:44 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4KaonZero.cc,v 1.14 2005/01/14 03:49:16 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -32,38 +32,50 @@
// 4th April 1996, G.Cosmo
// H.Kurashige 7 Jul 96
// **********************************************************************
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4KaonZero.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
// ######################################################################
// ### KAONZERO ###
// ### KAONZERO ###
// ######################################################################
G4KaonZero::G4KaonZero(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4KaonZero* G4KaonZero::theInstance = 0;
G4KaonZero* G4KaonZero::Definition()
{
SetParticleSubType("kaon");
//create Decay Table
G4DecayTable* table = GetDecayTable();
if (table!=NULL) delete table;
table = new G4DecayTable();
if (theInstance !=0) return theInstance;
const G4String name = "kaon0";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 0.497672*GeV, 0.0*MeV, 0.0,
0, -1, 0,
1, -1, 0,
"meson", 0, 0, 311,
false, 0.0, NULL,
false, "kaon");
//create Decay Table
G4DecayTable* table = new G4DecayTable();
// create decay channels
G4VDecayChannel** mode = new G4VDecayChannel*[2];
@@ -72,32 +84,22 @@ G4KaonZero::G4KaonZero(
// kaon0 -> Kaon0S
mode[1] = new G4PhaseSpaceDecayChannel("kaon0",0.500,1,"kaon0S");
for (G4int index=0; index <2; index++ ) table->Insert(mode[index]);
for (G4int index=0; index <2; index++ ) table->Insert(mode[index]);
delete [] mode;
SetDecayTable(table);
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4KaonZero*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4KaonZero* G4KaonZero::KaonZeroDefinition()
{
return Definition();
}
G4KaonZero G4KaonZero::theKaonZero(
"kaon0", 0.497672*GeV, 0.0*MeV, 0.0,
0, -1, 0,
1, -1, 0,
"meson", 0, 0, 311,
false, 0.0, NULL
);
G4KaonZero* G4KaonZero::KaonZeroDefinition(){return &theKaonZero;}
G4KaonZero* G4KaonZero::KaonZero(){return &theKaonZero;}
G4KaonZero* G4KaonZero::KaonZero()
{
return Definition();
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4KaonZeroLong.cc,v 1.13 2003/06/16 16:57:45 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4KaonZeroLong.cc,v 1.15 2005/01/14 03:49:16 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -32,40 +32,51 @@
// 4th April 1996, G.Cosmo
// H.Kurashige 7 Jul 96
// **********************************************************************
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4KaonZeroLong.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4KL3DecayChannel.hh"
#include "G4DecayTable.hh"
// ######################################################################
// ### KAONZEROLONG ###
// ######################################################################
G4KaonZeroLong::G4KaonZeroLong(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4KaonZeroLong* G4KaonZeroLong::theInstance = 0;
G4KaonZeroLong* G4KaonZeroLong::Definition()
{
SetParticleSubType("kaon");
// Anti-particle of K0Long is K0Long itself
SetAntiPDGEncoding(encoding);
//create Decay Table
G4DecayTable* table = GetDecayTable();
if (table!=NULL) delete table;
table = new G4DecayTable();
if (theInstance !=0) return theInstance;
const G4String name = "kaon0L";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 0.497672*GeV, 1.273e-14*MeV, 0.0,
0, -1, 0,
1, 0, 0,
"meson", 0, 0, 130,
false, 51.7*ns, NULL,
false, "kaon", 130);
//create Decay Table
G4DecayTable* table = new G4DecayTable();
// create decay channels
G4VDecayChannel** mode = new G4VDecayChannel*[6];
@@ -73,40 +84,31 @@ G4KaonZeroLong::G4KaonZeroLong(
mode[0] = new G4PhaseSpaceDecayChannel("kaon0L",0.211,3,"pi0","pi0","pi0");
// kaon0L -> pi0 + pi+ + pi-
mode[1] = new G4PhaseSpaceDecayChannel("kaon0L",0.126,3,"pi0","pi+","pi-");
// kaon0L -> pi- + e+ + nu_e (Ke3)
// kaon0L -> pi- + e+ + nu_e (Ke3)
mode[2] = new G4KL3DecayChannel("kaon0L",0.194,"pi-","e+","nu_e");
// kaon0L -> pi+ + e- + anti_nu_e (Ke3)
// kaon0L -> pi+ + e- + anti_nu_e (Ke3)
mode[3] = new G4KL3DecayChannel("kaon0L",0.194,"pi+","e-","anti_nu_e");
// kaon0L -> pi- + mu+ + nu_mu (Kmu3)
// kaon0L -> pi- + mu+ + nu_mu (Kmu3)
mode[4] = new G4KL3DecayChannel("kaon0L",0.136,"pi-","mu+","nu_mu");
// kaon0L -> pi+ + mu- + anti_nu_mu (Kmu3)
// kaon0L -> pi+ + mu- + anti_nu_mu (Kmu3)
mode[5] = new G4KL3DecayChannel("kaon0L",0.136,"pi+","mu-","anti_nu_mu");
for (G4int index=0; index <6; index++ ) table->Insert(mode[index]);
for (G4int index=0; index <6; index++ ) table->Insert(mode[index]);
delete [] mode;
SetDecayTable(table);
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4KaonZeroLong*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4KaonZeroLong* G4KaonZeroLong::KaonZeroLongDefinition()
{
return Definition();
}
G4KaonZeroLong G4KaonZeroLong::theKaonZeroLong(
"kaon0L", 0.497672*GeV, 1.273e-14*MeV, 0.0,
0, -1, 0,
1, 0, 0,
"meson", 0, 0, 130,
false, 51.7*ns, NULL
);
G4KaonZeroLong* G4KaonZeroLong::KaonZeroLongDefinition(){return &theKaonZeroLong;}
G4KaonZeroLong* G4KaonZeroLong::KaonZeroLong(){return &theKaonZeroLong;}
G4KaonZeroLong* G4KaonZeroLong::KaonZeroLong()
{
return Definition();
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4KaonZeroShort.cc,v 1.13 2003/06/16 16:57:46 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4KaonZeroShort.cc,v 1.15 2005/01/14 03:49:16 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -32,11 +32,11 @@
// 4th April 1996, G.Cosmo
// H.Kurashige 7 Jul 96
// **********************************************************************
#include <fstream>
#include <iomanip>
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include "G4KaonZeroShort.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
@@ -45,28 +45,37 @@
// ### KAONZEROSHORT ###
// ######################################################################
G4KaonZeroShort::G4KaonZeroShort(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4KaonZeroShort* G4KaonZeroShort::theInstance = 0;
G4KaonZeroShort* G4KaonZeroShort::Definition()
{
SetParticleSubType("kaon");
// Anti-particle of K0Short is K0Short itself
SetAntiPDGEncoding(encoding);
//create Decay Table
G4DecayTable* table = GetDecayTable();
if (table!=NULL) delete table;
table = new G4DecayTable();
if (theInstance !=0) return theInstance;
const G4String name = "kaon0S";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 0.497672*GeV, 7.373e-12*MeV, 0.0,
0, -1, 0,
1, 0, 0,
"meson", 0, 0, 310,
false, 0.08926*ns, NULL,
false, "kaon", 310);
//create Decay Table
G4DecayTable* table = new G4DecayTable();
// create decay channels
G4VDecayChannel** mode = new G4VDecayChannel*[2];
@@ -75,32 +84,22 @@ G4KaonZeroShort::G4KaonZeroShort(
// kaon0s -> pi0 + pi0
mode[1] = new G4PhaseSpaceDecayChannel("kaon0S",0.313,2,"pi0","pi0");
for (G4int index=0; index <2; index++ ) table->Insert(mode[index]);
for (G4int index=0; index <2; index++ ) table->Insert(mode[index]);
delete [] mode;
SetDecayTable(table);
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4KaonZeroShort*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4KaonZeroShort* G4KaonZeroShort::KaonZeroShortDefinition()
{
return Definition();
}
G4KaonZeroShort G4KaonZeroShort::theKaonZeroShort(
"kaon0S", 0.497672*GeV, 7.373e-12*MeV, 0.0,
0, -1, 0,
1, 0, 0,
"meson", 0, 0, 310,
false, 0.08926*ns, NULL
);
G4KaonZeroShort* G4KaonZeroShort::KaonZeroShortDefinition(){return &theKaonZeroShort;}
G4KaonZeroShort* G4KaonZeroShort::KaonZeroShort(){return &theKaonZeroShort;}
G4KaonZeroShort* G4KaonZeroShort::KaonZeroShort()
{
return Definition();
}
@@ -22,7 +22,7 @@
//
//
// $Id: G4MesonConstructor.cc,v 1.4 2001/07/11 10:01:50 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4PionMinus.cc,v 1.8 2003/06/16 16:57:47 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4PionMinus.cc,v 1.10 2005/01/14 03:49:16 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -31,15 +31,11 @@
// History: first implementation, based on object model of
// 4th April 1996, G.Cosmo
// **********************************************************************
// Added particle definitions, H.Kurashige, 19 April 1996
// Code uses operators (+=, *=, ++, -> etc.) correctly, P. Urban, 26/6/96
// Add PionMinusDefinition(), H.Kurashige 4 July 1996
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include <fstream>
#include <iomanip>
#include "G4PionMinus.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
@@ -48,62 +44,56 @@
// ### PIONMINUS ###
// ######################################################################
G4PionMinus::G4PionMinus(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4PionMinus* G4PionMinus::theInstance = 0;
G4PionMinus* G4PionMinus::Definition()
{
SetParticleSubType("pi");
SetPDGStable(false);
//create Decay Table
G4DecayTable* table = GetDecayTable();
if (table!=NULL) delete table;
table = new G4DecayTable();
if (theInstance !=0) return theInstance;
const G4String name = "pi-";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 0.1395700*GeV, 2.5284e-14*MeV, -1.*eplus,
0, -1, 0,
2, -2, -1,
"meson", 0, 0, -211,
false, 26.030*ns, NULL,
false, "pi");
//create Decay Table
G4DecayTable* table = new G4DecayTable();
// create a decay channel
// pi- -> mu- + anti_nu_mu
G4VDecayChannel* mode = new G4PhaseSpaceDecayChannel("pi-",1.00,2,"mu-","anti_nu_mu");
table->Insert(mode);
SetDecayTable(table);
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4PionMinus*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
//
G4PionMinus G4PionMinus::thePionMinus(
"pi-", 0.1395700*GeV, 2.5284e-14*MeV, -1.*eplus,
0, -1, 0,
2, -2, -1,
"meson", 0, 0, -211,
false, 26.030*ns, NULL
);
G4PionMinus* G4PionMinus::PionMinusDefinition(){return &thePionMinus;}
G4PionMinus* G4PionMinus::PionMinus(){return &thePionMinus;}
G4PionMinus* G4PionMinus::PionMinusDefinition()
{
return Definition();
}
G4PionMinus* G4PionMinus::PionMinus()
{
return Definition();
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4PionPlus.cc,v 1.9 2003/06/16 16:57:48 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4PionPlus.cc,v 1.11 2005/01/14 03:49:16 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -31,15 +31,11 @@
// History: first implementation, based on object model of
// 4th April 1996, G.Cosmo
// **********************************************************************
// Added particle definitions, H.Kurashige, 19 April 1996
// Code uses operators (+=, *=, ++, -> etc.) correctly, P. Urban, 26/6/96
// Add PionPlusDefinition(), H.Kurashige 4 July 1996
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include <fstream>
#include <iomanip>
#include "G4PionPlus.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
#include "G4DecayTable.hh"
@@ -48,59 +44,56 @@
// ### PIONPLUS ###
// ######################################################################
G4PionPlus::G4PionPlus(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4PionPlus* G4PionPlus::theInstance = 0;
G4PionPlus* G4PionPlus::Definition()
{
SetParticleSubType("pi");
SetPDGStable(false);
//create Decay Table
G4DecayTable* table = GetDecayTable();
if (table!=NULL) delete table;
table = new G4DecayTable();
if (theInstance !=0) return theInstance;
const G4String name = "pi+";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
anInstance = new G4ParticleDefinition(
name, 0.1395700*GeV, 2.5284e-14*MeV, +1.*eplus,
0, -1, 0,
2, +2, -1,
"meson", 0, 0, 211,
false, 26.030*ns, NULL,
false, "pi");
//create Decay Table
G4DecayTable* table = new G4DecayTable();
// create a decay channel
// pi+ -> mu+ + nu_mu
G4VDecayChannel* mode = new G4PhaseSpaceDecayChannel("pi+",1.00,2,"mu+","nu_mu");
table->Insert(mode);
SetDecayTable(table);
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4PionPlus*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// In this version, charged pions are set to stable
G4PionPlus G4PionPlus::thePionPlus(
"pi+", 0.1395700*GeV, 2.5284e-14*MeV, +1.*eplus,
0, -1, 0,
2, +2, -1,
"meson", 0, 0, 211,
false, 26.030*ns, NULL
);
G4PionPlus* G4PionPlus::PionPlusDefinition(){return &thePionPlus;}
G4PionPlus* G4PionPlus::PionPlus(){return &thePionPlus;}
G4PionPlus* G4PionPlus::PionPlusDefinition()
{
return Definition();
}
G4PionPlus* G4PionPlus::PionPlus()
{
return Definition();
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4PionZero.cc,v 1.13 2003/06/16 16:57:49 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4PionZero.cc,v 1.15 2005/01/14 03:49:16 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ----------------------------------------------------------------------
@@ -31,15 +31,11 @@
// History: first implementation, based on object model of
// 4th April 1996, G.Cosmo
// **********************************************************************
// Added particle definitions, H.Kurashige, 19 April 1996
// Operators (+=, *=, ++, -> etc.) correctly used, P. Urban, 26/6/96
// Add PionZeroDefinition(), H.Kurashige 4 July 1996
// New impelemenataion as an utility class M.Asai, 26 July 2004
// ----------------------------------------------------------------------
#include <fstream>
#include <iomanip>
#include "G4PionZero.hh"
#include "G4ParticleTable.hh"
#include "G4PhaseSpaceDecayChannel.hh"
@@ -50,30 +46,37 @@
// ### PIONZERO ###
// ######################################################################
G4PionZero::G4PionZero(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable )
: G4VMeson( aName,mass,width,charge,iSpin,iParity,
iConjugation,iIsospin,iIsospin3,gParity,pType,
lepton,baryon,encoding,stable,lifetime,decaytable )
G4PionZero* G4PionZero::theInstance = 0;
G4PionZero* G4PionZero::Definition()
{
SetParticleSubType("pi");
// Anti-particle of Pi0 is pi0 itself
SetAntiPDGEncoding(encoding);
if (theInstance !=0) return theInstance;
const G4String name = "pi0";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4ParticleDefinition* anInstance = pTable->FindParticle(name);
if (anInstance ==0)
{
// create particle
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
// shortlived subType anti_encoding
SetPDGStable(false);
anInstance = new G4ParticleDefinition(
name, 0.1349764*GeV, 7.8e-06*MeV, 0.0,
0, -1, +1,
2, 0, -1,
"meson", 0, 0, 111,
false, 8.4e-8*ns, NULL,
false, "pi", 111);
//create Decay Table
G4DecayTable* table = GetDecayTable();
if (table!=NULL) delete table;
table = new G4DecayTable();
//create Decay Table
G4DecayTable* table = new G4DecayTable();
// create a decay channel
G4VDecayChannel* mode;
@@ -84,30 +87,19 @@ G4PionZero::G4PionZero(
mode = new G4DalitzDecayChannel("pi0",0.012,"e-","e+");
table->Insert(mode);
SetDecayTable(table);
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4PionZero*>(anInstance);
return theInstance;
}
// ......................................................................
// ... static member definitions ...
// ......................................................................
//
// Arguments for constructor are as follows
// name mass width charge
// 2*spin parity C-conjugation
// 2*Isospin 2*Isospin3 G-parity
// type lepton number baryon number PDG encoding
// stable lifetime decay table
G4PionZero G4PionZero::thePionZero(
"pi0", 0.1349764*GeV, 7.8e-06*MeV, 0.0,
0, -1, +1,
2, 0, -1,
"meson", 0, 0, 111,
false, 8.4e-8*ns, NULL
);
G4PionZero* G4PionZero::PionZeroDefinition(){return &thePionZero;}
G4PionZero* G4PionZero::PionZero(){return &thePionZero;}
G4PionZero* G4PionZero::PionZeroDefinition()
{
return Definition();
}
G4PionZero* G4PionZero::PionZero()
{
return Definition();
}
@@ -1,42 +0,0 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4VMeson.cc,v 1.3 2001/07/11 10:01:51 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
//
//
// --------------------------------------------------------------
// GEANT 4 class implementation file
//
// History: first implementation, based on object model of
// 2nd December 1995, G.Cosmo
// --------------------------------------------------------------
#include "G4VMeson.hh"
const G4VMeson & G4VMeson::operator=(const G4VMeson &right)
{
if (this != &right) {
} return right;
}