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
7536dd9d
Commit
7536dd9d
authored
5 years ago
by
Maximilian Reininghaus
Browse files
Options
Downloads
Patches
Plain Diff
more explicit types
parent
906526ce
No related branches found
No related tags found
1 merge request
!100
Resolve "Low energy hadronic interactions: UrQMD interface"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Processes/Sibyll/Interaction.cc
+5
-5
5 additions, 5 deletions
Processes/Sibyll/Interaction.cc
with
5 additions
and
5 deletions
Processes/Sibyll/Interaction.cc
+
5
−
5
View file @
7536dd9d
...
@@ -29,8 +29,8 @@ using std::tuple;
...
@@ -29,8 +29,8 @@ using std::tuple;
using
namespace
corsika
;
using
namespace
corsika
;
using
namespace
corsika
::
setup
;
using
namespace
corsika
::
setup
;
using
Particle
=
Stack
::
StackIterator
;
// ParticleType;
using
Setup
Particle
=
setup
::
Stack
::
StackIterator
;
using
Projectile
=
StackView
::
StackIterator
;
// ParticleType;
using
Setup
Projectile
=
setup
::
StackView
::
StackIterator
;
using
Track
=
Trajectory
;
using
Track
=
Trajectory
;
namespace
corsika
::
process
::
sibyll
{
namespace
corsika
::
process
::
sibyll
{
...
@@ -118,7 +118,7 @@ namespace corsika::process::sibyll {
...
@@ -118,7 +118,7 @@ namespace corsika::process::sibyll {
}
}
template
<
>
template
<
>
units
::
si
::
GrammageType
Interaction
::
GetInteractionLength
(
Particle
&
vP
,
Track
&
)
const
{
units
::
si
::
GrammageType
Interaction
::
GetInteractionLength
(
Setup
Particle
&
vP
,
Track
&
)
const
{
using
namespace
units
;
using
namespace
units
;
using
namespace
units
::
si
;
using
namespace
units
::
si
;
...
@@ -163,7 +163,7 @@ namespace corsika::process::sibyll {
...
@@ -163,7 +163,7 @@ namespace corsika::process::sibyll {
and the boosts can be defined..
and the boosts can be defined..
*/
*/
auto
const
*
currentNode
=
p
.
GetNode
();
auto
const
*
currentNode
=
vP
.
GetNode
();
const
auto
&
mediumComposition
=
const
auto
&
mediumComposition
=
currentNode
->
GetModelProperties
().
GetNuclearComposition
();
currentNode
->
GetModelProperties
().
GetNuclearComposition
();
...
@@ -195,7 +195,7 @@ namespace corsika::process::sibyll {
...
@@ -195,7 +195,7 @@ namespace corsika::process::sibyll {
*/
*/
template
<
>
template
<
>
process
::
EProcessReturn
Interaction
::
DoInteraction
(
Projectile
&
vP
)
{
process
::
EProcessReturn
Interaction
::
DoInteraction
(
Setup
Projectile
&
vP
)
{
using
namespace
units
;
using
namespace
units
;
using
namespace
utl
;
using
namespace
utl
;
...
...
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