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
7cfc660a
Commit
7cfc660a
authored
9 years ago
by
adrien-matta
Browse files
Options
Downloads
Patches
Plain Diff
* fixing warning in NPS
parent
c0382163
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NPSimulation/Core/EventAction.cc
+3
-1
3 additions, 1 deletion
NPSimulation/Core/EventAction.cc
NPSimulation/Core/PhysicsList.cc
+1
-1
1 addition, 1 deletion
NPSimulation/Core/PhysicsList.cc
NPSimulation/Sharc/Sharc.cc
+1
-0
1 addition, 0 deletions
NPSimulation/Sharc/Sharc.cc
with
5 additions
and
2 deletions
NPSimulation/Core/EventAction.cc
+
3
−
1
View file @
7cfc660a
...
@@ -96,7 +96,9 @@ void EventAction::ProgressDisplay(){
...
@@ -96,7 +96,9 @@ void EventAction::ProgressDisplay(){
check
=
asprintf
(
&
timer
,
"%dmin"
,(
int
)(
remain
/
60.
));
check
=
asprintf
(
&
timer
,
"%dmin"
,(
int
)(
remain
/
60.
));
else
else
check
=
asprintf
(
&
timer
,
"%ds"
,(
int
)(
remain
));
check
=
asprintf
(
&
timer
,
"%ds"
,(
int
)(
remain
));
check
++
;
static
string
star
;
static
string
star
;
if
(
displayed
%
2
==
0
)
if
(
displayed
%
2
==
0
)
star
=
"*******"
;
star
=
"*******"
;
...
...
This diff is collapsed.
Click to expand it.
NPSimulation/Core/PhysicsList.cc
+
1
−
1
View file @
7cfc660a
...
@@ -267,7 +267,7 @@ void PhysicsList::SetCuts(){
...
@@ -267,7 +267,7 @@ void PhysicsList::SetCuts(){
/////// Friend Method for CS biasing
/////// Friend Method for CS biasing
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
void
PhysicsList
::
BiasCrossSectionByFactor
(
double
factor
){
void
PhysicsList
::
BiasCrossSectionByFactor
(
double
factor
){
factor
=
0
;
factor
++
;
}
}
This diff is collapsed.
Click to expand it.
NPSimulation/Sharc/Sharc.cc
+
1
−
0
View file @
7cfc660a
...
@@ -356,6 +356,7 @@ void Sharc::ConstructTargetFan(G4LogicalVolume* world){
...
@@ -356,6 +356,7 @@ void Sharc::ConstructTargetFan(G4LogicalVolume* world){
G4double
TargetFrame_Thickness
;
G4double
TargetFrame_Thickness
;
TargetFrame_Thickness
=
0.5
*
mm
;
TargetFrame_Thickness
=
0.5
*
mm
;
TargetFrame_Thickness
=
0
;
G4double
Fan_Shift
=
70
*
mm
+
16
*
mm
;
G4double
Fan_Shift
=
70
*
mm
+
16
*
mm
;
G4Tubs
*
FanBaseSolid
=
new
G4Tubs
(
"TargetFanBase"
,
G4Tubs
*
FanBaseSolid
=
new
G4Tubs
(
"TargetFanBase"
,
...
...
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