IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Antonio Augusto Alves Junior
corsika
Commits
dd8f0d5d
Commit
dd8f0d5d
authored
6 years ago
by
Felix Riehn
Browse files
Options
Downloads
Patches
Plain Diff
added access function for squared masses to sibyll interface
parent
e60e156d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Processes/Sibyll/sibyll2.3c.cc
+1
-0
1 addition, 0 deletions
Processes/Sibyll/sibyll2.3c.cc
Processes/Sibyll/sibyll2.3c.h
+1
-0
1 addition, 0 deletions
Processes/Sibyll/sibyll2.3c.h
with
2 additions
and
0 deletions
Processes/Sibyll/sibyll2.3c.cc
+
1
−
0
View file @
dd8f0d5d
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
#include
<random>
#include
<random>
int
get_nwounded
()
{
return
s_chist_
.
nwd
;
}
int
get_nwounded
()
{
return
s_chist_
.
nwd
;
}
double
get_sibyll_mass2
(
int
&
id
)
{
return
s_mass1_
.
am2
[
id
];
}
double
s_rndm_
(
int
&
)
{
double
s_rndm_
(
int
&
)
{
static
corsika
::
random
::
RNG
&
rng
=
static
corsika
::
random
::
RNG
&
rng
=
...
...
This diff is collapsed.
Click to expand it.
Processes/Sibyll/sibyll2.3c.h
+
1
−
0
View file @
dd8f0d5d
...
@@ -92,6 +92,7 @@ void sib_sigma_hp_(const int&, const double&, double&, double&, double&, double*
...
@@ -92,6 +92,7 @@ void sib_sigma_hp_(const int&, const double&, double&, double&, double&, double*
double
s_rndm_
(
int
&
);
double
s_rndm_
(
int
&
);
int
get_nwounded
();
int
get_nwounded
();
double
get_sibyll_mass2
(
int
&
);
// phojet random generator setup
// phojet random generator setup
void
pho_rndin_
(
int
&
,
int
&
,
int
&
,
int
&
);
void
pho_rndin_
(
int
&
,
int
&
,
int
&
,
int
&
);
...
...
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