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
3c4f8281
Commit
3c4f8281
authored
6 years ago
by
Felix Riehn
Browse files
Options
Downloads
Patches
Plain Diff
fixed test, reset example
parent
9fed7ec0
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
Documentation/Examples/cascade_example.cc
+2
-3
2 additions, 3 deletions
Documentation/Examples/cascade_example.cc
Processes/Sibyll/testSibyll.cc
+2
-2
2 additions, 2 deletions
Processes/Sibyll/testSibyll.cc
with
4 additions
and
5 deletions
Documentation/Examples/cascade_example.cc
+
2
−
3
View file @
3c4f8281
...
...
@@ -264,9 +264,8 @@ int main() {
// setup particle stack, and add primary particle
setup
::
Stack
stack
;
stack
.
Clear
();
const
Code
beamCode
=
Code
::
Carbon
;
const
HEPEnergyType
E0
=
1200
_GeV
;
// 100_TeV; // 1_PeV crashes with bad COMboost in second interaction (crash later)
const
Code
beamCode
=
Code
::
Proton
;
const
HEPEnergyType
E0
=
100
_TeV
;
// 1_PeV crashes with bad COMboost in second interaction (crash later)
double
theta
=
0.
;
double
phi
=
0.
;
...
...
This diff is collapsed.
Click to expand it.
Processes/Sibyll/testSibyll.cc
+
2
−
2
View file @
3c4f8281
...
...
@@ -117,7 +117,7 @@ TEST_CASE("SibyllInterface", "[processes]") {
SECTION
(
"InteractionInterface"
)
{
setup
::
Stack
stack
;
const
HEPEnergyType
E0
=
10
_GeV
;
const
HEPEnergyType
E0
=
10
0
_GeV
;
HEPMomentumType
P0
=
sqrt
(
E0
*
E0
-
particles
::
Proton
::
GetMass
()
*
particles
::
Proton
::
GetMass
());
auto
plab
=
stack
::
super_stupid
::
MomentumVector
(
cs
,
{
0
_GeV
,
0
_GeV
,
-
P0
});
...
...
@@ -136,7 +136,7 @@ TEST_CASE("SibyllInterface", "[processes]") {
SECTION
(
"NuclearInteractionInterface"
)
{
setup
::
Stack
stack
;
const
HEPEnergyType
E0
=
10
_GeV
;
const
HEPEnergyType
E0
=
10
0
_GeV
;
HEPMomentumType
P0
=
sqrt
(
E0
*
E0
-
particles
::
Proton
::
GetMass
()
*
particles
::
Proton
::
GetMass
());
auto
plab
=
stack
::
super_stupid
::
MomentumVector
(
cs
,
{
0
_GeV
,
0
_GeV
,
-
P0
});
...
...
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