19#include <TVirtualMCApplication.h>
21#include <G4AutoLock.hh>
22#include <G4Threading.hh>
29G4Mutex finishRunMutex = G4MUTEX_INITIALIZER;
33G4Mutex stopWorkerMutex = G4MUTEX_INITIALIZER;
63 TVirtualMCApplication::Instance()->BeginRunOnWorker();
77 G4AutoLock lm(&finishRunMutex);
78 TVirtualMCApplication::Instance()->FinishRunOnWorker();
95 G4AutoLock lm(&stopWorkerMutex);
96 delete TVirtualMCApplication::Instance();
Definition of the TG4RunManager.h class.
Definition of the TG4WorkerInitialization class.
static TG4RunManager * Instance()
virtual void WorkerStop() const
TG4WorkerInitialization()
virtual ~TG4WorkerInitialization()
virtual void WorkerRunEnd() const
virtual void WorkerRunStart() const