Import Geant4 0.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:09:25 +02:00
parent b97f8d0df7
commit aaa409b6ee
2922 changed files with 55107 additions and 81674 deletions
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4DiQuarks.cc,v 2.0 1998/07/02 17:27:12 gunter Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4DiQuarks.cc,v 1.1 1999/01/07 16:10:40 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// ----------------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ExcitedBaryonConstructor.cc,v 2.4 1998/11/25 14:02:11 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4ExcitedBaryonConstructor.cc,v 1.1 1999/01/07 16:10:40 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// --------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ExcitedBaryons.cc,v 2.0 1998/07/02 17:27:02 gunter Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4ExcitedBaryons.cc,v 1.1 1999/01/07 16:10:41 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// ----------------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ExcitedDeltaConstructor.cc,v 2.6 1998/11/26 10:09:18 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4ExcitedDeltaConstructor.cc,v 1.2 1999/06/09 17:28:15 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// --------------------------------------------------------------
@@ -457,13 +457,13 @@ const G4String G4ExcitedDeltaConstructor::name[] =
const G4double G4ExcitedDeltaConstructor::mass[] =
{
1.700*GeV, 1.675*GeV, 1.750*GeV, 1.850*GeV, 1.880*GeV,
1.900*GeV, 1.920*GeV, 1.930*GeV, 1.950*GeV
1.600*GeV, 1.620*GeV, 1.700*GeV, 1.850*GeV, 1.905*GeV,
1.910*GeV, 1.920*GeV, 1.930*GeV, 1.950*GeV
};
const G4double G4ExcitedDeltaConstructor::width[] = {
200.0*MeV, 180.0*MeV, 300.0*MeV, 240.0*MeV, 280.0*MeV,
250.0*MeV, 105.0*MeV, 250.0*MeV, 250.0*MeV
350.0*MeV, 150.0*MeV, 300.0*MeV, 240.0*MeV, 350.0*MeV,
250.0*MeV, 200.0*MeV, 350.0*MeV, 300.0*MeV
};
const G4int G4ExcitedDeltaConstructor::iSpin[] =
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ExcitedLambdaConstructor.cc,v 2.4 1998/11/13 12:22:44 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4ExcitedLambdaConstructor.cc,v 1.1 1999/01/07 16:10:41 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// --------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ExcitedMesonConstructor.cc,v 2.4 1998/11/25 14:02:16 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4ExcitedMesonConstructor.cc,v 1.5 1999/06/16 11:48:10 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// --------------------------------------------------------------
@@ -90,14 +90,21 @@ void G4ExcitedMesonConstructor::ConstructMesons(G4int iState, G4int iType)
// stable lifetime decay table
G4String name;
G4String aName;
G4ParticleDefinition* particle;
for ( G4int iIso3=(-1)*iIsoSpin[iType]; iIso3<=iIsoSpin[iType]; iIso3+=2) {
name= GetName(iIso3, iState, iType);
aName= GetName(iIso3, iState, iType);
G4double fmass = mass[iState][iType];
G4double fwidth = width[iState][iType];
if ( (iType== TK) || (iType==TAntiK ) ) {
if ( GetCharge(iIso3,iType) == 0.0) {
fmass += massKdiff[iState];
fwidth += widthKdiff[iState];
}
}
particle = new G4ExcitedMesons(
name, mass[iState][iType], width[iState][iType],
aName, fmass, fwidth,
GetCharge(iIso3,iType), iSpin[iState],
iParity[iState], iChargeConjugation[iState],
iIsoSpin[iType], iIso3,
@@ -112,7 +119,7 @@ void G4ExcitedMesonConstructor::ConstructMesons(G4int iState, G4int iType)
particle->SetAntiPDGEncoding(GetEncoding(iIso3, iState, iType));
}
particle->SetDecayTable(CreateDecayTable( name, iIso3, iState, iType));
particle->SetDecayTable(CreateDecayTable( aName, iIso3, iState, iType));
}
}
@@ -1359,16 +1366,26 @@ const G4String G4ExcitedMesonConstructor::name[G4ExcitedMesonConstructor::NMulti
const G4double G4ExcitedMesonConstructor::mass[G4ExcitedMesonConstructor::NMultiplets ][ G4ExcitedMesonConstructor::NMesonTypes ] =
{
{ 1.230*GeV, 1.170*GeV, 1.386*GeV, 1.273*GeV, 1.273*GeV },
{ 1.2295*GeV, 1.170*GeV, 1.386*GeV, 1.272*GeV, 1.272*GeV },
{ 1.474*GeV, 1.370*GeV, 0.0, 1.429*GeV, 1.429*GeV },
{ 1.230*GeV, 1.282*GeV, 1.426*GeV, 1.402*GeV, 1.402*GeV },
{ 1.318*GeV, 1.275*GeV, 1.525*GeV, 1.426*GeV, 1.426*GeV },
{ 1.230*GeV, 1.282*GeV,1.4262*GeV, 1.402*GeV, 1.402*GeV },
{ 1.318*GeV, 1.275*GeV, 1.525*GeV,1.4256*GeV, 1.4256*GeV },
{ 1.670*GeV, 1.632*GeV, 1.854*GeV, 1.773*GeV, 1.773*GeV },
{ 1.700*GeV, 1.649*GeV, 0.0, 1.717*GeV, 1.717*GeV },
{ 1.691*GeV, 1.667*GeV, 1.854*GeV, 1.776*GeV, 1.776*GeV },
{ 1.300*GeV, 1.297*GeV, 1.440*GeV, 1.460*GeV, 1.460*GeV },
{ 1.300*GeV, 1.297*GeV, 1.440*GeV,1.4324*GeV, 1.4324*GeV },
{ 1.465*GeV, 1.419*GeV, 1.680*GeV, 1.414*GeV, 1.414*GeV },
{ 0.0, 1.815*GeV, 2.011*GeV, 1.973*GeV, 1.973*GeV }
{ 0.0, 1.815*GeV, 2.010*GeV, 1.973*GeV, 1.973*GeV }
};
const G4double G4ExcitedMesonConstructor::massKdiff[ G4ExcitedMesonConstructor::NMultiplets ] = {
0.0*MeV, 0.0*MeV, 0.0*MeV, 6.8*MeV, 0.0*MeV,
0.0*MeV, 0.0*MeV, 0.0*MeV, 0.0*MeV, 0.0*MeV
};
const G4double G4ExcitedMesonConstructor::widthKdiff[ G4ExcitedMesonConstructor::NMultiplets ] = {
0.0*MeV, 0.0*MeV, 0.0*MeV, 10.5*MeV, 0.0*MeV,
0.0*MeV, 0.0*MeV, 0.0*MeV, 0.0*MeV, 0.0*MeV
};
const G4double G4ExcitedMesonConstructor::width[G4ExcitedMesonConstructor::NMultiplets ][ G4ExcitedMesonConstructor::NMesonTypes ] =
@@ -1376,13 +1393,13 @@ const G4double G4ExcitedMesonConstructor::width[G4ExcitedMesonConstructor::NMult
{ 142.0*MeV, 360.0*MeV, 91.0*MeV, 90.0*MeV, 90.0*MeV },
{ 265.0*MeV, 200.0*MeV, 0.0, 287.0*MeV, 287.0*MeV },
{ 400.0*MeV, 24.0*MeV, 55.0*MeV, 174.0*MeV, 174.0*MeV },
{ 107.0*MeV, 186.0*MeV, 76.0*MeV, 98.5*MeV, 98.5*MeV },
{ 107.0*MeV, 185.5*MeV, 76.0*MeV, 98.5*MeV, 98.5*MeV },
{ 258.0*MeV, 180.0*MeV, 202.0*MeV, 186.0*MeV, 186.0*MeV },
{ 235.0*MeV, 220.0*MeV, 0.0, 322.0*MeV, 322.0*MeV },
{ 160.0*MeV, 160.0*MeV, 87.0*MeV, 159.0*MeV, 159.0*MeV },
{ 240.0*MeV, 220.0*MeV, 0.0, 320.0*MeV, 320.0*MeV },
{ 160.0*MeV, 168.0*MeV, 87.0*MeV, 159.0*MeV, 159.0*MeV },
{ 220.0*MeV, 53.0*MeV, 56.0*MeV, 260.0*MeV, 260.0*MeV },
{ 310.0*MeV, 174.0*MeV, 150.0*MeV, 232.0*MeV, 232.0*MeV },
{ 0.0, 197.0*MeV, 202.0*MeV, 373.0*MeV, 373.0*MeV }
{ 310.0*MeV, 170.0*MeV, 150.0*MeV, 232.0*MeV, 232.0*MeV },
{ 0.0, 197.0*MeV, 200.0*MeV, 373.0*MeV, 373.0*MeV }
};
@@ -1429,7 +1446,7 @@ const G4int G4ExcitedMesonConstructor::iGParity[G4ExcitedMesonConstructor::NM
const G4int G4ExcitedMesonConstructor::encodingOffset[]=
{ 10000, 20000, 10000, 0, 10000, 30000, 0, 100000,100000,100000};
{ 10000, 20000, 20000, 0, 10000, 30000, 0, 100000,100000,100000};
@@ -1438,7 +1455,7 @@ const G4double G4ExcitedMesonConstructor::bRatio[G4ExcitedMesonConstructor::NMul
{
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{
{ 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.10, 0.00, 0.00, 0.00, 0.00, 0.00, 0.90, 0.00, 0.00, 0.00 },
{ 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 1.00, 0.00, 0.00, 0.00 },
{ 0.00, 0.00, 0.00, 0.90, 0.10, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00 },
{ 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 1.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00 },
{ 0.00, 0.47, 0.42, 0.11, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00 },
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ExcitedMesons.cc,v 2.0 1998/07/02 17:27:04 gunter Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4ExcitedMesons.cc,v 1.1 1999/01/07 16:10:42 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// ----------------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ExcitedNucleonConstructor.cc,v 2.6 1998/11/26 10:09:22 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4ExcitedNucleonConstructor.cc,v 1.2 1999/06/09 17:28:17 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// --------------------------------------------------------------
@@ -537,9 +537,9 @@ const G4double G4ExcitedNucleonConstructor::mass[] = {
};
const G4double G4ExcitedNucleonConstructor::width[] = {
200.0*MeV, 125.0*MeV, 150.0*MeV, 150.0*MeV, 140.0*MeV,
120.0*MeV, 100.0*MeV, 110.0*MeV, 150.0*MeV, 500.0*MeV,
550.0*MeV, 250.0*MeV, 550.0*MeV
350.0*MeV, 120.0*MeV, 150.0*MeV, 150.0*MeV, 150.0*MeV,
130.0*MeV, 100.0*MeV, 100.0*MeV, 150.0*MeV, 500.0*MeV,
550.0*MeV, 250.0*MeV, 450.0*MeV
};
const G4int G4ExcitedNucleonConstructor::iSpin[] = {
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ExcitedSigmaConstructor.cc,v 2.4 1998/11/13 12:22:46 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4ExcitedSigmaConstructor.cc,v 1.2 1999/06/08 07:33:30 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// --------------------------------------------------------------
@@ -556,7 +556,7 @@ const G4String G4ExcitedSigmaConstructor::name[] = {
const G4double G4ExcitedSigmaConstructor::mass[] = {
1.384*GeV, 1.660*GeV, 1.670*GeV, 1.750*GeV, 1.775*GeV,
1.915*GeV, 1.940*GeV, 1.030*GeV
1.915*GeV, 1.940*GeV, 2.030*GeV
};
const G4double G4ExcitedSigmaConstructor::width[] = {
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ExcitedXiConstructor.cc,v 2.4 1998/11/13 12:22:47 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4ExcitedXiConstructor.cc,v 1.1 1999/01/07 16:10:42 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// --------------------------------------------------------------
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Gluons.cc,v 2.0 1998/07/02 17:27:05 gunter Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4Gluons.cc,v 1.1 1999/01/07 16:10:42 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// ----------------------------------------------------------------------
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Quarks.cc,v 2.0 1998/07/02 17:27:07 gunter Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4Quarks.cc,v 1.1 1999/01/07 16:10:43 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// ----------------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ShortLivedConstructor.cc,v 2.10 1998/12/02 09:58:07 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4ShortLivedConstructor.cc,v 1.2 1999/06/09 17:28:18 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// --------------------------------------------------------------
@@ -531,11 +531,12 @@ void G4ShortLivedConstructor::ConstructMesons()
// vector mesons
// omega
particle = new G4ExcitedMesons(
"omega", 781.94*MeV, 8.43*MeV, +0.0*eplus,
"omega", 781.94*MeV, 8.41*MeV, +0.0*eplus,
2, -1, -1,
0, +0, -1,
"meson", 0, 0, 223,
false, 0.0, NULL);
particle->SetAntiPDGEncoding(223);
// create decay table
decayTable = new G4DecayTable();
// create decay channel of omega -> pi+ + pi- + pi0
@@ -553,6 +554,7 @@ void G4ShortLivedConstructor::ConstructMesons()
0, +0, -1,
"meson", 0, 0, 333,
false, 0.0, NULL);
particle->SetAntiPDGEncoding(333);
// create decay table
decayTable = new G4DecayTable();
// create decay channel of phi -> kaon+ + kaon-
@@ -610,7 +612,7 @@ void G4ShortLivedConstructor::ConstructMesons()
// k_star+
particle = new G4ExcitedMesons(
"k_star+", 891.6*MeV, 49.8*MeV, +1.0*eplus,
"k_star+", 891.6*MeV, 50.8*MeV, +1.0*eplus,
2, -1, 0,
1, +1, 0,
"meson", 0, 0, 323,
@@ -656,7 +658,7 @@ void G4ShortLivedConstructor::ConstructMesons()
// k_star-
particle = new G4ExcitedMesons(
"k_star-", 891.6*MeV, 49.8*MeV, -1.0*eplus,
"k_star-", 891.6*MeV, 50.8*MeV, -1.0*eplus,
2, -1, 0,
1, +1, 0,
"meson", 0, 0, -323,
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VShortLivedParticle.cc,v 2.0 1998/07/02 17:27:11 gunter Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4VShortLivedParticle.cc,v 1.2 1999/04/13 08:18:31 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// --------------------------------------------------------------
@@ -44,7 +44,36 @@ G4VShortLivedParticle::G4VShortLivedParticle(const G4String& aName,
}
void G4VShortLivedParticle::ResetCuts()
{
G4cout << "G4VShortLivedParticle::ResetCuts() causes no effect!!" << endl;
}
void G4VShortLivedParticle::SetCuts(G4double )
{
G4cout << "G4VShortLivedParticle::SetCuts() causes no effect!!" << endl;
}
void G4VShortLivedParticle::ReCalcCuts()
{
G4cout << "G4VShortLivedParticle::ReCalcCuts() causes no effect!!" << endl;
}
G4double G4VShortLivedParticle::GetLengthCuts() const
{
G4cout << "G4VShortLivedParticle::GetLengthCuts() causes no effect!!" << endl;
return -1.0;
}
G4double* G4VShortLivedParticle::GetEnergyCuts() const
{
G4cout << "G4VShortLivedParticle::GetLengthCuts() causes no effect!!" << endl;
return 0;
}
G4double G4VShortLivedParticle::GetEnergyThreshold(const G4Material* ) const
{
G4cout << "G4VShortLivedParticle::GetEnergyThreshold() causes no effect!!" << endl;
return -1.0;
}
const G4VShortLivedParticle & G4VShortLivedParticle::operator=(const G4VShortLivedParticle& right)
{