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
Admin message
Gitlab has been updated. More info
here
and
there
.
Show more breadcrumbs
np
nptool
Commits
0b499535
Commit
0b499535
authored
14 years ago
by
matta
Browse files
Options
Downloads
Patches
Plain Diff
* Adding more option to cryogenic target
-New case of Pressure/Temp added for D2
parent
2ac9e3fa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
NPSimulation/src/Target.cc
+17
-2
17 additions, 2 deletions
NPSimulation/src/Target.cc
with
17 additions
and
2 deletions
NPSimulation/src/Target.cc
+
17
−
2
View file @
0b499535
...
...
@@ -77,6 +77,7 @@ G4Material* Target::GetMaterialFromLibrary(G4String MaterialName, G4double Tempe
if
(
Pressure
==
1
)
{
G4cout
<<
"CryoTarget pressure set to 1 bar"
<<
G4endl
;
if
(
Temperature
==
24
)
{
density
=
0.0020182
*
g
/
cm3
;
G4cout
<<
"CryoTarget temp set to 24K"
<<
G4endl
;
...
...
@@ -91,14 +92,17 @@ G4Material* Target::GetMaterialFromLibrary(G4String MaterialName, G4double Tempe
density
=
0.001863
*
g
/
cm3
;
G4cout
<<
"CryoTarget temp set to 26K"
<<
G4endl
;
}
else
if
(
Temperature
==
30
)
{
density
=
0.00020475
*
g
/
cm3
;
G4cout
<<
"CryoTarget temp set to 30K"
<<
G4endl
;
}
else
{
G4cout
<<
">>> !!!!WARNING INVALID TEMP FOR CRYOGENIC TARGET!!!! <<<"
<<
G4endl
;
}
}
else
if
(
Pressure
==
0.5
)
{
G4cout
<<
"CryoTarget pressure set to 0.5 bar"
<<
G4endl
;
...
...
@@ -117,6 +121,17 @@ G4Material* Target::GetMaterialFromLibrary(G4String MaterialName, G4double Tempe
G4cout
<<
"CryoTarget temp set to 26K"
<<
G4endl
;
}
else
if
(
Pressure
==
0.7
)
{
G4cout
<<
"CryoTarget pressure set to 0.7 bar"
<<
G4endl
;
if
(
Temperature
==
26
)
{
density
=
0.0013125
*
g
/
cm3
;
G4cout
<<
"CryoTarget temp set to 26K"
<<
G4endl
;
}
}
else
{
G4cout
<<
">>> !!!!WARNING INVALID TEMP FOR CRYOGENIC TARGET!!!! <<<"
<<
G4endl
;
}
...
...
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