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
87948022
Commit
87948022
authored
6 years ago
by
Felix Riehn
Browse files
Options
Downloads
Patches
Plain Diff
suppressed output
parent
d10704f0
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
Processes/Sibyll/ProcessDecay.h
+3
-3
3 additions, 3 deletions
Processes/Sibyll/ProcessDecay.h
with
3 additions
and
3 deletions
Processes/Sibyll/ProcessDecay.h
+
3
−
3
View file @
87948022
...
@@ -118,8 +118,8 @@ namespace corsika::process {
...
@@ -118,8 +118,8 @@ namespace corsika::process {
std
::
cout
<<
"calling Sibyll decay routine.."
<<
std
::
endl
;
std
::
cout
<<
"calling Sibyll decay routine.."
<<
std
::
endl
;
decsib_
();
decsib_
();
// print output
// print output
int
print_unit
=
6
;
//
int print_unit = 6;
sib_list_
(
print_unit
);
//
sib_list_( print_unit );
// copy particles from sibyll stack to corsika
// copy particles from sibyll stack to corsika
int
i
=
-
1
;
int
i
=
-
1
;
for
(
auto
&
psib
:
ss
){
for
(
auto
&
psib
:
ss
){
...
@@ -127,7 +127,7 @@ namespace corsika::process {
...
@@ -127,7 +127,7 @@ namespace corsika::process {
// FOR NOW: skip particles that have decayed in Sibyll, move to iterator?
// FOR NOW: skip particles that have decayed in Sibyll, move to iterator?
if
(
abs
(
s_plist_
.
llist
[
i
])
>
100
)
continue
;
if
(
abs
(
s_plist_
.
llist
[
i
])
>
100
)
continue
;
// add to corsika stack
// add to corsika stack
cout
<<
"decay product: "
<<
process
::
sibyll
::
ConvertFromSibyll
(
psib
.
GetPID
()
)
<<
endl
;
//
cout << "decay product: " << process::sibyll::ConvertFromSibyll( psib.GetPID() ) << endl;
auto
pnew
=
s
.
NewParticle
();
auto
pnew
=
s
.
NewParticle
();
pnew
.
SetEnergy
(
psib
.
GetEnergy
()
);
pnew
.
SetEnergy
(
psib
.
GetEnergy
()
);
pnew
.
SetPID
(
process
::
sibyll
::
ConvertFromSibyll
(
psib
.
GetPID
()
)
);
pnew
.
SetPID
(
process
::
sibyll
::
ConvertFromSibyll
(
psib
.
GetPID
()
)
);
...
...
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