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
965c8b36
Commit
965c8b36
authored
2 years ago
by
Maximilian Reininghaus
Committed by
Nikos Karastathis
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
a little bit of documentation
parent
21a72942
No related branches found
No related tags found
1 merge request
!466
Resolve "Implement thinning algorithms"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
corsika/modules/thinning/EMThinning.hpp
+10
-2
10 additions, 2 deletions
corsika/modules/thinning/EMThinning.hpp
with
10 additions
and
2 deletions
corsika/modules/thinning/EMThinning.hpp
+
10
−
2
View file @
965c8b36
...
@@ -16,7 +16,9 @@
...
@@ -16,7 +16,9 @@
namespace
corsika
{
namespace
corsika
{
//! This process implements thinning for EM splitting processes (1 -> 2)
/**
* This process implements thinning for EM splitting processes (1 -> 2).
*/
class
EMThinning
:
public
SecondariesProcess
<
EMThinning
>
{
class
EMThinning
:
public
SecondariesProcess
<
EMThinning
>
{
public:
public:
...
@@ -32,7 +34,13 @@ namespace corsika {
...
@@ -32,7 +34,13 @@ namespace corsika {
* Apply thinning to secondaries. Only EM primaries with two EM secondaries are
* Apply thinning to secondaries. Only EM primaries with two EM secondaries are
* considered.
* considered.
*
*
* @tparam TStackView
* If the maximum weight is still out of reach, Hillas thinning is applied (i.e.
* one of the two secondaries is kept, the other one discarded). If the acceptance
* probabilities would lead to a weight factor exceeding the maximum weight, we resort
* to statistical thinning (i.e. the secondaries are kept/discared randomly each on is
* own). In that case, acceptance probabilities can be assigned without constraints
* (sum does not need to be 1) and we increase the acceptance probability such that
* the maximum weight is not exceeded.
*/
*/
template
<
typename
TStackView
>
template
<
typename
TStackView
>
void
doSecondaries
(
TStackView
&
);
void
doSecondaries
(
TStackView
&
);
...
...
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