Import Geant4 3.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:10:37 +02:00
parent 137e303ecc
commit 36c080dca6
3464 changed files with 119310 additions and 52696 deletions
+23 -9
View File
@@ -1,19 +1,33 @@
// 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.
// ********************************************************************
// * 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: G4DiQuarks.cc,v 1.3 2000/02/27 07:48:51 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4DiQuarks.cc,v 1.3.4.2 2001/06/28 20:19:16 gunter Exp $
// GEANT4 tag $Name: $
//
//
// ----------------------------------------------------------------------
// GEANT 4 class implementation file
//
// For information related to this code contact:
// CERN, CN Division, ASD Group
// History: first implementation, based on object model of
// 4th April 1996, G.Cosmo
// **********************************************************************
@@ -1,18 +1,33 @@
// 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.
// ********************************************************************
// * 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: G4ExcitedBaryonConstructor.cc,v 1.4 2000/02/27 07:48:51 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4ExcitedBaryonConstructor.cc,v 1.5.2.1 2001/06/28 19:11:16 gunter Exp $
// GEANT4 tag $Name: $
//
//
// --------------------------------------------------------------
// GEANT 4 class implementation file
// For information related to this code contact:
// CERN, IT Division, ASD Group
//
// History: first implementation, based on object model of
// 10 oct 1998 H.Kurashige
// ---------------------------------------------------------------
@@ -29,12 +44,10 @@
G4ExcitedBaryonConstructor::G4ExcitedBaryonConstructor(G4int nStates,
G4int isoSpin):
NumberOfStates(nStates),iIsoSpin(isoSpin),
iConjugation(0), iGParity(0), leptonNumber(0), baryonNumber(1),
type("baryon")
G4int isoSpin)
: NumberOfStates(nStates), iIsoSpin(isoSpin), type("baryon"),
iConjugation(0), iGParity(0), leptonNumber(0), baryonNumber(1)
{
}
G4ExcitedBaryonConstructor::~G4ExcitedBaryonConstructor()
@@ -133,7 +146,6 @@ void G4ExcitedBaryonConstructor::ConstructAntiParticle(G4int idx)
G4double G4ExcitedBaryonConstructor::GetCharge(G4int iIsoSpin3)
{
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4double charge = 0.0;
static G4double quark_charge[7] =
{
@@ -159,22 +171,3 @@ G4int G4ExcitedBaryonConstructor::GetEncoding(G4int iIsoSpin3, G4int idxStat
}
return encoding;
}
@@ -1,19 +1,33 @@
// 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.
// ********************************************************************
// * 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: G4ExcitedBaryons.cc,v 1.3 1999/12/15 14:51:17 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4ExcitedBaryons.cc,v 1.3.4.2 2001/06/28 20:19:16 gunter Exp $
// GEANT4 tag $Name: $
//
//
// ----------------------------------------------------------------------
// GEANT 4 class implementation file
//
// For information related to this code contact:
// CERN, CN Division, ASD Group
// History: first implementation, based on object model of
// 4th April 1996, G.Cosmo
// **********************************************************************
@@ -1,18 +1,33 @@
// 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.
// ********************************************************************
// * 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: G4ExcitedDeltaConstructor.cc,v 1.4 1999/12/15 14:51:17 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4ExcitedDeltaConstructor.cc,v 1.5.2.1 2001/06/28 19:11:17 gunter Exp $
// GEANT4 tag $Name: $
//
//
// --------------------------------------------------------------
// GEANT 4 class implementation file
// For information related to this code contact:
// CERN, IT Division, ASD Group
//
// History: first implementation, based on object model of
// 10 oct 1998 H.Kurashige
// ---------------------------------------------------------------
@@ -135,7 +150,7 @@ G4DecayTable* G4ExcitedDeltaConstructor::AddNPiMode(
G4String daughterN;
G4String daughterPi;
G4double r;
G4double r = 0.;
// ------------ N pi0 ------------
// determine daughters
@@ -212,7 +227,7 @@ G4DecayTable* G4ExcitedDeltaConstructor::AddNRhoMode(
G4String daughterN;
G4String daughterRho;
G4double r;
G4double r = 0.;
// ------------ N Rho0 ------------
// determine daughters
@@ -288,7 +303,7 @@ G4DecayTable* G4ExcitedDeltaConstructor::AddNStarPiMode(
G4String daughterN;
G4String daughterPi;
G4double r;
G4double r = 0.;
// ------------ N pi0 ------------
// determine daughters
@@ -1,18 +1,32 @@
// 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.
// ********************************************************************
// * 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: G4ExcitedLambdaConstructor.cc,v 1.3 1999/12/15 14:51:17 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4ExcitedLambdaConstructor.cc,v 1.4.2.2 2001/06/28 20:19:16 gunter Exp $
// GEANT4 tag $Name: $
//
//
// --------------------------------------------------------------
// GEANT 4 class implementation file
// For information related to this code contact:
// CERN, IT Division, ASD Group
// History: first implementation, based on object model of
// 10 oct 1998 H.Kurashige
// ---------------------------------------------------------------
@@ -1,18 +1,32 @@
// 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.
// ********************************************************************
// * 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: G4ExcitedMesonConstructor.cc,v 1.8 2000/02/27 07:48:51 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4ExcitedMesonConstructor.cc,v 1.9.2.2 2001/06/28 20:19:16 gunter Exp $
// GEANT4 tag $Name: $
//
//
// --------------------------------------------------------------
// GEANT 4 class implementation file
// For information related to this code contact:
// CERN, IT Division, ASD Group
// History: first implementation, based on object model of
// 10 oct 1998 H.Kurashige
// ---------------------------------------------------------------
@@ -29,10 +43,9 @@
G4ExcitedMesonConstructor::G4ExcitedMesonConstructor(G4int nStates,
G4int isoSpin):
leptonNumber(0), baryonNumber(0),type("meson")
G4int isoSpin)
: type("meson"), leptonNumber(0), baryonNumber(0)
{
}
G4ExcitedMesonConstructor::~G4ExcitedMesonConstructor()
@@ -171,7 +184,6 @@ G4int G4ExcitedMesonConstructor::GetQuarkContents(G4int iQ,
G4double G4ExcitedMesonConstructor::GetCharge(G4int iIsoSpin3, G4int idxType )
{
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
static G4double quark_charge[7] =
{
0., -1./3., +2./3., -1./3., +2./3., -1./3., +2./3.
@@ -1,19 +1,33 @@
// 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.
// ********************************************************************
// * 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: G4ExcitedMesons.cc,v 1.3 1999/12/15 14:51:17 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4ExcitedMesons.cc,v 1.3.4.2 2001/06/28 20:19:16 gunter Exp $
// GEANT4 tag $Name: $
//
//
// ----------------------------------------------------------------------
// GEANT 4 class implementation file
//
// For information related to this code contact:
// CERN, CN Division, ASD Group
// History: first implementation, based on object model of
// 4th April 1996, G.Cosmo
// **********************************************************************
@@ -1,18 +1,32 @@
// 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.
// ********************************************************************
// * 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: G4ExcitedNucleonConstructor.cc,v 1.4 1999/12/15 14:51:17 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4ExcitedNucleonConstructor.cc,v 1.4.4.2 2001/06/28 20:19:16 gunter Exp $
// GEANT4 tag $Name: $
//
//
// --------------------------------------------------------------
// GEANT 4 class implementation file
// For information related to this code contact:
// CERN, IT Division, ASD Group
// History: first implementation, based on object model of
// 10 oct 1998 H.Kurashige
// ---------------------------------------------------------------
@@ -1,18 +1,33 @@
// 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.
// ********************************************************************
// * 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: G4ExcitedSigmaConstructor.cc,v 1.4 1999/12/15 14:51:17 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4ExcitedSigmaConstructor.cc,v 1.5.2.1 2001/06/28 19:11:18 gunter Exp $
// GEANT4 tag $Name: $
//
//
// --------------------------------------------------------------
// GEANT 4 class implementation file
// For information related to this code contact:
// CERN, IT Division, ASD Group
//
// History: first implementation, based on object model of
// 10 oct 1998 H.Kurashige
// ---------------------------------------------------------------
@@ -118,7 +133,7 @@ G4DecayTable* G4ExcitedSigmaConstructor::AddNKMode(
G4String daughterN;
G4String daughterK;
G4double r;
G4double r = 0.;
// ------------ N K- ------------
// determine daughters
@@ -182,7 +197,7 @@ G4DecayTable* G4ExcitedSigmaConstructor::AddDeltaKMode(
G4String daughterN;
G4String daughterK;
G4double r;
G4double r = 0.;
// ------------ N K- ------------
// determine daughters
@@ -250,7 +265,7 @@ G4DecayTable* G4ExcitedSigmaConstructor::AddNKStarMode(
G4String daughterN;
G4String daughterK;
G4double r;
G4double r = 0.;
// ------------ N K- ------------
// determine daughters
@@ -314,7 +329,7 @@ G4DecayTable* G4ExcitedSigmaConstructor::AddSigmaPiMode(
G4String daughterSigma;
G4String daughterPi;
G4double r;
G4double r = 0.;
// ------------ Sigma+ pi - ------------
// determine daughters
@@ -401,7 +416,7 @@ G4DecayTable* G4ExcitedSigmaConstructor::AddSigmaStarPiMode(
G4String daughterSigma;
G4String daughterPi;
G4double r;
G4double r = 0.;
// ------------ Sigma+ pi - ------------
// determine daughters
@@ -1,18 +1,33 @@
// 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.
// ********************************************************************
// * 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: G4ExcitedXiConstructor.cc,v 1.3 1999/12/15 14:51:17 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4ExcitedXiConstructor.cc,v 1.4.2.1 2001/06/28 19:11:18 gunter Exp $
// GEANT4 tag $Name: $
//
//
// --------------------------------------------------------------
// GEANT 4 class implementation file
// For information related to this code contact:
// CERN, IT Division, ASD Group
//
// History: first implementation, based on object model of
// 10 oct 1998 H.Kurashige
// ---------------------------------------------------------------
@@ -100,7 +115,7 @@ G4DecayTable* G4ExcitedXiConstructor::AddLambdaKMode(
G4String lambda = "lambda";
G4String daughterK;
G4double r;
G4double r = 0.;
// ------------ Lambda K- ------------
// determine daughters
@@ -139,7 +154,7 @@ G4DecayTable* G4ExcitedXiConstructor::AddSigmaKMode(
G4String daughterH;
G4String daughterK;
G4double r;
G4double r = 0.;
// ------------ Sigma K- ------------
// determine daughters
@@ -198,7 +213,7 @@ G4DecayTable* G4ExcitedXiConstructor::AddXiPiMode(
G4String daughterXi;
G4String daughterPi;
G4double r;
G4double r = 0.;
// ------------ Xi pi- ------------
// determine daughters
+23 -9
View File
@@ -1,19 +1,33 @@
// 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.
// ********************************************************************
// * 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: G4Gluons.cc,v 1.3 2000/02/27 07:48:51 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4Gluons.cc,v 1.3.4.2 2001/06/28 20:19:17 gunter Exp $
// GEANT4 tag $Name: $
//
//
// ----------------------------------------------------------------------
// GEANT 4 class implementation file
//
// For information related to this code contact:
// CERN, CN Division, ASD Group
// History: first implementation, based on object model of
// 4th April 1996, G.Cosmo
// **********************************************************************
+23 -9
View File
@@ -1,19 +1,33 @@
// 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.
// ********************************************************************
// * 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: G4Quarks.cc,v 1.3 2000/02/27 07:48:51 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4Quarks.cc,v 1.3.4.2 2001/06/28 20:19:17 gunter Exp $
// GEANT4 tag $Name: $
//
//
// ----------------------------------------------------------------------
// GEANT 4 class implementation file
//
// For information related to this code contact:
// CERN, CN Division, ASD Group
// History: first implementation, based on object model of
// 4th April 1996, G.Cosmo
// **********************************************************************
@@ -1,18 +1,36 @@
// 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.
// ********************************************************************
// * 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: G4ShortLivedConstructor.cc,v 1.7 2000/03/02 00:52:18 kurasige Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4ShortLivedConstructor.cc,v 1.8.2.1 2001/06/28 19:11:19 gunter Exp $
// GEANT4 tag $Name: $
//
//
// --------------------------------------------------------------
// GEANT 4 class implementation file
//
// Add "rho0" 25 Feb. 2000 H.Kurashige
// Fix spin/isospin number for quarks 06 Apr. 2001 H.Kurashige
#include "G4ShortLivedConstructor.hh"
#include "G4ParticleDefinition.hh"
@@ -106,18 +124,18 @@ void G4ShortLivedConstructor::ConstructQuarks()
0, 0, 0,
"quarks", 0, 0, 6,
true, -1.0, NULL);
// u-quark
// anti u-quark
particle = new G4Quarks(
"anti_u_quark", 8.0*MeV, 0.0*MeV, -2./3.*eplus,
1, +1, 0,
1, +1, 0,
1, -1, 0,
"quarks", 0, 0, -2,
true, -1.0, NULL);
// d-quark
// anti d-quark
particle = new G4Quarks(
"anti_d_quark", 15.0*MeV, 0.0*MeV, 1./3.*eplus,
1, +1, 0,
1, -1, 0,
1, +1, 0,
"quarks", 0, 0, -1,
true, -1.0, NULL);
// s-quark
@@ -167,7 +185,7 @@ void G4ShortLivedConstructor::ConstructQuarks()
particle = new G4DiQuarks(
"dd1_diquark", 30.0*MeV, 0.0*MeV, -2./3.*eplus,
2, +1, 0,
2, -1, 0,
2, -2, 0,
"diquarks", 0, 0, 1103,
true, -1.0, NULL);
@@ -182,7 +200,7 @@ void G4ShortLivedConstructor::ConstructQuarks()
// sd1-Diquark
particle = new G4DiQuarks(
"sd1_diquark", 315.0*MeV, 0.0*MeV, -2./3.*eplus,
1, +1, 0,
2, +1, 0,
1, -1, 0,
"diquarks", 0, 0, 3103,
true, -1.0, NULL);
@@ -190,50 +208,50 @@ void G4ShortLivedConstructor::ConstructQuarks()
// su1-Diquark
particle = new G4DiQuarks(
"su1_diquark", 308.0*MeV, 0.0*MeV, 1./3.*eplus,
1, +1, 0,
2, +1, 0,
1, +1, 0,
"diquarks", 0, 0, 3203,
true, -1.0, NULL);
// sd1-Diquark
// sd0-Diquark
particle = new G4DiQuarks(
"sd0_diquark", 315.0*MeV, 0.0*MeV, -2./3.*eplus,
1, +1, 0,
0, +1, 0,
1, -1, 0,
"diquarks", 0, 0, 3101,
true, -1.0, NULL);
// su1-Diquark
// su0-Diquark
particle = new G4DiQuarks(
"su0_diquark", 308.0*MeV, 0.0*MeV, 1./3.*eplus,
1, +1, 0,
0, +1, 0,
1, +1, 0,
"diquarks", 0, 0, 3201,
true, -1.0, NULL);
// uu1-Diquark
// anti uu1-Diquark
particle = new G4DiQuarks(
"anti_uu1_diquark", 16.0*MeV, 0.0*MeV, -4./3.*eplus,
2, +1, 0,
2, +2, 0,
2, -2, 0,
"diquarks", 0, 0, -2203,
true, -1.0, NULL);
// ud1-Diquark
// anti ud1-Diquark
particle = new G4DiQuarks(
"anti_ud1_diquark", 23.0*MeV, 0.0*MeV, -1./3.*eplus,
2, +1, 0,
2, +0, 0,
"diquarks", 0, 0, -2103,
true, -1.0, NULL);
// dd1-Diquark
// anti dd1-Diquark
particle = new G4DiQuarks(
"anti_dd1_diquark", 30.0*MeV, 0.0*MeV, 2./3.*eplus,
2, +1, 0,
2, -1, 0,
2, +2, 0,
"diquarks", 0, 0, -1103,
true, -1.0, NULL);
// ud0-Diquark
// anti ud0-Diquark
particle = new G4DiQuarks(
"anti_ud0_diquark", 23.0*MeV, 0.0*MeV, -1./3.*eplus,
0, +1, 0,
@@ -241,50 +259,50 @@ void G4ShortLivedConstructor::ConstructQuarks()
"diquarks", 0, 0, -2101,
true, -1.0, NULL);
// sd1-Diquark
// anti sd1-Diquark
particle = new G4DiQuarks(
"anti_sd1_diquark", 315.0*MeV, 0.0*MeV, 2./3.*eplus,
1, +1, 0,
1, -1, 0,
2, +1, 0,
1, +1, 0,
"diquarks", 0, 0, -3103,
true, -1.0, NULL);
// su1-Diquark
// anti su1-Diquark
particle = new G4DiQuarks(
"anti_su1_diquark", 308.0*MeV, 0.0*MeV, -1./3.*eplus,
1, +1, 0,
1, +1, 0,
2, +1, 0,
1, -1, 0,
"diquarks", 0, 0, -3203,
true, -1.0, NULL);
// sd0-Diquark
// anti sd0-Diquark
particle = new G4DiQuarks(
"anti_sd0_diquark", 315.0*MeV, 0.0*MeV, 2./3.*eplus,
1, +1, 0,
1, -1, 0,
0, +1, 0,
1, +1, 0,
"diquarks", 0, 0, -3101,
true, -1.0, NULL);
// su1-Diquark
// anti su0-Diquark
particle = new G4DiQuarks(
"anti_su0_diquark", 308.0*MeV, 0.0*MeV, -1./3.*eplus,
1, +1, 0,
1, +1, 0,
0, +1, 0,
1, -1, 0,
"diquarks", 0, 0, -3201,
true, -1.0, NULL);
// ss1-Diquark
// anti ss1-Diquark
particle = new G4DiQuarks(
"ss1_diquark", 600.0*MeV, 0.0*MeV, -2./3.*eplus,
1, +1, 0,
1, -1, 0,
2, +1, 0,
0, 0, 0,
"diquarks", 0, 0, 3303,
true, -1.0, NULL);
// ss1-Diquark
// anti ss1-Diquark
particle = new G4DiQuarks(
"anti_ss1_diquark", 600.0*MeV, 0.0*MeV, 2./3.*eplus,
1, +1, 0,
1, -1, 0,
2, +1, 0,
0, 0, 0,
"diquarks", 0, 0, -3303,
true, -1.0, NULL);
@@ -654,6 +672,106 @@ void G4ShortLivedConstructor::ConstructMesons()
decayTable->Insert(mode);
particle->SetDecayTable(decayTable);
// a0(980)+
particle = new G4ExcitedMesons(
"a0(980)+", 984.8*MeV, 60.0*MeV, +1.0*eplus,
0, +1, +1,
2, +2, -1,
"meson", 0, 0, 9000211,
false, 0.0, NULL);
// set sub type
particle->SetMultipletName("a0(980)");
// create decay table
decayTable = new G4DecayTable();
// create decay channel of a0(980)+ -> eta + pi+
// parent BR #daughters
mode = new G4PhaseSpaceDecayChannel("a0(980)+",1.000, 2,
"pi+","eta");
// add decay table
decayTable->Insert(mode);
particle->SetDecayTable(decayTable);
// a0(980)-
particle = new G4ExcitedMesons(
"a0(980)-", 984.8*MeV, 60.0*MeV, -1.0*eplus,
0, +1, +1,
2, -2, -1,
"meson", 0, 0, -9000211,
false, 0.0, NULL);
// set sub type
particle->SetMultipletName("a0(980)");
// create decay table
decayTable = new G4DecayTable();
// create decay channel of a0(980)- -> eta + pi-
// parent BR #daughters
mode = new G4PhaseSpaceDecayChannel("a0(980)-",1.000, 2,
"pi-","eta");
// add decay table
decayTable->Insert(mode);
particle->SetDecayTable(decayTable);
// a0(980)0
particle = new G4ExcitedMesons(
"a0(980)0", 984.8*MeV, 60.0*MeV, 0.0,
0, +1, +1,
2, 0, -1,
"meson", 0, 0, 9000111,
false, 0.0, NULL);
particle->SetAntiPDGEncoding(9000111);
// set sub type
particle->SetMultipletName("a0(980)");
// create decay table
decayTable = new G4DecayTable();
// create decay channel of a0(980)0 -> eta + pi0
// parent BR #daughters
mode = new G4PhaseSpaceDecayChannel("a0(980)0",1.000, 2,
"pi0","eta");
// add decay table
decayTable->Insert(mode);
particle->SetDecayTable(decayTable);
// f0(400-1200)
particle = new G4ExcitedMesons(
"f0(400-1200)", 470.0*MeV, 400.0*MeV, 0.0,
0, +1, +1,
0, 0, +1,
"meson", 0, 0, 9000221,
false, 0.0, NULL);
particle->SetAntiPDGEncoding(9000221);
// set sub type
particle->SetMultipletName("f0(400-1200)");
// create decay table
decayTable = new G4DecayTable();
// create decay channel of f0(400-1200) -> pi + pi
// parent BR #daughters
mode = new G4PhaseSpaceDecayChannel("f0(400-1200)",1.000, 2,
"pi+","pi-");
// add decay table
decayTable->Insert(mode);
particle->SetDecayTable(decayTable);
// f0(980)
particle = new G4ExcitedMesons(
"f0(980)", 980.0*MeV, 40.0*MeV, 0.0,
0, +1, +1,
0, 0, +1,
"meson", 0, 0, 9010221,
false, 0.0, NULL);
particle->SetAntiPDGEncoding(9010221);
// set sub type
particle->SetMultipletName("f0(980)");
// create decay table
decayTable = new G4DecayTable();
// create decay channel of f0(980) -> pi + pi
// parent BR #daughters
mode = new G4PhaseSpaceDecayChannel("f0(980)",1.000, 2,
"pi+","pi-");
// add decay table
decayTable->Insert(mode);
particle->SetDecayTable(decayTable);
// k_star+
particle = new G4ExcitedMesons(
"k_star+", 891.6*MeV, 50.8*MeV, +1.0*eplus,
@@ -1,19 +1,33 @@
// 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.
// ********************************************************************
// * 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: G4VShortLivedParticle.cc,v 1.3 1999/12/15 14:51:18 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4VShortLivedParticle.cc,v 1.3.4.2 2001/06/28 20:19:17 gunter Exp $
// GEANT4 tag $Name: $
//
//
// --------------------------------------------------------------
// GEANT 4 class implementation file
//
// For information related to this code contact:
// CERN, CN Division, ASD Group
// History: first implementation, based on object model of
// 28 June 1998 H.Kurashige
// --------------------------------------------------------------