Import Geant4 10.4.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2017-06-30 10:49:55 +02:00
parent 3a5407696b
commit 1a1316fea4
2180 changed files with 237880 additions and 59109 deletions
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4FieldManagerStore.cc 69589 2013-05-08 14:35:28Z gcosmo $
// $Id: G4FieldManagerStore.cc 103228 2017-03-22 14:52:32Z gcosmo $
//
// G4FieldManagerStore
//
@@ -63,7 +63,7 @@ G4FieldManagerStore::G4FieldManagerStore()
G4FieldManagerStore::~G4FieldManagerStore()
{
Clean();
if (fgInstance) { delete fgInstance; fgInstance=0; }
fgInstance = 0;
}
// ***************************************************************************
@@ -138,6 +138,15 @@ G4FieldManagerStore* G4FieldManagerStore::GetInstance()
return fgInstance;
}
// ***************************************************************************
// Return ptr to Store
// ***************************************************************************
//
G4FieldManagerStore* G4FieldManagerStore::GetInstanceIfExist()
{
return fgInstance;
}
// ***************************************************************************
// Globally reset the state
// ***************************************************************************