Import Geant4 11.4.1 source tree

This commit is contained in:
Gabriele Cosmo
2026-03-19 16:51:22 +01:00
parent b4a16de652
commit 41f2dd7996
352 changed files with 26342 additions and 24532 deletions
+8 -7
View File
@@ -211,6 +211,7 @@ G4Cache<V>::G4Cache()
{
G4AutoLock l(G4TypeMutex<G4Cache<V>>());
id = instancesctr++;
theCache.Initialize(id);
#ifdef g4cdebug
std::cout << "G4Cache id: " << id << std::endl;
#endif
@@ -290,15 +291,15 @@ G4Cache<V>::~G4Cache()
} catch(std::system_error& e)
{
// the error that comes from locking an unavailable mutex
#ifdef G4VERBOSE
G4cout << "Non-critical error: mutex lock failure in ~G4Cache<"
<< typeid(V).name() << ">. " << G4endl
#ifdef g4cdebug
std::cout << "Non-critical error: mutex lock failure in ~G4Cache<"
<< typeid(V).name() << ">. " << std::endl
<< "If the RunManagerKernel has been deleted, it failed to "
<< "delete an allocated resource" << G4endl
<< "delete an allocated resource" << std::endl
<< "and this destructor is being called after the statics "
<< "were destroyed." << G4endl;
G4cout << "Exception: [code: " << e.code() << "] caught: " << e.what()
<< G4endl;
<< "were destroyed." << std::endl;
std::cout << "Exception: [code: " << e.code() << "] caught: " << e.what()
<< std::endl;
#endif
}
++dstrctr;
@@ -43,7 +43,7 @@
/// |--> patch number (single digit)
///
#ifndef G4VERSION_NUMBER
#define G4VERSION_NUMBER 1140
#define G4VERSION_NUMBER 1141
#endif
/// @def G4VERSION_REFERENCE_TAG
@@ -59,7 +59,7 @@
#endif
#ifndef G4VERSION_TAG
#define G4VERSION_TAG "$Name: geant4-11-04 $"
#define G4VERSION_TAG "$Name: geant4-11-04-patch-01 $"
#endif
// as variables
@@ -68,10 +68,10 @@
#include "G4Types.hh"
#ifdef G4MULTITHREADED
static const G4String G4Version = "$Name: geant4-11-04 [MT]$";
static const G4String G4Version = "$Name: geant4-11-04-patch-01 [MT]$";
#else
static const G4String G4Version = "$Name: geant4-11-04 $";
static const G4String G4Version = "$Name: geant4-11-04-patch-01 $";
#endif
static const G4String G4Date = "(5-December-2025)";
static const G4String G4Date = "(13-March-2026)";
#endif