From b676cc3a2ea411a194b2c077cce636aa6a842d51 Mon Sep 17 00:00:00 2001 From: Maximilian Reininghaus <maximilian.reininghaus@tu-dortmund.de> Date: Sun, 26 Mar 2023 16:24:54 +0200 Subject: [PATCH] doxygen doInteraction() --- corsika/modules/fluka/InteractionModel.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/corsika/modules/fluka/InteractionModel.hpp b/corsika/modules/fluka/InteractionModel.hpp index 9ba608aa7..8796e48b8 100644 --- a/corsika/modules/fluka/InteractionModel.hpp +++ b/corsika/modules/fluka/InteractionModel.hpp @@ -26,7 +26,6 @@ namespace corsika::fluka { * initialized with a predefined set of target materials and a flag describing the type * of interactions (elastic, inelastic, electromagnetic dissociation). Currently, only * inelastic events are supported. - * */ class InteractionModel { public: @@ -49,6 +48,10 @@ namespace corsika::fluka { //! convert target Code to FLUKA material number int getMaterialIndex(Code targetID) const; + /** + * Perform an interaction. Since FLUKA expects a fixed-target configuration, we + * perform a Lorentz transform into the rest frame of the target. + */ template <typename TSecondaryView> void doInteraction(TSecondaryView& view, Code const projectileId, Code const targetId, FourMomentum const& projectileP4, FourMomentum const& targetP4); -- GitLab