Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nptool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
np
nptool
Commits
50bdf78a
Commit
50bdf78a
authored
6 years ago
by
Elidiano Tronchin
Browse files
Options
Downloads
Patches
Plain Diff
&&& Added every EMStandardPhysics Options
parent
a4cffd12
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NPSimulation/Process/PhysicsList.cc
+16
-1
16 additions, 1 deletion
NPSimulation/Process/PhysicsList.cc
NPSimulation/Process/PhysicsList.hh
+2
-0
2 additions, 0 deletions
NPSimulation/Process/PhysicsList.hh
with
18 additions
and
1 deletion
NPSimulation/Process/PhysicsList.cc
+
16
−
1
View file @
50bdf78a
...
@@ -77,7 +77,22 @@ PhysicsList::PhysicsList() : G4VUserPhysicsList(){
...
@@ -77,7 +77,22 @@ PhysicsList::PhysicsList() : G4VUserPhysicsList(){
emPhysicsList
=
new
G4EmStandardPhysics_option4
();
emPhysicsList
=
new
G4EmStandardPhysics_option4
();
cout
<<
"//// Using G4EmStandardPhysics_option4 Physics List ////"
<<
endl
;
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"
){
else
if
(
m_EmList
==
"Livermore"
){
emPhysicsList
=
new
G4EmLivermorePhysics
();
emPhysicsList
=
new
G4EmLivermorePhysics
();
cout
<<
"//// Using G4EmLivermorePhysics Physics List ////"
<<
endl
;
cout
<<
"//// Using G4EmLivermorePhysics Physics List ////"
<<
endl
;
...
...
This diff is collapsed.
Click to expand it.
NPSimulation/Process/PhysicsList.hh
+
2
−
0
View file @
50bdf78a
...
@@ -44,6 +44,8 @@
...
@@ -44,6 +44,8 @@
#include
"G4EmStandardPhysics.hh"
#include
"G4EmStandardPhysics.hh"
#include
"G4EmLivermorePhysics.hh"
#include
"G4EmLivermorePhysics.hh"
#include
"G4EmPenelopePhysics.hh"
#include
"G4EmPenelopePhysics.hh"
#include
"G4EmStandardPhysics_option1.hh"
#include
"G4EmStandardPhysics_option2.hh"
#include
"G4EmStandardPhysics_option3.hh"
#include
"G4EmStandardPhysics_option3.hh"
#include
"G4EmStandardPhysics_option4.hh"
#include
"G4EmStandardPhysics_option4.hh"
#include
"G4EmExtraPhysics.hh"
#include
"G4EmExtraPhysics.hh"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment