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
f2c8c268
Commit
f2c8c268
authored
4 years ago
by
ralfulrich
Browse files
Options
Downloads
Patches
Plain Diff
added corsika ascii logo
parent
1bf81b2e
No related branches found
No related tags found
1 merge request
!254
History
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/Cascade/Cascade.h
+27
-12
27 additions, 12 deletions
Framework/Cascade/Cascade.h
with
27 additions
and
12 deletions
Framework/Cascade/Cascade.h
+
27
−
12
View file @
f2c8c268
...
@@ -71,6 +71,17 @@ namespace corsika::cascade {
...
@@ -71,6 +71,17 @@ namespace corsika::cascade {
std
::
remove_pointer_t
<
decltype
(((
Particle
*
)
nullptr
)
->
GetNode
())
>
;
std
::
remove_pointer_t
<
decltype
(((
Particle
*
)
nullptr
)
->
GetNode
())
>
;
using
MediumInterface
=
typename
VolumeTreeNode
::
IModelProperties
;
using
MediumInterface
=
typename
VolumeTreeNode
::
IModelProperties
;
private:
// Data members
corsika
::
environment
::
Environment
<
MediumInterface
>
const
&
fEnvironment
;
TTracking
&
fTracking
;
TProcessList
&
fProcessSequence
;
TStack
&
fStack
;
corsika
::
random
::
RNG
&
fRNG
=
corsika
::
random
::
RNGManager
::
GetInstance
().
GetRandomStream
(
"cascade"
);
unsigned
int
count_
=
0
;
private:
// we only want fully configured objects
// we only want fully configured objects
Cascade
()
=
delete
;
Cascade
()
=
delete
;
...
@@ -110,8 +121,9 @@ namespace corsika::cascade {
...
@@ -110,8 +121,9 @@ namespace corsika::cascade {
while
(
!
fStack
.
IsEmpty
())
{
while
(
!
fStack
.
IsEmpty
())
{
while
(
!
fStack
.
IsEmpty
())
{
while
(
!
fStack
.
IsEmpty
())
{
count_
++
;
auto
pNext
=
fStack
.
GetNextParticle
();
auto
pNext
=
fStack
.
GetNextParticle
();
std
::
cout
<<
"========= next: pid="
<<
pNext
.
GetPID
()
std
::
cout
<<
"========= next:
count="
<<
count_
<<
",
pid="
<<
pNext
.
GetPID
()
<<
", stack entries="
<<
fStack
.
getEntries
()
<<
", stack entries="
<<
fStack
.
getEntries
()
<<
", stack deleted="
<<
fStack
.
getDeleted
()
<<
std
::
endl
;
<<
", stack deleted="
<<
fStack
.
getDeleted
()
<<
std
::
endl
;
Step
(
pNext
);
Step
(
pNext
);
...
@@ -330,16 +342,19 @@ namespace corsika::cascade {
...
@@ -330,16 +342,19 @@ namespace corsika::cascade {
inv_lambda_count
);
inv_lambda_count
);
}
}
private
:
// but this here temporarily. Should go into dedicated file later:
corsika
::
environment
::
Environment
<
MediumInterface
>
const
&
fEnvironment
;
const
char
*
c8_ascii_
=
TTracking
&
fTracking
;
R"V0G0N(
TProcessList
&
fProcessSequence
;
,ad8888ba, ,ad8888ba, 88888888ba ad88888ba 88 88 a8P db ad88888ba
TStack
&
fStack
;
d8"' `"8b d8"' `"8b 88 "8b d8" "8b 88 88 ,88' d88b d8" "8b
corsika
::
random
::
RNG
&
fRNG
=
d8' d8' `8b 88 ,8P Y8, 88 88 ,88" d8'`8b Y8a a8P
corsika
::
random
::
RNGManager
::
GetInstance
().
GetRandomStream
(
"cascade"
);
88 88 88 88aaaaaa8P' `Y8aaaaa, 88 88,d88' d8' `8b "Y8aaa8P"
88 88 88 88""""88' `"""""8b, 88 8888"88, d8YaaaaY8b ,d8"""8b,
corsika
::
units
::
si
::
HEPEnergyType
energy_cut_
;
Y8, Y8, ,8P 88 `8b `8b 88 88P Y8b d8""""""""8b d8" "8b
Y8a. .a8P Y8a. .a8P 88 `8b Y8a a8P 88 88 "88, d8' `8b Y8a a8P
};
// namespace corsika::cascade
`"Y8888Y"' `"Y8888Y"' 88 `8b "Y88888P" 88 88 Y8b d8' `8b "Y88888P"
)V0G0N"
;
};
}
// 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