Import Geant4 10.6.0.beta source tree
This commit is contained in:
@@ -25,12 +25,13 @@
|
||||
//
|
||||
//
|
||||
// 23-Jan-2009 V.Ivanchenko make the class to be a singleton
|
||||
// 17-Aug-2012 V.Ivanchenko added hadronic model factories
|
||||
// 17-Aug-2012 V.Ivanchenko added methods
|
||||
|
||||
#include "G4HadronicInteractionRegistry.hh"
|
||||
#include "G4HadronicInteraction.hh"
|
||||
|
||||
G4ThreadLocal G4HadronicInteractionRegistry* G4HadronicInteractionRegistry::instance = nullptr;
|
||||
G4ThreadLocal G4HadronicInteractionRegistry*
|
||||
G4HadronicInteractionRegistry::instance = nullptr;
|
||||
|
||||
G4HadronicInteractionRegistry* G4HadronicInteractionRegistry::Instance()
|
||||
{
|
||||
@@ -42,10 +43,7 @@ G4HadronicInteractionRegistry* G4HadronicInteractionRegistry::Instance()
|
||||
}
|
||||
|
||||
G4HadronicInteractionRegistry::G4HadronicInteractionRegistry()
|
||||
: isInitialized(false)
|
||||
{
|
||||
//G4cout << "G4HadronicInteractionRegistry " << this << G4endl;
|
||||
}
|
||||
{}
|
||||
|
||||
G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry()
|
||||
{
|
||||
|
||||
@@ -50,14 +50,14 @@ const G4V3DNucleus & G4V3DNucleus::operator=(const G4V3DNucleus &)
|
||||
}
|
||||
|
||||
|
||||
int G4V3DNucleus::operator==(const G4V3DNucleus &) const
|
||||
G4bool G4V3DNucleus::operator==(const G4V3DNucleus &) const
|
||||
{
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
int G4V3DNucleus::operator!=(const G4V3DNucleus &) const
|
||||
G4bool G4V3DNucleus::operator!=(const G4V3DNucleus &) const
|
||||
{
|
||||
return 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -45,12 +45,12 @@ G4VKineticNucleon::~G4VKineticNucleon()
|
||||
//{}
|
||||
|
||||
|
||||
int G4VKineticNucleon::operator==(const G4VKineticNucleon &right) const
|
||||
G4bool G4VKineticNucleon::operator==(const G4VKineticNucleon &right) const
|
||||
{
|
||||
return this == &right;
|
||||
}
|
||||
|
||||
int G4VKineticNucleon::operator!=(const G4VKineticNucleon &right) const
|
||||
G4bool G4VKineticNucleon::operator!=(const G4VKineticNucleon &right) const
|
||||
{
|
||||
return this != &right;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user