Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
np
nptool
Commits
50bdf78a
Commit
50bdf78a
authored
Sep 26, 2018
by
Elidiano Tronchin
Browse files
&&& Added every EMStandardPhysics Options
parent
a4cffd12
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
NPSimulation/Process/PhysicsList.cc
NPSimulation/Process/PhysicsList.cc
+16
-1
NPSimulation/Process/PhysicsList.hh
NPSimulation/Process/PhysicsList.hh
+2
-0
No files found.
NPSimulation/Process/PhysicsList.cc
View file @
50bdf78a
...
...
@@ -77,7 +77,22 @@ PhysicsList::PhysicsList() : G4VUserPhysicsList(){
emPhysicsList
=
new
G4EmStandardPhysics_option4
();
cout
<<
"//// Using G4EmStandardPhysics_option4 Physics List ////"
<<
endl
;
}
else
if
(
m_EmList
==
"Option1"
){
emPhysicsList
=
new
G4EmStandardPhysics_option1
();
cout
<<
"//// Using G4EmStandardPhysics_option1 Physics List ////"
<<
endl
;
}
else
if
(
m_EmList
==
"Option2"
){
emPhysicsList
=
new
G4EmStandardPhysics_option2
();
cout
<<
"//// Using G4EmStandardPhysics_option2 Physics List ////"
<<
endl
;
}
else
if
(
m_EmList
==
"Option3"
){
emPhysicsList
=
new
G4EmStandardPhysics_option3
();
cout
<<
"//// Using G4EmStandardPhysics_option3 Physics List ////"
<<
endl
;
}
else
if
(
m_EmList
==
"Standard"
){
emPhysicsList
=
new
G4EmStandardPhysics
();
cout
<<
"//// Using G4EmStandardPhysics default EM constructor Physics List ////"
<<
endl
;
}
else
if
(
m_EmList
==
"Livermore"
){
emPhysicsList
=
new
G4EmLivermorePhysics
();
cout
<<
"//// Using G4EmLivermorePhysics Physics List ////"
<<
endl
;
...
...
NPSimulation/Process/PhysicsList.hh
View file @
50bdf78a
...
...
@@ -44,6 +44,8 @@
#include "G4EmStandardPhysics.hh"
#include "G4EmLivermorePhysics.hh"
#include "G4EmPenelopePhysics.hh"
#include "G4EmStandardPhysics_option1.hh"
#include "G4EmStandardPhysics_option2.hh"
#include "G4EmStandardPhysics_option3.hh"
#include "G4EmStandardPhysics_option4.hh"
#include "G4EmExtraPhysics.hh"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment