Import Geant4 11.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2022-12-09 14:43:28 +01:00
parent c07cea1fe0
commit 9f34590941
3810 changed files with 200490 additions and 182326 deletions
+58
View File
@@ -6,6 +6,64 @@ It must **not** be used as a substitute for writing good git commit messages!
-------------------------------------------------------------------------------
## 2022-11-18 Gabriele Cosmo (particles-V11-00-15)
- Fixed compilation warnings for implicit type conversions on macOS/XCode 14.1
in G4IonTable.
## 2022-11-14 I. Hrivnacova (particles-V11-00-14)
- Replaced reinterpret_cast with static_cast where possible
## 2022-11-11 Alberto Ribon (particles-V11-00-13)
- G4HyperNucleiProperties : optimization improvement and minor clean-up.
## 2022-11-02 Alberto Ribon (particles-V11-00-12)
- G4Triton, G4AntiTriton : corrected the lifetime value for triton
and anti_triton : the half-life (12.32 years) was incorrectly used
instead of the mean lifetime (17.774 years) for triton, whereas the
anti_triton was incorrectly treated as stable.
Thanks to the user Francisco Ogallar Ruiz for spotting and reporting it!
## 2022-10-24 Dennis Wright (particles-V11-00-11)
- G4NuclideTableMessenger: add command /particle/manage/nuclide/min_meanlife
corresponding to G4NuclideTable::SetMeanLifeThreshold(). Default minimum
mean life is 1.0 ns.
In /particle/nuclideTable/min_halflife change default minumum halflife
to 0.693
## 2022-10-24 Dennis Wright (particles-V11-00-10)
- G4NuclideTable::entries() const :
replace static_cast<size_t>(0) with std::size_t(0)
## 2022-10-10 Dennis Wright (particles-V11-00-09)
- Use nuclide mean-life instead of half-life in G4NuclideTable in order to be
consistent with ENSDFSTATE data, which use mean-life. Provide two new
methods, SetMeanLifeThreshold and GetMeanLifeThreshold() so that the lifetimes
can be accessed as either half-life or mean-life.
## 2022-10-05 Gabriele Cosmo (particles-V11-00-08)
- Fixed compilation warning on Intel/icx compiler for variable set
but never used in G4MuonRadiativeDecayChannelWithSpin.
## 2022-09-27 Dennis Wright (particles-V11-00-07)
- Changed halflife threshold for nuclide creation to be consistent with
lifetimes in nuclear deexcitation code; in management/src/G4NuclideTable.cc
ctor, change threshold_of_halflife from 1000 ns to 1 ns
## 2022-08-08 Alberto Ribon (particles-V11-00-06)
Fixed three bugs regarding the transportation of hypernuclei and anti-hypernuclei:
- G4Ion : set (forgotten) isGeneralIon to false for hypernuclei and
anti-hypernuclei (otherwise they would get the same processes as GenericIon).
- G4DoubleHyperDoubleNeutron, G4AntiDoubleHyperDoubleNeutron : added (forgotten)
call to SetDecayTable (otherwise the decay table would not be defined for
these particles).
- G4ParticleDefinition : protect the two methods GetNumberOfLambdasInHypernucleus()
and GetNumberOfAntiLambdasInAntiHypernucleus() against baryonic resonances
with high spins (such as N(2220), N(2250) and their anti-particles) which have
8-digits PDG codes, but which are not hypernuclei or anti-hypernuclei.
## 2022-07-02 Ben Morgan (particles-V11-00-05)
- Remove obsolete and unused `G4DynamicParticleFastVector` type alias.
## 2022-05-16 Guilherme Amadio (particles-V11-00-04)
- Replace getenv() calls for data variables with G4FindDataDir()
@@ -41,7 +41,7 @@ G4AdjointAlpha* G4AdjointAlpha::Definition()
const G4String name = "adj_alpha";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4AdjointIons* anInstance = reinterpret_cast<G4AdjointIons*>(pTable->FindParticle(name));
G4AdjointIons* anInstance = static_cast<G4AdjointIons*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -69,7 +69,7 @@ G4AdjointAlpha* G4AdjointAlpha::Definition()
//No Anti particle registered
anInstance->SetAntiPDGEncoding(0);
theInstance = reinterpret_cast<G4AdjointAlpha*>(anInstance);
theInstance = static_cast<G4AdjointAlpha*>(anInstance);
return theInstance;
}
@@ -42,7 +42,7 @@ G4AdjointDeuteron* G4AdjointDeuteron::Definition()
const G4String name = "adj_deuteron";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4AdjointIons* anInstance = reinterpret_cast<G4AdjointIons*>(pTable->FindParticle(name));
G4AdjointIons* anInstance = static_cast<G4AdjointIons*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -73,7 +73,7 @@ G4AdjointDeuteron* G4AdjointDeuteron::Definition()
//No Anti particle registered
anInstance->SetAntiPDGEncoding(0);
theInstance = reinterpret_cast<G4AdjointDeuteron*>(anInstance);
theInstance = static_cast<G4AdjointDeuteron*>(anInstance);
return theInstance;
}
@@ -87,7 +87,7 @@ G4AdjointElectron* G4AdjointElectron::Definition()
anInstance->SetPDGMagneticMoment( muB * 2.* 1.0011596521859 );
}
theInstance = reinterpret_cast<G4AdjointElectron*>(anInstance);
theInstance = static_cast<G4AdjointElectron*>(anInstance);
return theInstance;
}
@@ -87,7 +87,7 @@ G4AdjointElectronFI* G4AdjointElectronFI::Definition()
anInstance->SetPDGMagneticMoment( muB * 2.* 1.0011596521859 );
}
theInstance = reinterpret_cast<G4AdjointElectronFI*>(anInstance);
theInstance = static_cast<G4AdjointElectronFI*>(anInstance);
return theInstance;
}
@@ -71,7 +71,7 @@ G4AdjointGamma* G4AdjointGamma::Definition()
false, "adj_gamma", 10000022
);
}
theInstance = reinterpret_cast<G4AdjointGamma*>(anInstance);
theInstance = static_cast<G4AdjointGamma*>(anInstance);
return theInstance;
}
@@ -39,7 +39,7 @@ G4AdjointGenericIon* G4AdjointGenericIon::Definition()
const G4String name = "adj_GenericIon";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4AdjointIons* anInstance = reinterpret_cast<G4AdjointIons*>(pTable->FindParticle(name));
G4AdjointIons* anInstance = static_cast<G4AdjointIons*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -67,7 +67,7 @@ G4AdjointGenericIon* G4AdjointGenericIon::Definition()
);
}
theInstance = reinterpret_cast<G4AdjointGenericIon*>(anInstance);
theInstance = static_cast<G4AdjointGenericIon*>(anInstance);
return theInstance;
}
+2 -2
View File
@@ -42,7 +42,7 @@ G4AdjointHe3* G4AdjointHe3::Definition()
const G4String name = "adj_He3";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4AdjointIons* anInstance = reinterpret_cast<G4AdjointIons*>(pTable->FindParticle(name));
G4AdjointIons* anInstance = static_cast<G4AdjointIons*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -73,7 +73,7 @@ G4AdjointHe3* G4AdjointHe3::Definition()
//No Anti particle registered
anInstance->SetAntiPDGEncoding(0);
theInstance = reinterpret_cast<G4AdjointHe3*>(anInstance);
theInstance = static_cast<G4AdjointHe3*>(anInstance);
return theInstance;
}
@@ -86,7 +86,7 @@ G4AdjointPositron* G4AdjointPositron::Definition()
anInstance->SetPDGMagneticMoment( muB * 2.* 1.0011596521859 );
}
theInstance = reinterpret_cast<G4AdjointPositron*>(anInstance);
theInstance = static_cast<G4AdjointPositron*>(anInstance);
return theInstance;
}
@@ -71,7 +71,7 @@ G4AdjointProton* G4AdjointProton::Definition()
G4double mN = eplus*hbar_Planck/2./(proton_mass_c2 /c_squared);
anInstance->SetPDGMagneticMoment( 2.792847351 * mN);
}
theInstance = reinterpret_cast<G4AdjointProton*>(anInstance);
theInstance = static_cast<G4AdjointProton*>(anInstance);
return theInstance;
}
@@ -41,7 +41,7 @@ G4AdjointTriton* G4AdjointTriton::Definition()
const G4String name = "adj_triton";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4AdjointIons* anInstance = reinterpret_cast<G4AdjointIons*>(pTable->FindParticle(name));
G4AdjointIons* anInstance = static_cast<G4AdjointIons*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -72,7 +72,7 @@ G4AdjointTriton* G4AdjointTriton::Definition()
//No Anti particle registered
anInstance->SetAntiPDGEncoding(0);
theInstance = reinterpret_cast<G4AdjointTriton*>(anInstance);
theInstance = static_cast<G4AdjointTriton*>(anInstance);
return theInstance;
}
@@ -73,7 +73,7 @@ G4ChargedGeantino* G4ChargedGeantino::Definition()
false, "geantino", 0
);
}
theInstance = reinterpret_cast<G4ChargedGeantino*>(anInstance);
theInstance = static_cast<G4ChargedGeantino*>(anInstance);
return theInstance;
}
+1 -1
View File
@@ -73,7 +73,7 @@ G4Gamma* G4Gamma::Definition()
false, "photon", 22
);
}
theInstance = reinterpret_cast<G4Gamma*>(anInstance);
theInstance = static_cast<G4Gamma*>(anInstance);
return theInstance;
}
+1 -1
View File
@@ -73,7 +73,7 @@ G4Geantino* G4Geantino::Definition()
false, "geantino", 0
);
}
theInstance = reinterpret_cast<G4Geantino*>(anInstance);
theInstance = static_cast<G4Geantino*>(anInstance);
return theInstance;
}
@@ -73,7 +73,7 @@ G4OpticalPhoton* G4OpticalPhoton::Definition()
false, "photon", 0
);
}
theInstance = reinterpret_cast<G4OpticalPhoton*>(anInstance);
theInstance = static_cast<G4OpticalPhoton*>(anInstance);
return theInstance;
}
+1 -1
View File
@@ -64,7 +64,7 @@ G4PhononLong* G4PhononLong::Definition()
false, "phononL", 0
);
}
theInstance = reinterpret_cast<G4PhononLong*>(anInstance);
theInstance = static_cast<G4PhononLong*>(anInstance);
return theInstance;
}
@@ -62,7 +62,7 @@ G4PhononTransFast* G4PhononTransFast::Definition()
false, "phononTF", 0
);
}
theInstance = reinterpret_cast<G4PhononTransFast*>(anInstance);
theInstance = static_cast<G4PhononTransFast*>(anInstance);
return theInstance;
}
@@ -62,7 +62,7 @@ G4PhononTransSlow* G4PhononTransSlow::Definition()
false, "phononTS", 0
);
}
theInstance = reinterpret_cast<G4PhononTransSlow*>(anInstance);
theInstance = static_cast<G4PhononTransSlow*>(anInstance);
return theInstance;
}
@@ -72,7 +72,7 @@ G4UnknownParticle* G4UnknownParticle::Definition()
false, "geantino", 0
);
}
theInstance = reinterpret_cast<G4UnknownParticle*>(anInstance);
theInstance = static_cast<G4UnknownParticle*>(anInstance);
return theInstance;
}
@@ -95,7 +95,7 @@ G4AntiLambda* G4AntiLambda::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiLambda*>(anInstance);
theInstance = static_cast<G4AntiLambda*>(anInstance);
return theInstance;
}
@@ -76,7 +76,7 @@ G4AntiLambdab* G4AntiLambdab::Definition()
false, 1.470e-3*ns, NULL,
false, "lambda_b");
}
theInstance = reinterpret_cast<G4AntiLambdab*>(anInstance);
theInstance = static_cast<G4AntiLambdab*>(anInstance);
return theInstance;
}
@@ -77,7 +77,7 @@ G4AntiLambdacPlus* G4AntiLambdacPlus::Definition()
// decay mode is not defined here, with expectation of pre-assigned.
}
theInstance = reinterpret_cast<G4AntiLambdacPlus*>(anInstance);
theInstance = static_cast<G4AntiLambdacPlus*>(anInstance);
return theInstance;
}
@@ -89,7 +89,7 @@ G4AntiNeutron* G4AntiNeutron::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiNeutron*>(anInstance);
theInstance = static_cast<G4AntiNeutron*>(anInstance);
return theInstance;
}
@@ -97,7 +97,7 @@ G4AntiOmegaMinus* G4AntiOmegaMinus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiOmegaMinus*>(anInstance);
theInstance = static_cast<G4AntiOmegaMinus*>(anInstance);
return theInstance;
}
@@ -75,7 +75,7 @@ G4AntiOmegabMinus* G4AntiOmegabMinus::Definition()
false, 1.640e-3*ns, NULL,
false, "omega_b");
}
theInstance = reinterpret_cast<G4AntiOmegabMinus*>(anInstance);
theInstance = static_cast<G4AntiOmegabMinus*>(anInstance);
return theInstance;
}
@@ -77,7 +77,7 @@ G4AntiOmegacZero* G4AntiOmegacZero::Definition()
//Decay Table is not defined here, wth expectation of pre-assigned
}
theInstance = reinterpret_cast<G4AntiOmegacZero*>(anInstance);
theInstance = static_cast<G4AntiOmegacZero*>(anInstance);
return theInstance;
}
@@ -80,7 +80,7 @@ G4AntiProton* G4AntiProton::Definition()
G4double mN = eplus*hbar_Planck/2./(proton_mass_c2 /c_squared);
anInstance->SetPDGMagneticMoment( -2.792847351 * mN);
}
theInstance = reinterpret_cast<G4AntiProton*>(anInstance);
theInstance = static_cast<G4AntiProton*>(anInstance);
return theInstance;
}
@@ -93,7 +93,7 @@ G4AntiSigmaMinus* G4AntiSigmaMinus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiSigmaMinus*>(anInstance);
theInstance = static_cast<G4AntiSigmaMinus*>(anInstance);
return theInstance;
}
@@ -95,7 +95,7 @@ G4AntiSigmaPlus* G4AntiSigmaPlus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiSigmaPlus*>(anInstance);
theInstance = static_cast<G4AntiSigmaPlus*>(anInstance);
return theInstance;
}
@@ -90,7 +90,7 @@ G4AntiSigmaZero* G4AntiSigmaZero::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiSigmaZero*>(anInstance);
theInstance = static_cast<G4AntiSigmaZero*>(anInstance);
return theInstance;
}
@@ -89,7 +89,7 @@ G4AntiSigmabMinus* G4AntiSigmabMinus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiSigmabMinus*>(anInstance);
theInstance = static_cast<G4AntiSigmabMinus*>(anInstance);
return theInstance;
}
@@ -89,7 +89,7 @@ G4AntiSigmabPlus* G4AntiSigmabPlus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiSigmabPlus*>(anInstance);
theInstance = static_cast<G4AntiSigmabPlus*>(anInstance);
return theInstance;
}
@@ -89,7 +89,7 @@ G4AntiSigmabZero* G4AntiSigmabZero::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiSigmabZero*>(anInstance);
theInstance = static_cast<G4AntiSigmabZero*>(anInstance);
return theInstance;
}
@@ -87,7 +87,7 @@ G4AntiSigmacPlus* G4AntiSigmacPlus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiSigmacPlus*>(anInstance);
theInstance = static_cast<G4AntiSigmacPlus*>(anInstance);
return theInstance;
}
@@ -87,7 +87,7 @@ G4AntiSigmacPlusPlus* G4AntiSigmacPlusPlus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiSigmacPlusPlus*>(anInstance);
theInstance = static_cast<G4AntiSigmacPlusPlus*>(anInstance);
return theInstance;
}
@@ -87,7 +87,7 @@ G4AntiSigmacZero* G4AntiSigmacZero::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiSigmacZero*>(anInstance);
theInstance = static_cast<G4AntiSigmacZero*>(anInstance);
return theInstance;
}
@@ -92,7 +92,7 @@ G4AntiXiMinus* G4AntiXiMinus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiXiMinus*>(anInstance);
theInstance = static_cast<G4AntiXiMinus*>(anInstance);
return theInstance;
}
@@ -93,7 +93,7 @@ G4AntiXiZero* G4AntiXiZero::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiXiZero*>(anInstance);
theInstance = static_cast<G4AntiXiZero*>(anInstance);
return theInstance;
}
@@ -76,7 +76,7 @@ G4AntiXibMinus* G4AntiXibMinus::Definition()
false, 1.571e-3*ns, NULL,
false, "xi_b");
}
theInstance = reinterpret_cast<G4AntiXibMinus*>(anInstance);
theInstance = static_cast<G4AntiXibMinus*>(anInstance);
return theInstance;
}
@@ -76,7 +76,7 @@ G4AntiXibZero* G4AntiXibZero::Definition()
false, 1.479e-3*ns, NULL,
false, "xi_b");
}
theInstance = reinterpret_cast<G4AntiXibZero*>(anInstance);
theInstance = static_cast<G4AntiXibZero*>(anInstance);
return theInstance;
}
@@ -75,7 +75,7 @@ G4AntiXicPlus* G4AntiXicPlus::Definition()
false, 0.442e-3*ns, NULL,
false, "xi_c");
}
theInstance = reinterpret_cast<G4AntiXicPlus*>(anInstance);
theInstance = static_cast<G4AntiXicPlus*>(anInstance);
return theInstance;
}
@@ -75,7 +75,7 @@ G4AntiXicZero* G4AntiXicZero::Definition()
false, 0.112e-3*ns, NULL,
false, "xi_c");
}
theInstance = reinterpret_cast<G4AntiXicZero*>(anInstance);
theInstance = static_cast<G4AntiXicZero*>(anInstance);
return theInstance;
}
@@ -95,7 +95,7 @@ G4Lambda* G4Lambda::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4Lambda*>(anInstance);
theInstance = static_cast<G4Lambda*>(anInstance);
return theInstance;
}
@@ -76,7 +76,7 @@ G4Lambdab* G4Lambdab::Definition()
false, 1.470e-3*ns, NULL,
false, "lambda_b");
}
theInstance = reinterpret_cast<G4Lambdab*>(anInstance);
theInstance = static_cast<G4Lambdab*>(anInstance);
return theInstance;
}
@@ -75,7 +75,7 @@ G4LambdacPlus* G4LambdacPlus::Definition()
false, 0.200e-3*ns, NULL,
false, "lambda_c");
}
theInstance = reinterpret_cast<G4LambdacPlus*>(anInstance);
theInstance = static_cast<G4LambdacPlus*>(anInstance);
return theInstance;
}
@@ -56,7 +56,7 @@ G4Neutron* G4Neutron::Definition()
const G4String name = "neutron";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
G4Ions* anInstance = static_cast<G4Ions*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -91,7 +91,7 @@ G4Neutron* G4Neutron::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4Neutron*>(anInstance);
theInstance = static_cast<G4Neutron*>(anInstance);
return theInstance;
}
@@ -97,7 +97,7 @@ G4OmegaMinus* G4OmegaMinus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4OmegaMinus*>(anInstance);
theInstance = static_cast<G4OmegaMinus*>(anInstance);
return theInstance;
}
@@ -75,7 +75,7 @@ G4OmegabMinus* G4OmegabMinus::Definition()
false, 1.640e-3*ns, NULL,
false, "omega_b");
}
theInstance = reinterpret_cast<G4OmegabMinus*>(anInstance);
theInstance = static_cast<G4OmegabMinus*>(anInstance);
return theInstance;
}
@@ -75,7 +75,7 @@ G4OmegacZero* G4OmegacZero::Definition()
false, 0.069e-3*ns, NULL,
false, "omega_c");
}
theInstance = reinterpret_cast<G4OmegacZero*>(anInstance);
theInstance = static_cast<G4OmegacZero*>(anInstance);
return theInstance;
}
@@ -51,7 +51,7 @@ G4Proton* G4Proton::Definition()
const G4String name = "proton";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
G4Ions* anInstance = static_cast<G4Ions*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -80,7 +80,7 @@ G4Proton* G4Proton::Definition()
G4double mN = eplus*hbar_Planck/2./(proton_mass_c2 /c_squared);
anInstance->SetPDGMagneticMoment( 2.792847351 * mN);
}
theInstance = reinterpret_cast<G4Proton*>(anInstance);
theInstance = static_cast<G4Proton*>(anInstance);
return theInstance;
}
@@ -93,7 +93,7 @@ G4SigmaMinus* G4SigmaMinus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4SigmaMinus*>(anInstance);
theInstance = static_cast<G4SigmaMinus*>(anInstance);
return theInstance;
}
@@ -95,7 +95,7 @@ G4SigmaPlus* G4SigmaPlus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4SigmaPlus*>(anInstance);
theInstance = static_cast<G4SigmaPlus*>(anInstance);
return theInstance;
}
@@ -89,7 +89,7 @@ G4SigmaZero* G4SigmaZero::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4SigmaZero*>(anInstance);
theInstance = static_cast<G4SigmaZero*>(anInstance);
return theInstance;
}
@@ -89,7 +89,7 @@ G4SigmabMinus* G4SigmabMinus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4SigmabMinus*>(anInstance);
theInstance = static_cast<G4SigmabMinus*>(anInstance);
return theInstance;
}
@@ -89,7 +89,7 @@ G4SigmabPlus* G4SigmabPlus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4SigmabPlus*>(anInstance);
theInstance = static_cast<G4SigmabPlus*>(anInstance);
return theInstance;
}
@@ -89,7 +89,7 @@ G4SigmabZero* G4SigmabZero::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4SigmabZero*>(anInstance);
theInstance = static_cast<G4SigmabZero*>(anInstance);
return theInstance;
}
@@ -87,7 +87,7 @@ G4SigmacPlus* G4SigmacPlus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4SigmacPlus*>(anInstance);
theInstance = static_cast<G4SigmacPlus*>(anInstance);
return theInstance;
}
@@ -87,7 +87,7 @@ G4SigmacPlusPlus* G4SigmacPlusPlus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4SigmacPlusPlus*>(anInstance);
theInstance = static_cast<G4SigmacPlusPlus*>(anInstance);
return theInstance;
}
@@ -87,7 +87,7 @@ G4SigmacZero* G4SigmacZero::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4SigmacZero*>(anInstance);
theInstance = static_cast<G4SigmacZero*>(anInstance);
return theInstance;
}
@@ -93,7 +93,7 @@ G4XiMinus* G4XiMinus::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4XiMinus*>(anInstance);
theInstance = static_cast<G4XiMinus*>(anInstance);
return theInstance;
}
@@ -93,7 +93,7 @@ G4XiZero* G4XiZero::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4XiZero*>(anInstance);
theInstance = static_cast<G4XiZero*>(anInstance);
return theInstance;
}
@@ -76,7 +76,7 @@ G4XibMinus* G4XibMinus::Definition()
false, 1.571e-3*ns, NULL,
false, "xi_b");
}
theInstance = reinterpret_cast<G4XibMinus*>(anInstance);
theInstance = static_cast<G4XibMinus*>(anInstance);
return theInstance;
}
@@ -76,7 +76,7 @@ G4XibZero* G4XibZero::Definition()
false, 1.479e-3*ns, NULL,
false, "xi_b");
}
theInstance = reinterpret_cast<G4XibZero*>(anInstance);
theInstance = static_cast<G4XibZero*>(anInstance);
return theInstance;
}
@@ -75,7 +75,7 @@ G4XicPlus* G4XicPlus::Definition()
false, 0.442e-3*ns, NULL,
false, "xi_c");
}
theInstance = reinterpret_cast<G4XicPlus*>(anInstance);
theInstance = static_cast<G4XicPlus*>(anInstance);
return theInstance;
}
@@ -75,7 +75,7 @@ G4XicZero* G4XicZero::Definition()
false, 0.112e-3*ns, NULL,
false, "xi_c");
}
theInstance = reinterpret_cast<G4XicZero*>(anInstance);
theInstance = static_cast<G4XicZero*>(anInstance);
return theInstance;
}
+2 -2
View File
@@ -51,7 +51,7 @@ G4Alpha* G4Alpha::Definition()
const G4String name = "alpha";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
G4Ions* anInstance = static_cast<G4Ions*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -76,7 +76,7 @@ G4Alpha* G4Alpha::Definition()
}
theInstance = reinterpret_cast<G4Alpha*>(anInstance);
theInstance = static_cast<G4Alpha*>(anInstance);
return theInstance;
}
@@ -51,7 +51,7 @@ G4AntiAlpha* G4AntiAlpha::Definition()
const G4String name = "anti_alpha";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
G4Ions* anInstance = static_cast<G4Ions*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -76,7 +76,7 @@ G4AntiAlpha* G4AntiAlpha::Definition()
}
theInstance = reinterpret_cast<G4AntiAlpha*>(anInstance);
theInstance = static_cast<G4AntiAlpha*>(anInstance);
return theInstance;
}
@@ -52,7 +52,7 @@ G4AntiDeuteron* G4AntiDeuteron::Definition()
const G4String name = "anti_deuteron";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
G4Ions* anInstance = static_cast<G4Ions*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -81,7 +81,7 @@ G4AntiDeuteron* G4AntiDeuteron::Definition()
}
theInstance = reinterpret_cast<G4AntiDeuteron*>(anInstance);
theInstance = static_cast<G4AntiDeuteron*>(anInstance);
return theInstance;
}
@@ -47,7 +47,7 @@ G4AntiDoubleHyperDoubleNeutron* G4AntiDoubleHyperDoubleNeutron::Definition() {
const G4String name = "anti_doublehyperdoubleneutron";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
G4Ions* anInstance = static_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
@@ -85,8 +85,10 @@ G4AntiDoubleHyperDoubleNeutron* G4AntiDoubleHyperDoubleNeutron::Definition() {
mode[2] = new G4PhaseSpaceDecayChannel( "anti_doublehyperdoubleneutron", br_lambda_to_n_piz, 5,
"anti_neutron", "anti_neutron", "anti_lambda", "anti_neutron", "pi0" );
for ( G4int index = 0; index < 3; ++index ) table->Insert( mode[index] );
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4AntiDoubleHyperDoubleNeutron* >( anInstance );
theInstance = static_cast< G4AntiDoubleHyperDoubleNeutron* >( anInstance );
return theInstance;
}
@@ -47,7 +47,7 @@ G4AntiDoubleHyperH4* G4AntiDoubleHyperH4::Definition() {
const G4String name = "anti_doublehyperH4";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
G4Ions* anInstance = static_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
@@ -90,7 +90,7 @@ G4AntiDoubleHyperH4* G4AntiDoubleHyperH4::Definition() {
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4AntiDoubleHyperH4* >( anInstance );
theInstance = static_cast< G4AntiDoubleHyperH4* >( anInstance );
return theInstance;
}
@@ -52,7 +52,7 @@ G4AntiHe3* G4AntiHe3::Definition()
const G4String name = "anti_He3";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
G4Ions* anInstance = static_cast<G4Ions*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -81,7 +81,7 @@ G4AntiHe3* G4AntiHe3::Definition()
}
theInstance = reinterpret_cast<G4AntiHe3*>(anInstance);
theInstance = static_cast<G4AntiHe3*>(anInstance);
return theInstance;
}
@@ -47,7 +47,7 @@ G4AntiHyperAlpha* G4AntiHyperAlpha::Definition() {
const G4String name = "anti_hyperalpha";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
G4Ions* anInstance = static_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
@@ -109,7 +109,7 @@ G4AntiHyperAlpha* G4AntiHyperAlpha::Definition() {
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4AntiHyperAlpha* >( anInstance );
theInstance = static_cast< G4AntiHyperAlpha* >( anInstance );
return theInstance;
}
@@ -47,7 +47,7 @@ G4AntiHyperH4* G4AntiHyperH4::Definition() {
const G4String name = "anti_hyperH4";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
G4Ions* anInstance = static_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
@@ -109,7 +109,7 @@ G4AntiHyperH4* G4AntiHyperH4::Definition() {
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4AntiHyperH4* >( anInstance );
theInstance = static_cast< G4AntiHyperH4* >( anInstance );
return theInstance;
}
@@ -47,7 +47,7 @@ G4AntiHyperHe5* G4AntiHyperHe5::Definition() {
const G4String name = "anti_hyperHe5";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
G4Ions* anInstance = static_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
@@ -107,7 +107,7 @@ G4AntiHyperHe5* G4AntiHyperHe5::Definition() {
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4AntiHyperHe5* >( anInstance );
theInstance = static_cast< G4AntiHyperHe5* >( anInstance );
return theInstance;
}
@@ -47,7 +47,7 @@ G4AntiHyperTriton* G4AntiHyperTriton::Definition() {
const G4String name = "anti_hypertriton";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
G4Ions* anInstance = static_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
@@ -90,7 +90,7 @@ G4AntiHyperTriton* G4AntiHyperTriton::Definition() {
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4AntiHyperTriton* >( anInstance );
theInstance = static_cast< G4AntiHyperTriton* >( anInstance );
return theInstance;
}
@@ -52,7 +52,7 @@ G4AntiTriton* G4AntiTriton::Definition()
const G4String name = "anti_triton";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
G4Ions* anInstance = static_cast<G4Ions*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -70,7 +70,7 @@ G4AntiTriton* G4AntiTriton::Definition()
1, +1, 0,
0, 0, 0,
"anti_nucleus", 0, -3, -1000010030,
true, -1.0, NULL,
true, 17.774*year, nullptr,
false, "static", 1000010030,
0.0, 0
);
@@ -81,7 +81,7 @@ G4AntiTriton* G4AntiTriton::Definition()
}
theInstance = reinterpret_cast<G4AntiTriton*>(anInstance);
theInstance = static_cast<G4AntiTriton*>(anInstance);
return theInstance;
}
@@ -52,7 +52,7 @@ G4Deuteron* G4Deuteron::Definition()
const G4String name = "deuteron";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
G4Ions* anInstance = static_cast<G4Ions*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -81,7 +81,7 @@ G4Deuteron* G4Deuteron::Definition()
}
theInstance = reinterpret_cast<G4Deuteron*>(anInstance);
theInstance = static_cast<G4Deuteron*>(anInstance);
return theInstance;
}
@@ -47,7 +47,7 @@ G4DoubleHyperDoubleNeutron* G4DoubleHyperDoubleNeutron::Definition() {
const G4String name = "doublehyperdoubleneutron";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
G4Ions* anInstance = static_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
@@ -85,8 +85,10 @@ G4DoubleHyperDoubleNeutron* G4DoubleHyperDoubleNeutron::Definition() {
mode[2] = new G4PhaseSpaceDecayChannel( "doublehyperdoubleneutron", br_lambda_to_n_piz, 5,
"neutron", "neutron", "lambda", "neutron", "pi0" );
for ( G4int index = 0; index < 3; ++index ) table->Insert( mode[index] );
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4DoubleHyperDoubleNeutron* >( anInstance );
theInstance = static_cast< G4DoubleHyperDoubleNeutron* >( anInstance );
return theInstance;
}
@@ -47,7 +47,7 @@ G4DoubleHyperH4* G4DoubleHyperH4::Definition() {
const G4String name = "doublehyperH4";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
G4Ions* anInstance = static_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
@@ -90,7 +90,7 @@ G4DoubleHyperH4* G4DoubleHyperH4::Definition() {
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4DoubleHyperH4* >( anInstance );
theInstance = static_cast< G4DoubleHyperH4* >( anInstance );
return theInstance;
}
@@ -51,7 +51,7 @@ G4GenericIon* G4GenericIon::Definition()
const G4String name = "GenericIon";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
G4Ions* anInstance = static_cast<G4Ions*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -79,7 +79,7 @@ G4GenericIon* G4GenericIon::Definition()
);
}
theInstance = reinterpret_cast<G4GenericIon*>(anInstance);
theInstance = static_cast<G4GenericIon*>(anInstance);
pTable->SetGenericIon(theInstance);
return theInstance;
}
+2 -2
View File
@@ -52,7 +52,7 @@ G4He3* G4He3::Definition()
const G4String name = "He3";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
G4Ions* anInstance = static_cast<G4Ions*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -81,7 +81,7 @@ G4He3* G4He3::Definition()
}
theInstance = reinterpret_cast<G4He3*>(anInstance);
theInstance = static_cast<G4He3*>(anInstance);
return theInstance;
}
@@ -47,7 +47,7 @@ G4HyperAlpha* G4HyperAlpha::Definition() {
const G4String name = "hyperalpha";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
G4Ions* anInstance = static_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
@@ -109,7 +109,7 @@ G4HyperAlpha* G4HyperAlpha::Definition() {
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4HyperAlpha* >( anInstance );
theInstance = static_cast< G4HyperAlpha* >( anInstance );
return theInstance;
}
@@ -47,7 +47,7 @@ G4HyperH4* G4HyperH4::Definition() {
const G4String name = "hyperH4";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
G4Ions* anInstance = static_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
@@ -109,7 +109,7 @@ G4HyperH4* G4HyperH4::Definition() {
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4HyperH4* >( anInstance );
theInstance = static_cast< G4HyperH4* >( anInstance );
return theInstance;
}
@@ -47,7 +47,7 @@ G4HyperHe5* G4HyperHe5::Definition() {
const G4String name = "hyperHe5";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
G4Ions* anInstance = static_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
@@ -108,7 +108,7 @@ G4HyperHe5* G4HyperHe5::Definition() {
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4HyperHe5* >( anInstance );
theInstance = static_cast< G4HyperHe5* >( anInstance );
return theInstance;
}
@@ -47,7 +47,7 @@ G4HyperTriton* G4HyperTriton::Definition() {
const G4String name = "hypertriton";
// search in particle table
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast< G4Ions* >( pTable->FindParticle( name ) );
G4Ions* anInstance = static_cast< G4Ions* >( pTable->FindParticle( name ) );
if ( anInstance == nullptr ) {
// create particle
//
@@ -90,7 +90,7 @@ G4HyperTriton* G4HyperTriton::Definition() {
delete [] mode;
anInstance->SetDecayTable( table );
}
theInstance = reinterpret_cast< G4HyperTriton* >( anInstance );
theInstance = static_cast< G4HyperTriton* >( anInstance );
return theInstance;
}
@@ -52,7 +52,7 @@ G4Triton* G4Triton::Definition()
const G4String name = "triton";
// search in particle table]
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
G4Ions* anInstance = reinterpret_cast<G4Ions*>(pTable->FindParticle(name));
G4Ions* anInstance = static_cast<G4Ions*>(pTable->FindParticle(name));
if (anInstance ==0)
{
// create particle
@@ -70,7 +70,7 @@ G4Triton* G4Triton::Definition()
1, +1, 0,
0, 0, 0,
"nucleus", 0, +3, 1000010030,
true, 12.32*year, nullptr,
true, 17.774*year, nullptr,
false, "static", -1000010030,
0.0, 0
);
@@ -81,7 +81,7 @@ G4Triton* G4Triton::Definition()
}
theInstance = reinterpret_cast<G4Triton*>(anInstance);
theInstance = static_cast<G4Triton*>(anInstance);
return theInstance;
}
@@ -71,7 +71,7 @@ G4AntiBMesonZero* G4AntiBMesonZero::Definition()
false, 1.520e-3*ns, NULL,
false, "B");
}
theInstance = reinterpret_cast<G4AntiBMesonZero*>(anInstance);
theInstance = static_cast<G4AntiBMesonZero*>(anInstance);
return theInstance;
}
@@ -71,7 +71,7 @@ G4AntiBsMesonZero* G4AntiBsMesonZero::Definition()
false, 1.505e-3*ns, NULL,
false, "Bs");
}
theInstance = reinterpret_cast<G4AntiBsMesonZero*>(anInstance);
theInstance = static_cast<G4AntiBsMesonZero*>(anInstance);
return theInstance;
}
@@ -71,7 +71,7 @@ G4AntiDMesonZero* G4AntiDMesonZero::Definition()
false, 0.4101e-3*ns, NULL,
false, "D");
}
theInstance = reinterpret_cast<G4AntiDMesonZero*>(anInstance);
theInstance = static_cast<G4AntiDMesonZero*>(anInstance);
return theInstance;
}
@@ -90,7 +90,7 @@ G4AntiKaonZero* G4AntiKaonZero::Definition()
anInstance->SetDecayTable(table);
}
theInstance = reinterpret_cast<G4AntiKaonZero*>(anInstance);
theInstance = static_cast<G4AntiKaonZero*>(anInstance);
return theInstance;
}
@@ -71,7 +71,7 @@ G4BMesonMinus* G4BMesonMinus::Definition()
false, 1.638e-3*ns, NULL,
false, "B");
}
theInstance = reinterpret_cast<G4BMesonMinus*>(anInstance);
theInstance = static_cast<G4BMesonMinus*>(anInstance);
return theInstance;
}
@@ -71,7 +71,7 @@ G4BMesonPlus* G4BMesonPlus::Definition()
false, 1.638e-3*ns, NULL,
false, "B");
}
theInstance = reinterpret_cast<G4BMesonPlus*>(anInstance);
theInstance = static_cast<G4BMesonPlus*>(anInstance);
return theInstance;
}
@@ -71,7 +71,7 @@ G4BMesonZero* G4BMesonZero::Definition()
false, 1.520e-3*ns, NULL,
false, "B");
}
theInstance = reinterpret_cast<G4BMesonZero*>(anInstance);
theInstance = static_cast<G4BMesonZero*>(anInstance);
return theInstance;
}
@@ -70,7 +70,7 @@ G4BcMesonMinus* G4BcMesonMinus::Definition()
false, 0.507e-3*ns, NULL,
false, "Bc");
}
theInstance = reinterpret_cast<G4BcMesonMinus*>(anInstance);
theInstance = static_cast<G4BcMesonMinus*>(anInstance);
return theInstance;
}
@@ -70,7 +70,7 @@ G4BcMesonPlus* G4BcMesonPlus::Definition()
false, 0.507e-3*ns, NULL,
false, "Bc");
}
theInstance = reinterpret_cast<G4BcMesonPlus*>(anInstance);
theInstance = static_cast<G4BcMesonPlus*>(anInstance);
return theInstance;
}
@@ -70,7 +70,7 @@ G4BsMesonZero* G4BsMesonZero::Definition()
false, 1.505e-3*ns, NULL,
false, "Bs");
}
theInstance = reinterpret_cast<G4BsMesonZero*>(anInstance);
theInstance = static_cast<G4BsMesonZero*>(anInstance);
return theInstance;
}
@@ -72,7 +72,7 @@ G4DMesonMinus* G4DMesonMinus::Definition()
false, 1.040e-3*ns, NULL,
false, "D");
}
theInstance = reinterpret_cast<G4DMesonMinus*>(anInstance);
theInstance = static_cast<G4DMesonMinus*>(anInstance);
return theInstance;
}
@@ -72,7 +72,7 @@ G4DMesonPlus* G4DMesonPlus::Definition()
false, 1.040e-3*ns, NULL,
false, "D");
}
theInstance = reinterpret_cast<G4DMesonPlus*>(anInstance);
theInstance = static_cast<G4DMesonPlus*>(anInstance);
return theInstance;
}
@@ -71,7 +71,7 @@ G4DMesonZero* G4DMesonZero::Definition()
false, "D"
);
}
theInstance = reinterpret_cast<G4DMesonZero*>(anInstance);
theInstance = static_cast<G4DMesonZero*>(anInstance);
return theInstance;
}
@@ -72,7 +72,7 @@ G4DsMesonMinus* G4DsMesonMinus::Definition()
false, "Ds"
);
}
theInstance = reinterpret_cast<G4DsMesonMinus*>(anInstance);
theInstance = static_cast<G4DsMesonMinus*>(anInstance);
return theInstance;
}

Some files were not shown because too many files have changed in this diff Show More