From ff8c15b35b956c1e16bc65d34601190019aa6a9d Mon Sep 17 00:00:00 2001 From: Maximilian Reininghaus <maximilian.reininghaus@kit.edu> Date: Fri, 2 Dec 2022 18:22:20 +0100 Subject: [PATCH] created EMThinning.hpp (WIP) --- corsika/modules/thinning/EMThinning.hpp | 34 +++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 corsika/modules/thinning/EMThinning.hpp diff --git a/corsika/modules/thinning/EMThinning.hpp b/corsika/modules/thinning/EMThinning.hpp new file mode 100644 index 000000000..43ffe1bb9 --- /dev/null +++ b/corsika/modules/thinning/EMThinning.hpp @@ -0,0 +1,34 @@ +/* + * (c) Copyright 2022 CORSIKA Project, corsika-project@lists.kit.edu + * + * This software is distributed under the terms of the GNU General Public + * Licence version 3 (GPL Version 3). See file LICENSE for a full version of + * the license. + */ + +#pragma once + +#include <corsika/framework/core/PhysicalUnits.hpp> +#include <corsika/framework/process/SecondariesProcess.hpp> + +namespace corsika { + +//! This process implements thinning for EM splitting processes (1 -> 2) + +class EMThinning : public SecondariesProcess<EMThinning> { +public: + + + + /** + * Apply thinning to secondaries. + * + * @tparam TStackView + */ + template <typename TStackView> + void doSecondaries(TStackView&); + +}; +} + +#include <corsika/detail/process/thinning/EMThinning.inl> -- GitLab