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
34f29d46
Commit
34f29d46
authored
2 years ago
by
Maximilian Reininghaus
Browse files
Options
Downloads
Patches
Plain Diff
copy particles from eventMain to C8
parent
444d19b5
No related branches found
No related tags found
1 merge request
!427
Resolve "upgrade pythia to version 8.3xx"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
corsika/detail/modules/pythia8/Interaction.inl
+5
-5
5 additions, 5 deletions
corsika/detail/modules/pythia8/Interaction.inl
with
5 additions
and
5 deletions
corsika/detail/modules/pythia8/Interaction.inl
+
5
−
5
View file @
34f29d46
...
@@ -43,7 +43,7 @@ namespace corsika::pythia8 {
...
@@ -43,7 +43,7 @@ namespace corsika::pythia8 {
pythiaMain_
.
readString
(
"321:mayDecay = on"
);
pythiaMain_
.
readString
(
"321:mayDecay = on"
);
pythiaMain_
.
readString
(
"130:mayDecay = on"
);
pythiaMain_
.
readString
(
"130:mayDecay = on"
);
// Redu
r
e statistics printout to relevant ones.
// Redu
c
e statistics printout to relevant ones.
pythiaMain_
.
readString
(
"Stat:showProcessLevel = off"
);
pythiaMain_
.
readString
(
"Stat:showProcessLevel = off"
);
pythiaMain_
.
readString
(
"Stat:showPartonLevel = off"
);
pythiaMain_
.
readString
(
"Stat:showPartonLevel = off"
);
...
@@ -349,7 +349,7 @@ namespace corsika::pythia8 {
...
@@ -349,7 +349,7 @@ namespace corsika::pythia8 {
sizeOld
=
eventMain
.
size
();
sizeOld
=
eventMain
.
size
();
for
(
int
iSub
=
3
;
iSub
<
eventColl
.
size
();
++
iSub
)
{
for
(
int
iSub
=
3
;
iSub
<
eventColl
.
size
();
++
iSub
)
{
if
(
!
eventColl
[
iSub
].
isFinal
())
continue
;
if
(
!
eventColl
[
iSub
].
isFinal
())
continue
;
int
iNew
=
eventMain
.
append
(
eventColl
[
iSub
]);
int
const
iNew
=
eventMain
.
append
(
eventColl
[
iSub
]);
eventMain
[
iNew
].
mothers
(
iNuc
,
iProj
);
eventMain
[
iNew
].
mothers
(
iNuc
,
iProj
);
eventMain
[
iNew
].
vProdAdd
(
vNow
);
eventMain
[
iNew
].
vProdAdd
(
vNow
);
}
}
...
@@ -377,9 +377,9 @@ namespace corsika::pythia8 {
...
@@ -377,9 +377,9 @@ namespace corsika::pythia8 {
MomentumVector
Plab_final
{
labFrameBoost
.
getOriginalCS
()};
MomentumVector
Plab_final
{
labFrameBoost
.
getOriginalCS
()};
auto
Elab_final
=
HEPEnergyType
::
zero
();
auto
Elab_final
=
HEPEnergyType
::
zero
();
for
(
Pythia8
::
Particle
const
&
p8p
:
event
Coll
)
{
for
(
Pythia8
::
Particle
const
&
p8p
:
event
Main
)
{
// skip particles that have decayed / are initial particles in pythia's event record
// skip particles that have decayed / are initial particles in pythia's event record
if
(
!
p8p
.
isFinal
())
continue
;
if
(
!
p8p
.
isFinal
())
continue
;
try
{
try
{
...
...
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