Geant4
11.2.2
Toolkit for the simulation of the passage of particles through matter
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
n
o
p
q
r
s
t
u
w
z
Variables
c
d
e
g
h
i
k
l
m
n
o
p
q
s
t
v
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
w
Enumerations
a
b
c
d
e
f
g
l
m
p
r
s
t
v
y
z
Enumerator
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
c
d
e
f
g
k
l
m
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Symbols
:
a
b
c
d
g
h
i
o
q
r
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Enumerations
b
c
d
e
f
g
i
j
l
m
n
p
s
t
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
▼
Geant4
Deprecated List
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
geant4-v11.2.2
▼
source
►
analysis
►
digits_hits
►
error_propagation
►
event
►
externals
►
g3tog4
►
geometry
►
global
►
graphics_reps
►
intercoms
►
interfaces
►
materials
►
parameterisations
►
particles
►
persistency
►
physics_lists
▼
processes
►
biasing
►
cuts
►
decay
▼
electromagnetic
►
adjoint
▼
dna
▼
management
►
include
▼
src
G4AllITFinder.cc
►
G4DNABoundingBox.cc
►
G4IT.cc
G4ITBox.cc
G4ITGun.cc
G4ITLeadingTracks.cc
G4ITModelHandler.cc
G4ITModelManager.cc
G4ITModelProcessor.cc
►
G4ITMultiNavigator.cc
►
G4ITNavigator1.cc
►
G4ITNavigator2.cc
G4ITNavigatorState2.cc
►
G4ITPathFinder.cc
►
G4ITReaction.cc
G4ITReactionChange.cc
G4ITReactionTable.cc
G4ITSafetyHelper.cc
►
G4ITSteppingVerbose.cc
►
G4ITStepProcessor.cc
G4ITStepProcessor2.cc
►
G4ITTrackHolder.cc
G4ITTrackingInteractivity.cc
G4ITTrackingManager.cc
►
G4ITTransportation.cc
G4ITTransportationManager.cc
►
G4ITType.cc
►
G4KDMap.cc
►
G4KDNode.cc
G4KDTree.cc
►
G4KDTreeResult.cc
►
G4MemStat.cc
►
G4Scheduler.cc
G4SchedulerMessenger.cc
G4TrackingInformation.cc
G4TrackList.cc
G4TrackState.cc
G4UserTimeStepAction.cc
G4VITDiscreteProcess.cc
G4VITProcess.cc
G4VITReactionProcess.cc
G4VITRestDiscreteProcess.cc
G4VITRestProcess.cc
G4VITStepModel.cc
G4VITSteppingVerbose.cc
G4VITTimeStepComputer.cc
G4VITTrackHolder.cc
G4VScheduler.cc
G4VUserPulseInfo.cc
►
models
►
molecules
►
processes
►
utils
►
highenergy
►
lowenergy
►
muons
►
pii
►
polarisation
►
standard
►
utils
►
xrays
►
hadronic
►
management
►
optical
►
parameterisation
►
scoring
►
solidstate
►
transportation
►
readout
►
run
►
track
►
tracking
►
visualization
►
File Members
►
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
G4VITStepModel.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
//
27
// Author: Mathieu Karamitros (kara (AT) cenbg . in2p3 . fr)
28
//
29
// History:
30
// -----------
31
// 10 Oct 2011 M.Karamitros created
32
//
33
// -------------------------------------------------------------------
34
35
#include "
G4VITStepModel.hh
"
36
37
G4VITStepModel::G4VITStepModel
(
const
G4String
& aName)
38
:
G4VITStepModel
(nullptr, nullptr, aName)
39
{
40
}
37
G4VITStepModel::G4VITStepModel
(
const
G4String
& aName) {
…
}
41
42
G4VITStepModel::G4VITStepModel
(std::unique_ptr<G4VITTimeStepComputer> pTimeStepper,
43
std::unique_ptr<G4VITReactionProcess> pReactionProcess,
44
const
G4String
& aName)
45
: fName(aName)
46
, fpTimeStepper(
std
::move(pTimeStepper))
47
, fpReactionProcess(
std
::move(pReactionProcess))
48
, fpReactionTable(nullptr)
49
, fType1(-1)
50
, fType2(-1)
51
{
52
}
42
G4VITStepModel::G4VITStepModel
(std::unique_ptr<G4VITTimeStepComputer> pTimeStepper, {
…
}
53
54
void
G4VITStepModel::GetApplicable
(
G4ITType
& type1,
G4ITType
& type2)
55
{
56
type1 =
fType1
;
57
type2 =
fType2
;
58
PrintInfo
();
59
}
54
void
G4VITStepModel::GetApplicable
(
G4ITType
& type1,
G4ITType
& type2) {
…
}
60
61
void
G4VITStepModel::Initialize
()
62
{
63
fpReactionProcess
->SetReactionTable(
fpReactionTable
);
64
fpTimeStepper
->SetReactionTable(
fpReactionTable
);
65
fpTimeStepper
->Initialize();
66
fpReactionProcess
->Initialize();
67
}
61
void
G4VITStepModel::Initialize
() {
…
}
68
69
void
G4VITStepModel::PrepareNewTimeStep
()
70
{
71
fpTimeStepper
->Prepare();
72
}
69
void
G4VITStepModel::PrepareNewTimeStep
() {
…
}
73
74
void
G4VITStepModel::SetReactionTable
(
G4ITReactionTable
* pReactionTable)
75
{
76
fpReactionTable
= pReactionTable;
77
}
74
void
G4VITStepModel::SetReactionTable
(
G4ITReactionTable
* pReactionTable) {
…
}
78
79
const
G4ITReactionTable
*
G4VITStepModel::GetReactionTable
()
80
{
81
return
fpReactionTable
;
82
}
79
const
G4ITReactionTable
*
G4VITStepModel::GetReactionTable
() {
…
}
83
84
G4VITTimeStepComputer
*
G4VITStepModel::GetTimeStepper
()
85
{
86
return
fpTimeStepper
.get();
87
}
84
G4VITTimeStepComputer
*
G4VITStepModel::GetTimeStepper
() {
…
}
88
89
G4VITReactionProcess
*
G4VITStepModel::GetReactionProcess
()
90
{
91
return
fpReactionProcess
.get();
92
}
89
G4VITReactionProcess
*
G4VITStepModel::GetReactionProcess
() {
…
}
93
94
const
G4String
&
G4VITStepModel::GetName
()
95
{
96
return
fName
;
97
}
94
const
G4String
&
G4VITStepModel::GetName
() {
…
}
G4VITStepModel.hh
G4ITReactionTable
Definition
G4ITReactionTable.hh:54
G4String
Definition
G4String.hh:62
G4VITReactionProcess
Definition
G4VITReactionProcess.hh:65
G4VITStepModel
Definition
G4VITStepModel.hh:62
G4VITStepModel::PrepareNewTimeStep
void PrepareNewTimeStep()
Definition
G4VITStepModel.cc:69
G4VITStepModel::fType2
G4ITType fType2
Definition
G4VITStepModel.hh:95
G4VITStepModel::fpReactionTable
const G4ITReactionTable * fpReactionTable
Definition
G4VITStepModel.hh:92
G4VITStepModel::GetApplicable
void GetApplicable(G4ITType &type1, G4ITType &type2)
Definition
G4VITStepModel.cc:54
G4VITStepModel::GetTimeStepper
G4VITTimeStepComputer * GetTimeStepper()
Definition
G4VITStepModel.cc:84
G4VITStepModel::fName
G4String fName
Definition
G4VITStepModel.hh:88
G4VITStepModel::fType1
G4ITType fType1
Definition
G4VITStepModel.hh:94
G4VITStepModel::SetReactionTable
void SetReactionTable(G4ITReactionTable *)
Definition
G4VITStepModel.cc:74
G4VITStepModel::PrintInfo
virtual void PrintInfo()
Definition
G4VITStepModel.hh:78
G4VITStepModel::GetReactionProcess
G4VITReactionProcess * GetReactionProcess()
Definition
G4VITStepModel.cc:89
G4VITStepModel::fpTimeStepper
std::unique_ptr< G4VITTimeStepComputer > fpTimeStepper
Definition
G4VITStepModel.hh:90
G4VITStepModel::GetName
const G4String & GetName()
Definition
G4VITStepModel.cc:94
G4VITStepModel::Initialize
virtual void Initialize()
Definition
G4VITStepModel.cc:61
G4VITStepModel::GetReactionTable
const G4ITReactionTable * GetReactionTable()
Definition
G4VITStepModel.cc:79
G4VITStepModel::fpReactionProcess
std::unique_ptr< G4VITReactionProcess > fpReactionProcess
Definition
G4VITStepModel.hh:91
G4VITStepModel::G4VITStepModel
G4VITStepModel(const G4String &aName="NoName")
Definition
G4VITStepModel.cc:37
G4VITTimeStepComputer
Definition
G4VITTimeStepComputer.hh:70
std
Definition
G4VVtkPipeline.hh:39
G4ITType
Definition
G4ITType.hh:60
geant4-v11.2.2
source
processes
electromagnetic
dna
management
src
G4VITStepModel.cc
Generated by
1.12.0