Import Geant4 11.2.0.beta source tree
This commit is contained in:
@@ -33,17 +33,17 @@
|
||||
// ### ADJOINT He3 ###
|
||||
// ######################################################################
|
||||
|
||||
G4AdjointHe3* G4AdjointHe3::theInstance = 0;
|
||||
G4AdjointHe3* G4AdjointHe3::theInstance = nullptr;
|
||||
|
||||
G4AdjointHe3* G4AdjointHe3::Definition()
|
||||
{
|
||||
|
||||
if (theInstance !=0) return theInstance;
|
||||
if (theInstance !=nullptr) return theInstance;
|
||||
const G4String name = "adj_He3";
|
||||
// search in particle table]
|
||||
G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
|
||||
G4AdjointIons* anInstance = static_cast<G4AdjointIons*>(pTable->FindParticle(name));
|
||||
if (anInstance ==0)
|
||||
auto anInstance = static_cast<G4AdjointIons*>(pTable->FindParticle(name));
|
||||
if (anInstance ==nullptr)
|
||||
{
|
||||
// create particle
|
||||
//
|
||||
@@ -60,7 +60,7 @@ G4AdjointHe3* G4AdjointHe3::Definition()
|
||||
1, +1, 0,
|
||||
0, 0, 0,
|
||||
"adjoint_nucleus", 0, +3, 1000020030,
|
||||
true, -1.0, NULL,
|
||||
true, -1.0, nullptr,
|
||||
false, "static", 0,
|
||||
0.0
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user