From 128939d88829390fc7f95f8247ee1430be2f0cef Mon Sep 17 00:00:00 2001 From: Felix Riehn <friehn@lip.pt> Date: Mon, 29 Apr 2019 15:53:37 +0200 Subject: [PATCH] Deleted Framework/ProcessSequence/SecondaryProcess.h --- Framework/ProcessSequence/SecondaryProcess.h | 48 -------------------- 1 file changed, 48 deletions(-) delete mode 100644 Framework/ProcessSequence/SecondaryProcess.h diff --git a/Framework/ProcessSequence/SecondaryProcess.h b/Framework/ProcessSequence/SecondaryProcess.h deleted file mode 100644 index 523ce4d88..000000000 --- a/Framework/ProcessSequence/SecondaryProcess.h +++ /dev/null @@ -1,48 +0,0 @@ - -/* - * (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu - * - * See file AUTHORS for a list of contributors. - * - * 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. - */ - -#ifndef _include_corsika_secondariesprocess_h_ -#define _include_corsika_secondariesprocess_h_ - -#include <corsika/process/ProcessReturn.h> // for convenience -#include <corsika/setup/SetupTrajectory.h> -#include <corsika/units/PhysicalUnits.h> - -namespace corsika::process { - - /** - \class SecondariesProcess - - The structural base type of a process object in a - ProcessSequence. Both, the ProcessSequence and all its elements - are of type SecondariesProcess<T> - - */ - - template <typename derived> - struct SecondariesProcess { - - derived& GetRef() { return static_cast<derived&>(*this); } - const derived& GetRef() const { return static_cast<const derived&>(*this); } - - /// here starts the interface-definition part - // -> enforce derived to implement DoSecondaries... - template <typename Particle> - inline EProcessReturn DoSecondaries(Particle&); - }; - - // overwrite the default trait class, to mark BaseProcess<T> as useful process - template <class T> - std::true_type is_process_impl(const SecondariesProcess<T>* impl); - -} // namespace corsika::process - -#endif -- GitLab