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
1d95df3e
Commit
1d95df3e
authored
5 years ago
by
Felix Riehn
Browse files
Options
Downloads
Patches
Plain Diff
set vertical eas to produce FPE due to zero tracklength
parent
99d34f33
Branches
update_project_docs
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Documentation/Examples/vertical_EAS.cc
+4
-7
4 additions, 7 deletions
Documentation/Examples/vertical_EAS.cc
with
4 additions
and
7 deletions
Documentation/Examples/vertical_EAS.cc
+
4
−
7
View file @
1d95df3e
...
...
@@ -31,8 +31,6 @@
#include
<corsika/process/sibyll/Interaction.h>
#include
<corsika/process/sibyll/NuclearInteraction.h>
//#include <corsika/process/pythia/Decay.h>
#include
<corsika/process/urqmd/UrQMD.h>
#include
<corsika/process/particle_cut/ParticleCut.h>
...
...
@@ -64,7 +62,6 @@ using namespace corsika::units::si;
void
registerRandomStreams
()
{
random
::
RNGManager
::
GetInstance
().
RegisterRandomStream
(
"cascade"
);
random
::
RNGManager
::
GetInstance
().
RegisterRandomStream
(
"s_rndm"
);
// random::RNGManager::GetInstance().RegisterRandomStream("pythia");
random
::
RNGManager
::
GetInstance
().
RegisterRandomStream
(
"UrQMD"
);
random
::
RNGManager
::
GetInstance
().
SeedAll
();
...
...
@@ -103,9 +100,9 @@ int main() {
// setup particle stack, and add primary particle
setup
::
Stack
stack
;
stack
.
Clear
();
const
Code
beamCode
=
Code
::
Proton
;
const
Code
beamCode
=
Code
::
RhoMinus
;
//Code::KStarMinus
;
auto
const
mass
=
particles
::
GetMass
(
beamCode
);
const
HEPEnergyType
E0
=
0.1
_
P
eV
;
const
HEPEnergyType
E0
=
0.1
_
T
eV
;
double
theta
=
0.
;
double
phi
=
0.
;
...
...
@@ -155,7 +152,7 @@ int main() {
particles
::
Code
::
KMinus
,
particles
::
Code
::
K0Long
,
particles
::
Code
::
K0Short
};
process
::
sibyll
::
Interaction
sibyll
;
process
::
sibyll
::
NuclearInteraction
sibyllNuc
(
sibyll
,
env
);
//
process::sibyll::NuclearInteraction sibyllNuc(sibyll, env);
process
::
sibyll
::
Decay
decay
;
//process::pythia::Decay decay(trackedHadrons);
...
...
@@ -173,7 +170,7 @@ int main() {
process
::
UrQMD
::
UrQMD
urqmd
;
auto
sibyllSequence
=
sibyll
<<
sibyllNuc
;
auto
sibyllSequence
=
sibyll
;
//
<< sibyllNuc;
process
::
switch_process
::
SwitchProcess
switchProcess
(
urqmd
,
sibyllSequence
,
55
_GeV
);
auto
sequence
=
switchProcess
<<
decay
<<
eLoss
<<
cut
<<
observationLevel
<<
trackWriter
;
...
...
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