ATLAS Offline Software
Loading...
Searching...
No Matches
G4AtlasRunManager.cxx File Reference
#include "G4AtlasAlg/G4AtlasRunManager.h"
#include "G4GeometryManager.hh"
#include "G4LogicalVolumeStore.hh"
#include "G4ParallelWorldScoringProcess.hh"
#include "G4RegionStore.hh"
#include "G4Run.hh"
#include "G4ScoringManager.hh"
#include "G4StateManager.hh"
#include "G4TransportationManager.hh"
#include "G4UImanager.hh"
#include "G4UserRunAction.hh"
#include "G4Version.hh"
#include <string>

Go to the source code of this file.

Functions

G4AtlasRunManager *G4AtlasRunManager::GetG4AtlasRunManager ATLAS_NOT_THREAD_SAFE ()
 Install fatal handler with default options.

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

G4AtlasRunManager *G4AtlasRunManager::GetG4AtlasRunManager ATLAS_NOT_THREAD_SAFE ( )
inline

Install fatal handler with default options.

This is meant to be easy to call from python via ctypes.

Definition at line 31 of file G4AtlasRunManager.cxx.

32{
33 static G4AtlasRunManager *thisManager = nullptr;
34 if (!thisManager) { thisManager = new G4AtlasRunManager; } // Leaked
35 return thisManager;
36}
ATLAS custom singleton run manager.