Geant4
10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VUserActionInitialization.cc
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
#include "
G4VUserActionInitialization.hh
"
27
#include "
G4RunManager.hh
"
28
29
G4VUserActionInitialization::G4VUserActionInitialization
() { ; }
30
31
G4VUserActionInitialization::~G4VUserActionInitialization
() { ; }
32
33
void
G4VUserActionInitialization::BuildForMaster
()
const
{ ; }
34
35
void
G4VUserActionInitialization::SetUserAction
(
36
G4VUserPrimaryGeneratorAction
* action)
const
37
{
38
G4RunManager::GetRunManager
()->
SetUserAction
(action);
39
}
40
41
void
G4VUserActionInitialization::SetUserAction
(
G4UserRunAction
* action)
const
42
{
43
G4RunManager::GetRunManager
()->
SetUserAction
(action);
44
}
45
46
void
G4VUserActionInitialization::SetUserAction
(
G4UserEventAction
* action)
const
47
{
48
G4RunManager::GetRunManager
()->
SetUserAction
(action);
49
}
50
51
void
G4VUserActionInitialization::SetUserAction
(
52
G4UserStackingAction
* action)
const
53
{
54
G4RunManager::GetRunManager
()->
SetUserAction
(action);
55
}
56
57
void
G4VUserActionInitialization::SetUserAction
(
58
G4UserTrackingAction
* action)
const
59
{
60
G4RunManager::GetRunManager
()->
SetUserAction
(action);
61
}
62
63
void
G4VUserActionInitialization::SetUserAction
(
64
G4UserSteppingAction
* action)
const
65
{
66
G4RunManager::GetRunManager
()->
SetUserAction
(action);
67
}
68
69
G4VSteppingVerbose
*
G4VUserActionInitialization::InitializeSteppingVerbose
()
70
const
71
{
72
return
static_cast<
G4VSteppingVerbose
*
>
(0);
73
}
G4RunManager.hh
G4VUserActionInitialization.hh
G4RunManager::GetRunManager
static G4RunManager * GetRunManager()
Definition:
G4RunManager.cc:84
G4RunManager::SetUserAction
virtual void SetUserAction(G4UserRunAction *userAction)
Definition:
G4RunManager.cc:1118
G4UserEventAction
Definition:
G4UserEventAction.hh:49
G4UserRunAction
Definition:
G4UserRunAction.hh:52
G4UserStackingAction
Definition:
G4UserStackingAction.hh:45
G4UserSteppingAction
Definition:
G4UserSteppingAction.hh:45
G4UserTrackingAction
Definition:
G4UserTrackingAction.hh:45
G4VSteppingVerbose
Definition:
G4VSteppingVerbose.hh:63
G4VUserActionInitialization::BuildForMaster
virtual void BuildForMaster() const
Definition:
G4VUserActionInitialization.cc:33
G4VUserActionInitialization::SetUserAction
void SetUserAction(G4VUserPrimaryGeneratorAction *) const
Definition:
G4VUserActionInitialization.cc:35
G4VUserActionInitialization::G4VUserActionInitialization
G4VUserActionInitialization()
Definition:
G4VUserActionInitialization.cc:29
G4VUserActionInitialization::~G4VUserActionInitialization
virtual ~G4VUserActionInitialization()
Definition:
G4VUserActionInitialization.cc:31
G4VUserActionInitialization::InitializeSteppingVerbose
virtual G4VSteppingVerbose * InitializeSteppingVerbose() const
Definition:
G4VUserActionInitialization.cc:69
G4VUserPrimaryGeneratorAction
Definition:
G4VUserPrimaryGeneratorAction.hh:49
geant4-v10.7.0
source
run
src
G4VUserActionInitialization.cc
Generated by
1.9.6