IAP GITLAB

Skip to content
Snippets Groups Projects
Commit ee95400d authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan:
Browse files

a little bit of documentation

parent 5ee3430a
No related branches found
No related tags found
No related merge requests found
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