Geant4
11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4WorkerRunManagerKernel.hh
Go to the documentation of this file.
1
//
2
// ********************************************************************
3
// * License and Disclaimer *
4
// * *
5
// * The Geant4 software is copyright of the Copyright Holders of *
6
// * the Geant4 Collaboration. It is provided under the terms and *
7
// * conditions of the Geant4 Software License, included in the file *
8
// * LICENSE and available at http://cern.ch/geant4/license . These *
9
// * include a list of copyright holders. *
10
// * *
11
// * Neither the authors of this software system, nor their employing *
12
// * institutes,nor the agencies providing financial support for this *
13
// * work make any representation or warranty, express or implied, *
14
// * regarding this software system or assume any liability for its *
15
// * use. Please see the license in the file LICENSE and URL above *
16
// * for the full disclaimer and the limitation of liability. *
17
// * *
18
// * This code implementation is the result of the scientific and *
19
// * technical work of the GEANT4 collaboration. *
20
// * By using, copying, modifying or distributing the software (or *
21
// * any work based on the software) you agree to acknowledge its *
22
// * use in resulting scientific publications, and indicate your *
23
// * acceptance of all terms of the Geant4 Software license. *
24
// ********************************************************************
25
//
26
// G4WorkerRunManagerKernel
27
//
28
// Class description:
29
//
30
// This is a class for mandatory control of the Geant4 kernel.
31
// Implements Worker behavior in a MT application.
32
// This class is constructed by G4WorkerRunManager. If a user uses his/her
33
// own class instead of G4WorkerRunManager, this class must be instantiated
34
// at the very beginning of the application and must be deleted at the very
35
// end. Also, following methods must be invoked in the proper order:
36
// DefineWorldVolume()
37
// InitializePhysics()
38
// RunInitialization()
39
// RunTermination()
40
//
41
// User must provide his/her own classes derived from the following
42
// abstract class and register it to the RunManagerKernel:
43
// G4VUserPhysicsList - Particle types, Processes and Cuts
44
//
45
// G4WorkerRunManagerKernel does not have any event loop. Handling of events
46
// is managed by G4RunManager.
47
//
48
// This class re-implements only the method that require special treatment
49
// to implement worker behavior
50
51
// Authors: M.Asai, A.Dotti (SLAC), 2013
52
// --------------------------------------------------------------------
53
#ifndef G4WorkerRunManagerKernel_hh
54
#define G4WorkerRunManagerKernel_hh 1
55
56
#include "
G4RunManagerKernel.hh
"
57
58
class
G4WorkerRunManagerKernel
:
public
G4RunManagerKernel
59
{
60
public
:
61
G4WorkerRunManagerKernel
();
62
~G4WorkerRunManagerKernel
()
override
;
63
64
protected
:
65
// Overwrite default behavior.
66
void
SetupShadowProcess
()
const override
;
67
};
68
69
#endif
G4RunManagerKernel.hh
G4RunManagerKernel
Definition
G4RunManagerKernel.hh:65
G4WorkerRunManagerKernel
Definition
G4WorkerRunManagerKernel.hh:59
G4WorkerRunManagerKernel::G4WorkerRunManagerKernel
G4WorkerRunManagerKernel()
Definition
G4WorkerRunManagerKernel.cc:36
G4WorkerRunManagerKernel::~G4WorkerRunManagerKernel
~G4WorkerRunManagerKernel() override
Definition
G4WorkerRunManagerKernel.cc:51
G4WorkerRunManagerKernel::SetupShadowProcess
void SetupShadowProcess() const override
Definition
G4WorkerRunManagerKernel.cc:57
geant4-v11.2.2
source
run
include
G4WorkerRunManagerKernel.hh
Generated by
1.12.0