Import Geant4 11.1.0 source tree
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user