From e31665ddac855e3b79bf4979727c9a11971d92ef Mon Sep 17 00:00:00 2001 From: Felix Riehn <felix@matilda> Date: Thu, 4 Jun 2020 10:50:54 +0100 Subject: [PATCH] removed obsolete file --- Processes/OnShellCheck/ParticleCut.h | 55 ---------------------------- 1 file changed, 55 deletions(-) delete mode 100644 Processes/OnShellCheck/ParticleCut.h diff --git a/Processes/OnShellCheck/ParticleCut.h b/Processes/OnShellCheck/ParticleCut.h deleted file mode 100644 index 739a1919e..000000000 --- a/Processes/OnShellCheck/ParticleCut.h +++ /dev/null @@ -1,55 +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 _corsika_process_particle_cut_ParticleCut_h_ -#define _corsika_process_particle_cut_ParticleCut_h_ - -#include <corsika/particles/ParticleProperties.h> -#include <corsika/process/SecondariesProcess.h> -#include <corsika/setup/SetupStack.h> -#include <corsika/units/PhysicalUnits.h> - -namespace corsika::process { - namespace particle_cut { - class ParticleCut : public process::SecondariesProcess<ParticleCut> { - - units::si::HEPEnergyType const fECut; - - units::si::HEPEnergyType fEnergy = 0 * units::si::electronvolt; - units::si::HEPEnergyType fEmEnergy = 0 * units::si::electronvolt; - unsigned int fEmCount = 0; - units::si::HEPEnergyType fInvEnergy = 0 * units::si::electronvolt; - unsigned int fInvCount = 0; - - public: - ParticleCut(const units::si::HEPEnergyType vCut) - : fECut(vCut) {} - - bool ParticleIsInvisible(particles::Code) const; - EProcessReturn DoSecondaries(corsika::setup::StackView&); - - template <typename TParticle> - bool ParticleIsBelowEnergyCut(TParticle const&) const; - - bool ParticleIsEmParticle(particles::Code) const; - - void Init(); - void ShowResults(); - - units::si::HEPEnergyType GetInvEnergy() const { return fInvEnergy; } - units::si::HEPEnergyType GetCutEnergy() const { return fEnergy; } - units::si::HEPEnergyType GetEmEnergy() const { return fEmEnergy; } - unsigned int GetNumberEmParticles() const { return fEmCount; } - unsigned int GetNumberInvParticles() const { return fInvCount; } - }; - } // namespace particle_cut -} // namespace corsika::process - -#endif -- GitLab