diff --git a/corsika/modules/writers/EnergyLossWriterOff.hpp b/corsika/modules/writers/EnergyLossWriterOff.hpp deleted file mode 100644 index f921e2b86a62e66efbc4249cfec774985d6f76e0..0000000000000000000000000000000000000000 --- a/corsika/modules/writers/EnergyLossWriterOff.hpp +++ /dev/null @@ -1,69 +0,0 @@ -/* - * (c) Copyright 2021 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/output/BaseOutput.hpp> -#include <corsika/framework/core/ParticleProperties.hpp> -#include <corsika/framework/core/PhysicalUnits.hpp> -#include <corsika/media/ShowerAxis.hpp> - -namespace corsika { - - class EnergyLossWriterOff : public BaseOutput { - - public: - /** - * Construct a new writer. - */ - EnergyLossWriterOff() = default; - - /** - * Called at the start of each library. - */ - void startOfLibrary(boost::filesystem::path const&) final override {} - - /** - * Called at the start of each shower. - */ - void startOfShower(unsigned int const) final override {} - - /** - * Called at the end of each shower. - */ - void endOfShower(unsigned int const) final override {} - - /** - * Called at the end of each library. - * - * This must also increment the run number since we override - * the default behaviour of BaseOutput. - */ - void endOfLibrary() final override {} - - /** - * Write a track to the file. - */ - template <typename TTrack> - void write(TTrack const&, Code const, HEPEnergyType const) {} - - /** - * Add localized energy loss. - */ - void write(Point const&, Code const, HEPEnergyType const) {} - - /** - * Add binned energy loss. - */ - void write(GrammageType const, GrammageType const, HEPEnergyType const) {} - - HEPEnergyType getTotal() const { return 0_GeV; } - - }; // namespace corsika - -} // namespace corsika diff --git a/corsika/modules/writers/LongitudinalProfileWriterOff.hpp b/corsika/modules/writers/LongitudinalProfileWriterOff.hpp deleted file mode 100644 index 2ebe6de122d2a539f3c6a78c82ab267f61820170..0000000000000000000000000000000000000000 --- a/corsika/modules/writers/LongitudinalProfileWriterOff.hpp +++ /dev/null @@ -1,56 +0,0 @@ -/* - * (c) Copyright 2021 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/output/BaseOutput.hpp> -#include <corsika/framework/core/ParticleProperties.hpp> -#include <corsika/framework/core/PhysicalUnits.hpp> -#include <corsika/media/ShowerAxis.hpp> - -namespace corsika { - - class LongitudinalProfileWriterOff : public BaseOutput { - - public: - /** - * Construct a new writer. - */ - LongitudinalProfileWriterOff() = default; - - /** - * Called at the start of each library. - */ - void startOfLibrary(boost::filesystem::path const&) final override {} - - /** - * Called at the start of each shower. - */ - void startOfShower(unsigned int const) final override {} - - /** - * Called at the end of each shower. - */ - void endOfShower(unsigned int const) final override {} - - /** - * Called at the end of each library. - * - * This must also increment the run number since we override - * the default behaviour of BaseOutput. - */ - void endOfLibrary() final override {} - - template <typename TTrack> - void write(TTrack const&, Code const, double const) {} - - void write(GrammageType const, GrammageType const, Code const, double const) {} - - }; // namespace corsika - -} // namespace corsika diff --git a/corsika/modules/writers/TrackWriterOff.hpp b/corsika/modules/writers/TrackWriterOff.hpp deleted file mode 100644 index cbee5584a47b1f2d1c3a34c5ab2c43f32fc53b8a..0000000000000000000000000000000000000000 --- a/corsika/modules/writers/TrackWriterOff.hpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * (c) Copyright 2021 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/output/BaseOutput.hpp> -#include <corsika/framework/core/ParticleProperties.hpp> -#include <corsika/framework/core/PhysicalUnits.hpp> -#include <corsika/framework/geometry/QuantityVector.hpp> - -namespace corsika { - - class TrackWriterOff : public BaseOutput { - - public: - /** - * Construct a new writer. - * - * @param name The name of this output. - */ - TrackWriterOff() = default; - - /** - * Called at the start of each library. - */ - void startOfLibrary(boost::filesystem::path const&) final override {} - - /** - * Called at the start of each shower. - */ - void startOfShower(unsigned int const) final override {} - - /** - * Called at the end of each shower. - */ - void endOfShower(unsigned int const) final override {} - - /** - * Called at the end of each library. - * - * This must also increment the run number since we override - * the default behaviour of BaseOutput. - */ - void endOfLibrary() final override {} - - /** - * Write a track to the file. - */ - void write(Code const& pid, units::si::HEPEnergyType const& energy, - double const weight, QuantityVector<length_d> const& start, - QuantityVector<length_d> const& end) {} - - }; // class TrackWriterOff - -} // namespace corsika