IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
corsika
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
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue 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
Air Shower Physics
corsika
Commits
4e64d639
Commit
4e64d639
authored
6 years ago
by
Felix Riehn
Browse files
Options
Downloads
Patches
Plain Diff
catch wrong projectile in DoInteraction call
parent
f64c7d4f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!65
Resolve "add sibyll process NuclearInteraction"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Processes/Sibyll/Interaction.h
+3
-2
3 additions, 2 deletions
Processes/Sibyll/Interaction.h
Processes/Sibyll/NuclearInteraction.h
+0
-1
0 additions, 1 deletion
Processes/Sibyll/NuclearInteraction.h
with
3 additions
and
3 deletions
Processes/Sibyll/Interaction.h
+
3
−
2
View file @
4e64d639
...
...
@@ -185,9 +185,10 @@ namespace corsika::process::sibyll {
cout
<<
"ProcessSibyll: "
<<
"DoInteraction: "
<<
corsikaBeamId
<<
" interaction? "
<<
process
::
sibyll
::
CanInteract
(
corsikaBeamId
)
<<
endl
;
if
(
corsika
::
particles
::
IsNucleus
(
corsikaBeamId
)){
// nuclei handled by different process,
skip
return
process
::
EProcessReturn
::
eOk
;
// nuclei handled by different process,
this should not happen
throw
std
::
runtime_error
(
"Nuclear projectile are not handled by SIBYLL!"
)
;
}
if
(
process
::
sibyll
::
CanInteract
(
corsikaBeamId
))
{
...
...
This diff is collapsed.
Click to expand it.
Processes/Sibyll/NuclearInteraction.h
+
0
−
1
View file @
4e64d639
...
...
@@ -203,7 +203,6 @@ namespace corsika::process::sibyll {
if
(
!
IsNucleus
(
corsikaProjId
)){
// this should not happen
throw
std
::
runtime_error
(
"Non nuclear projectile in NUCLIB!"
);
return
process
::
EProcessReturn
::
eOk
;
}
fCount
++
;
...
...
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