IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 965c8b36 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan: Committed by Nikos Karastathis
Browse files

a little bit of documentation

parent 21a72942
No related branches found
No related tags found
1 merge request!466Resolve "Implement thinning algorithms"
This commit is part of merge request !466. Comments created here will be created in the context of that merge request.
......@@ -16,7 +16,9 @@
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> {
public:
......@@ -32,7 +34,13 @@ namespace corsika {
* Apply thinning to secondaries. Only EM primaries with two EM secondaries are
* 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>
void doSecondaries(TStackView&);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment