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
f32d4da9
Commit
f32d4da9
authored
4 years ago
by
Remy Prechelt
Browse files
Options
Downloads
Patches
Plain Diff
Rebase changes onto master.
parent
6bec6125
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Documentation/Examples/vertical_EAS.cc
+0
-8
0 additions, 8 deletions
Documentation/Examples/vertical_EAS.cc
Framework/Cascade/Cascade.h
+5
-18
5 additions, 18 deletions
Framework/Cascade/Cascade.h
with
5 additions
and
26 deletions
Documentation/Examples/vertical_EAS.cc
+
0
−
8
View file @
f32d4da9
...
@@ -217,14 +217,9 @@ int main(int argc, char** argv) {
...
@@ -217,14 +217,9 @@ int main(int argc, char** argv) {
process
::
observation_plane
::
ObservationPlane
observationLevel
(
obsPlane
,
false
,
process
::
observation_plane
::
ObservationPlane
observationLevel
(
obsPlane
,
false
,
"particles"
);
"particles"
);
// outputs.Create<process::observation_plane::ObservationPlane>("particles", obsPlane, false, "particles");
// auto observationLevel = outputs.Get<process::observation_plane::ObservationPlane>("plane");
// register the observation plane with the manager
// register the observation plane with the manager
outputs
.
Register
(
"obsplane"
,
observationLevel
);
outputs
.
Register
(
"obsplane"
,
observationLevel
);
process
::
UrQMD
::
UrQMD
urqmd
;
process
::
UrQMD
::
UrQMD
urqmd
;
process
::
interaction_counter
::
InteractionCounter
urqmdCounted
{
urqmd
};
process
::
interaction_counter
::
InteractionCounter
urqmdCounted
{
urqmd
};
...
@@ -263,9 +258,6 @@ int main(int argc, char** argv) {
...
@@ -263,9 +258,6 @@ int main(int argc, char** argv) {
// and end this run
// and end this run
outputs
.
EndOfRun
();
outputs
.
EndOfRun
();
eLoss
.
PrintProfile
();
// print longitudinal profile
conexSource
.
SolveCE
();
cut
.
ShowResults
();
cut
.
ShowResults
();
em_continuous
.
ShowResults
();
em_continuous
.
ShowResults
();
observationLevel
.
ShowResults
();
observationLevel
.
ShowResults
();
...
...
This diff is collapsed.
Click to expand it.
Framework/Cascade/Cascade.h
+
5
−
18
View file @
f32d4da9
...
@@ -59,8 +59,7 @@ namespace corsika::cascade {
...
@@ -59,8 +59,7 @@ namespace corsika::cascade {
*
*
*/
*/
template
<
typename
TTracking
,
typename
TProcessList
,
typename
TStack
,
template
<
typename
TTracking
,
typename
TProcessList
,
typename
TStack
,
typename
TOutput
,
typename
TOutput
,
/*
/*
TStackView is needed as explicit template parameter because
TStackView is needed as explicit template parameter because
of issue 161 and the
of issue 161 and the
...
@@ -79,6 +78,7 @@ namespace corsika::cascade {
...
@@ -79,6 +78,7 @@ namespace corsika::cascade {
TTracking
&
tracking_
;
TTracking
&
tracking_
;
TProcessList
&
process_sequence_
;
TProcessList
&
process_sequence_
;
TStack
&
stack_
;
TStack
&
stack_
;
TOutput
&
output_
;
corsika
::
random
::
RNG
&
rng_
=
corsika
::
random
::
RNG
&
rng_
=
corsika
::
random
::
RNGManager
::
GetInstance
().
GetRandomStream
(
"cascade"
);
corsika
::
random
::
RNGManager
::
GetInstance
().
GetRandomStream
(
"cascade"
);
unsigned
int
count_
=
0
;
unsigned
int
count_
=
0
;
...
@@ -98,13 +98,12 @@ namespace corsika::cascade {
...
@@ -98,13 +98,12 @@ namespace corsika::cascade {
,
tracking_
(
tr
)
,
tracking_
(
tr
)
,
process_sequence_
(
pl
)
,
process_sequence_
(
pl
)
,
stack_
(
stack
)
,
stack_
(
stack
)
,
output_
(
output
)
,
output_
(
output
)
,
count_
(
0
)
{
,
count_
(
0
)
{
C8LOG_INFO
(
c8_ascii_
);
C8LOG_INFO
(
c8_ascii_
);
if
constexpr
(
TStackView
::
has_event
)
{
if
constexpr
(
TStackView
::
has_event
)
{
C8LOG_INFO
(
" - With full cascade HISTORY."
);
C8LOG_INFO
(
" - With full cascade HISTORY."
);
}
}
}
}
/**
/**
...
@@ -115,7 +114,7 @@ namespace corsika::cascade {
...
@@ -115,7 +114,7 @@ namespace corsika::cascade {
setNodes
();
setNodes
();
// start a new event
// start a new event
fO
utput
.
StartOfEvent
();
o
utput
_
.
StartOfEvent
();
while
(
!
stack_
.
IsEmpty
())
{
while
(
!
stack_
.
IsEmpty
())
{
while
(
!
stack_
.
IsEmpty
())
{
while
(
!
stack_
.
IsEmpty
())
{
...
@@ -136,7 +135,7 @@ namespace corsika::cascade {
...
@@ -136,7 +135,7 @@ namespace corsika::cascade {
}
}
// and end the event
// and end the event
fO
utput
.
EndOfEvent
();
o
utput
_
.
EndOfEvent
();
}
}
/**
/**
...
@@ -345,7 +344,6 @@ namespace corsika::cascade {
...
@@ -345,7 +344,6 @@ namespace corsika::cascade {
return
returnCode
;
return
returnCode
;
}
}
<<<<<<<
HEAD
/**
/**
* set the nodes for all particles on the stack according to their numerical
* set the nodes for all particles on the stack according to their numerical
* position
* position
...
@@ -377,16 +375,5 @@ Y8, Y8, ,8P 88 `8b `8b 88 88P Y8b d8"
...
@@ -377,16 +375,5 @@ Y8, Y8, ,8P 88 `8b `8b 88 88P Y8b d8"
`"Y8888Y"' `"Y8888Y"' 88 `8b "Y88888P" 88 88 Y8b d8' `8b "Y88888P"
`"Y8888Y"' `"Y8888Y"' 88 `8b "Y88888P" 88 88 Y8b d8' `8b "Y88888P"
)V0G0N"
;
)V0G0N"
;
};
};
=======
private
:
corsika
::
environment
::
Environment
<
MediumInterface
>
const
&
fEnvironment
;
TTracking
&
fTracking
;
TProcessList
&
fProcessSequence
;
TStack
&
fStack
;
TOutput
&
fOutput
;
corsika
::
random
::
RNG
&
fRNG
=
corsika
::
random
::
RNGManager
::
GetInstance
().
GetRandomStream
(
"cascade"
);
};
// namespace corsika::cascade
>>>>>>>
d1b56063
...
Initial
draft
of
output
hierarchy
and
writers
.
}
// namespace corsika::cascade
}
// namespace corsika::cascade
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