Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
+22
View File
@@ -131,12 +131,20 @@ class G4PrimaryTransformer;
#include "G4Event.hh"
#include "G4EventManager.hh"
#include "G4RunManagerKernel.hh"
#include "G4Profiler.hh"
#include "globals.hh"
#include <algorithm>
#include <list>
class G4RunManagerFactory;
class G4RunManager
{
friend class G4RunManagerFactory;
public:
// the profiler aliases are only used when compiled with GEANT4_USE_TIMEMORY
using ProfilerConfig = G4ProfilerConfig<G4ProfileType::Run>;
public: // with description
static G4RunManager* GetRunManager();
// Static method which returns the singleton pointer of G4RunManager or
@@ -265,6 +273,17 @@ class G4RunManager
// G4VPersistentManager
// class is defined.
virtual void ConfigureProfilers(const std::vector<std::string>& args = {});
// This method configures the global fallback query and label generators
void ConfigureProfilers(int argc, char** argv);
// calls the above virtual method
virtual void SetNumberOfThreads(G4int) {}
virtual G4int GetNumberOfThreads() const { return 1; }
// Dummy methods to dispatch generic inheritance calls from G4RunManager
// base class.
public: // with description
//////////////////////////////////////////////////////void UpdateRegion();
// Update region list.
@@ -690,6 +709,9 @@ class G4RunManager
{
geometryDirectlyUpdated = val;
}
private:
std::unique_ptr<ProfilerConfig> masterRunProfiler;
};
#endif