From cebb5311013d67d9e15f28b3f8bd6fa994792e21 Mon Sep 17 00:00:00 2001 From: Felix Riehn <felix@matilda> Date: Tue, 12 Apr 2022 12:46:56 +0100 Subject: [PATCH] copyright, doxygen --- .../detail/modules/proposal/HadronicPhotonModel.inl | 13 ++++++++----- corsika/modules/proposal/HadronicPhotonModel.hpp | 9 ++++++++- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/corsika/detail/modules/proposal/HadronicPhotonModel.inl b/corsika/detail/modules/proposal/HadronicPhotonModel.inl index 2b63b7a52..1d47b2f8f 100644 --- a/corsika/detail/modules/proposal/HadronicPhotonModel.inl +++ b/corsika/detail/modules/proposal/HadronicPhotonModel.inl @@ -1,13 +1,16 @@ +/* + * (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/media/IMediumModel.hpp> -//#include <corsika/media/NuclearComposition.hpp> #include <corsika/framework/core/PhysicalUnits.hpp> #include <corsika/framework/core/EnergyMomentumOperations.hpp> -//#include <limits> -//#include <memory> -//#include <random> #include <tuple> namespace corsika::proposal { diff --git a/corsika/modules/proposal/HadronicPhotonModel.hpp b/corsika/modules/proposal/HadronicPhotonModel.hpp index 08c94d510..a3d9b6064 100644 --- a/corsika/modules/proposal/HadronicPhotonModel.hpp +++ b/corsika/modules/proposal/HadronicPhotonModel.hpp @@ -14,6 +14,13 @@ namespace corsika::proposal { + //! Implements the production of secondary hadrons for the hadronic interaction of real + //! and virtual photons. At high energies an external model + //! is needed that implements the doInteraction(TSecondaries& view, Code const + //! projectile, Code const target,FourMomentum const& projectileP4, FourMomentum const& + //! targetP4) routine. Low energy interactions are currently not implemented. + //! @tparam THadronicModel + template <class THadronicModel> class HadronicPhotonModel { public: @@ -29,7 +36,7 @@ namespace corsika::proposal { private: THadronicModel& heHadronicInteraction_; static HEPEnergyType constexpr heHadronicModelThresholdLab_ = - 80. * 1e9 * electronvolt; + 80. * 1e9 * electronvolt; //!< energy threshold between LE and HE model }; } // namespace corsika::proposal -- GitLab