Geant4-11
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace 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
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
h
i
m
n
p
r
s
t
w
y
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
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
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
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
g
i
l
m
n
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 Functions
:
a
b
c
d
g
h
i
o
q
r
s
t
Files
File List
Globals
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
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
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
r
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
r
s
t
u
v
w
x
y
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
source
physics_lists
lists
src
G4PhysListFactoryAlt.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
//---------------------------------------------------------------------------
28
//
29
// ClassName: g4alt::G4PhysListFactory
30
//
31
// Author: R. Hatcher 2014-10-15
32
//
33
// Modified:
34
//
35
//----------------------------------------------------------------------------
36
//
37
38
#include "
G4PhysListFactoryAlt.hh
"
39
#include "
G4PhysListRegistry.hh
"
40
41
namespace
g4alt
{
42
43
G4PhysListFactory::G4PhysListFactory
(
G4int
verbose)
44
{
45
SetVerbose
(verbose);
46
}
47
48
G4PhysListFactory::~G4PhysListFactory
()
49
{}
50
51
void
G4PhysListFactory::SetDefaultReferencePhysList
(
const
G4String
&
name
)
52
{
53
return
G4PhysListRegistry::Instance
()->
SetUserDefaultPhysList
(
name
);
54
}
55
56
G4VModularPhysicsList
*
57
G4PhysListFactory::ReferencePhysList
()
58
{
59
return
G4PhysListRegistry::Instance
()->
GetModularPhysicsListFromEnv
();
60
}
61
62
G4VModularPhysicsList
*
63
G4PhysListFactory::GetReferencePhysList
(
const
G4String
&
name
)
64
{
65
return
G4PhysListRegistry::Instance
()->
GetModularPhysicsList
(
name
);
66
}
67
68
G4bool
G4PhysListFactory::IsReferencePhysList
(
const
G4String
&
name
)
const
69
{
70
return
G4PhysListRegistry::Instance
()->
IsReferencePhysList
(
name
);
71
}
72
73
const
std::vector<G4String>&
74
G4PhysListFactory::AvailablePhysLists
()
const
75
{
76
return
G4PhysListRegistry::Instance
()->
AvailablePhysLists
();
77
}
78
79
const
std::vector<G4String>&
80
G4PhysListFactory::AvailablePhysListsEM
()
const
81
{
82
return
G4PhysListRegistry::Instance
()->
AvailablePhysListsEM
();
83
}
84
85
void
G4PhysListFactory::PrintAvailablePhysLists
()
const
86
{
87
G4PhysListRegistry::Instance
()->
PrintAvailablePhysLists
();
88
}
89
90
void
G4PhysListFactory::SetVerbose
(
G4int
val)
91
{
92
G4PhysListRegistry::Instance
()->
SetVerbose
(val);
93
}
94
95
G4int
G4PhysListFactory::GetVerbose
()
const
96
{
97
return
G4PhysListRegistry::Instance
()->
GetVerbose
();
98
}
99
100
void
G4PhysListFactory::SetUnknownFatal
(
G4int
val)
101
{
102
G4PhysListRegistry::Instance
()->
SetUnknownFatal
(val);
103
}
104
105
G4int
G4PhysListFactory::GetUnknownFatal
()
const
106
{
107
return
G4PhysListRegistry::Instance
()->
GetUnknownFatal
();
108
}
109
110
}
// end-of-space 'g4alt'
G4PhysListFactoryAlt.hh
G4PhysListRegistry.hh
G4bool
bool G4bool
Definition:
G4Types.hh:86
G4int
int G4int
Definition:
G4Types.hh:85
G4PhysListRegistry::PrintAvailablePhysLists
void PrintAvailablePhysLists() const
Definition:
G4PhysListRegistry.cc:413
G4PhysListRegistry::GetModularPhysicsListFromEnv
G4VModularPhysicsList * GetModularPhysicsListFromEnv()
Definition:
G4PhysListRegistry.cc:206
G4PhysListRegistry::SetUnknownFatal
void SetUnknownFatal(G4int val)
Definition:
G4PhysListRegistry.hh:94
G4PhysListRegistry::AvailablePhysLists
const std::vector< G4String > & AvailablePhysLists() const
Definition:
G4PhysListRegistry.cc:383
G4PhysListRegistry::SetUserDefaultPhysList
void SetUserDefaultPhysList(const G4String &name="")
Definition:
G4PhysListRegistry.cc:109
G4PhysListRegistry::GetUnknownFatal
G4int GetUnknownFatal() const
Definition:
G4PhysListRegistry.hh:95
G4PhysListRegistry::AvailablePhysListsEM
const std::vector< G4String > & AvailablePhysListsEM() const
Definition:
G4PhysListRegistry.cc:405
G4PhysListRegistry::SetVerbose
void SetVerbose(G4int val)
Definition:
G4PhysListRegistry.hh:91
G4PhysListRegistry::Instance
static G4PhysListRegistry * Instance()
Definition:
G4PhysListRegistry.cc:64
G4PhysListRegistry::IsReferencePhysList
G4bool IsReferencePhysList(G4String nam) const
Definition:
G4PhysListRegistry.cc:227
G4PhysListRegistry::GetVerbose
G4int GetVerbose() const
Definition:
G4PhysListRegistry.hh:92
G4PhysListRegistry::GetModularPhysicsList
G4VModularPhysicsList * GetModularPhysicsList(const G4String &name)
Definition:
G4PhysListRegistry.cc:127
G4String
Definition:
G4String.hh:62
G4VModularPhysicsList
Definition:
G4VModularPhysicsList.hh:87
g4alt::G4PhysListFactory::SetDefaultReferencePhysList
void SetDefaultReferencePhysList(const G4String &name="")
Definition:
G4PhysListFactoryAlt.cc:51
g4alt::G4PhysListFactory::SetVerbose
void SetVerbose(G4int val)
Definition:
G4PhysListFactoryAlt.cc:90
g4alt::G4PhysListFactory::AvailablePhysListsEM
const std::vector< G4String > & AvailablePhysListsEM() const
Definition:
G4PhysListFactoryAlt.cc:80
g4alt::G4PhysListFactory::GetVerbose
G4int GetVerbose() const
Definition:
G4PhysListFactoryAlt.cc:95
g4alt::G4PhysListFactory::IsReferencePhysList
G4bool IsReferencePhysList(const G4String &) const
Definition:
G4PhysListFactoryAlt.cc:68
g4alt::G4PhysListFactory::SetUnknownFatal
void SetUnknownFatal(G4int val)
Definition:
G4PhysListFactoryAlt.cc:100
g4alt::G4PhysListFactory::PrintAvailablePhysLists
void PrintAvailablePhysLists() const
Definition:
G4PhysListFactoryAlt.cc:85
g4alt::G4PhysListFactory::ReferencePhysList
G4VModularPhysicsList * ReferencePhysList()
Definition:
G4PhysListFactoryAlt.cc:57
g4alt::G4PhysListFactory::GetUnknownFatal
G4int GetUnknownFatal() const
Definition:
G4PhysListFactoryAlt.cc:105
g4alt::G4PhysListFactory::~G4PhysListFactory
~G4PhysListFactory()
Definition:
G4PhysListFactoryAlt.cc:48
g4alt::G4PhysListFactory::G4PhysListFactory
G4PhysListFactory(G4int verbose=1)
Definition:
G4PhysListFactoryAlt.cc:43
g4alt::G4PhysListFactory::GetReferencePhysList
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
Definition:
G4PhysListFactoryAlt.cc:63
g4alt::G4PhysListFactory::AvailablePhysLists
const std::vector< G4String > & AvailablePhysLists() const
Definition:
G4PhysListFactoryAlt.cc:74
G4InuclParticleNames::name
const char * name(G4int ptype)
Definition:
G4InuclParticleNames.hh:76
g4alt
Definition:
G4PhysListFactoryAlt.hh:43
Generated by
1.9.3