Import Geant4 11.2.0.beta source tree
This commit is contained in:
@@ -66,33 +66,33 @@
|
||||
|
||||
class G4UserTaskInitialization : public G4UserWorkerInitialization
|
||||
{
|
||||
public: // with description
|
||||
G4UserTaskInitialization();
|
||||
virtual ~G4UserTaskInitialization();
|
||||
public: // with description
|
||||
G4UserTaskInitialization() = default;
|
||||
~G4UserTaskInitialization() override = default;
|
||||
|
||||
virtual void WorkerInitialize() const;
|
||||
// This method is called after the tread is created but before the
|
||||
// G4WorkerTaskRunManager is instantiated.
|
||||
// This method is called after the tread is created but before the
|
||||
// G4WorkerTaskRunManager is instantiated.
|
||||
void WorkerInitialize() const override {}
|
||||
|
||||
virtual void WorkerStart() const;
|
||||
// This method is called once at the beginning of simulation job
|
||||
// when kernel classes and user action classes have already instantiated
|
||||
// but geometry and physics have not been yet initialized. This situation
|
||||
// is identical to "PreInit" state in the sequential mode.
|
||||
// This method is called once at the beginning of simulation job
|
||||
// when kernel classes and user action classes have already instantiated
|
||||
// but geometry and physics have not been yet initialized. This situation
|
||||
// is identical to "PreInit" state in the sequential mode.
|
||||
void WorkerStart() const override {}
|
||||
|
||||
virtual void WorkerRunStart() const;
|
||||
// This method is called before an event loop. Geometry and physics have
|
||||
// already been set up for the thread. All threads are synchronized and
|
||||
// ready to start the local event loop. This situation is identical to
|
||||
// "Idle" state in the sequential mode.
|
||||
// This method is called before an event loop. Geometry and physics have
|
||||
// already been set up for the thread. All threads are synchronized and
|
||||
// ready to start the local event loop. This situation is identical to
|
||||
// "Idle" state in the sequential mode.
|
||||
void WorkerRunStart() const override {}
|
||||
|
||||
virtual void WorkerRunEnd() const;
|
||||
// This method is called for each thread, when the local event loop has
|
||||
// finished but before the synchronization over threads.
|
||||
// This method is called for each thread, when the local event loop has
|
||||
// finished but before the synchronization over threads.
|
||||
void WorkerRunEnd() const override {}
|
||||
|
||||
virtual void WorkerStop() const;
|
||||
// This method is called once at the end of simulation job.
|
||||
// Implement here a clean up action.
|
||||
// This method is called once at the end of simulation job.
|
||||
// Implement here a clean up action.
|
||||
void WorkerStop() const override {}
|
||||
};
|
||||
|
||||
#endif // G4UserTaskInitialization_hh
|
||||
|
||||
Reference in New Issue
Block a user